|
| double | apollo::common::math::Sqr (const double x) |
| |
| double | apollo::common::math::CrossProd (const Vec2d &start_point, const Vec2d &end_point_1, const Vec2d &end_point_2) |
| | Cross product between two 2-D vectors from the common start point, and end at two other points.
|
| |
| double | apollo::common::math::InnerProd (const Vec2d &start_point, const Vec2d &end_point_1, const Vec2d &end_point_2) |
| | Inner product between two 2-D vectors from the common start point, and end at two other points.
|
| |
| double | apollo::common::math::CrossProd (const double x0, const double y0, const double x1, const double y1) |
| | Cross product between two vectors.
|
| |
| double | apollo::common::math::InnerProd (const double x0, const double y0, const double x1, const double y1) |
| | Inner product between two vectors.
|
| |
| double | apollo::common::math::WrapAngle (const double angle) |
| | Wrap angle to [0, 2 * PI).
|
| |
| double | apollo::common::math::NormalizeAngle (const double angle) |
| | Normalize angle to [-PI, PI).
|
| |
| double | apollo::common::math::AngleDiff (const double from, const double to) |
| | Calculate the difference between angle from and to
|
| |
| int | apollo::common::math::RandomInt (const int s, const int t, unsigned int rand_seed=1) |
| | Get a random integer between two integer values by a random seed.
|
| |
| double | apollo::common::math::RandomDouble (const double s, const double t, unsigned int rand_seed=1) |
| | Get a random double between two integer values by a random seed.
|
| |
| double | apollo::common::math::Gaussian (const double u, const double std, const double x) |
| |
| Eigen::Vector2d | apollo::common::math::RotateVector2d (const Eigen::Vector2d &v_in, const double theta) |
| |
| std::pair< double, double > | apollo::common::math::Cartesian2Polar (double x, double y) |
| |
| double | apollo::common::math::check_negative (double input_data) |
| |