Math

A set of classes that encapsulate math related properties and functions. More...

Files

file  MathTypes.hh
 Forward declarations for the math classes.
 

Namespaces

 gazebo::math
 Math namespace.
 

Classes

class  Angle
 An angle and related functions. More...
 
class  BiQuad< T >
 Bi-quad filter base class. More...
 
class  BiQuadVector3
 BiQuad vector3 filter. More...
 
class  Box
 Mathematical representation of a box and related functions. More...
 
class  Filter< T >
 Filter base class. More...
 
class  Kmeans
 K-Means clustering algorithm. More...
 
class  Matrix3
 A 3x3 matrix class. More...
 
class  Matrix4
 A 3x3 matrix class. More...
 
class  OnePole< T >
 A one-pole DSP filter. More...
 
class  OnePoleQuaternion
 One-pole quaternion filter. More...
 
class  OnePoleVector3
 One-pole vector3 filter. More...
 
class  Plane
 A plane and related functions. More...
 
class  Pose
 Encapsulates a position and rotation in three space. More...
 
class  Quaternion
 A quaternion class. More...
 
class  Rand
 Random number generator class. More...
 
class  RotationSpline
 Spline for rotations. More...
 
class  SignalStatistic
 Statistical properties of a discrete time scalar signal. More...
 
class  Spline
 Splines. More...
 
class  Vector2d
 Generic double x, y vector. More...
 
class  Vector2i
 Generic integer x, y vector. More...
 
class  Vector3
 The Vector3 class represents the generic vector containing 3 elements. More...
 
class  Vector3Stats
 Collection of statistics for a Vector3 signal. More...
 
class  Vector4
 double Generic x, y, z, w vector More...
 

Functions

static const double GAZEBO_DEPRECATED (8.0) MAX_D = std::numeric_limits<double>::min()
 Double maximum value. This value will be similar to 1.79769e+308. More...
 

Variables

bool const T & _b
 
T T _min
 

Detailed Description

A set of classes that encapsulate math related properties and functions.

Function Documentation

bool GAZEBO_DEPRECATED ( 8.  0) = std::numeric_limits<double>::min()
inlinestatic

Double maximum value. This value will be similar to 1.79769e+308.

check if two values are equal, within a tolerance

get the minimum value of vector of values

get the maximum value of vector of values

get variance of vector of values

get mean of vector of values

Fix a nan value.

check if a double is NaN

check if a float is NaN

Simple clamping function.

32bit unsigned integer minimum value

32bit unsigned integer maximum value

Float minimum value. This value will be similar to 1.17549e-38.

Float maximum value. This value will be similar to 3.40282e+38.

Returns the representation of a quiet not a number (NAN)

Double positive infinite value.

Double min value. This value will be similar to 2.22507e-308.

Parameters
[in]_vvalue
[in]_minminimum
[in]_maxmaximum
Deprecated:
See ignition::math::clamp
Parameters
[in]_vthe value
Returns
true if _v is not a number, false otherwise
Deprecated:
See ignition::math::isnan
Parameters
[in]_vthe value
Returns
true if _v is not a number, false otherwise
Deprecated:
See ignition::math::isnan
Parameters
[in]_vValue to correct.
Returns
0 if _v is NaN, _v otherwise.
Deprecated:
See ignition::math::fixnan
Parameters
[in]_vValue to correct.
Returns
0 if _v is NaN, _v otherwise.
Deprecated:
See ignition::math::fixnan
Parameters
[in]_valuesthe vector of values
Returns
the mean
Deprecated:
See ignition::math::mean
Parameters
[in]_valuesthe vector of values
Returns
the squared deviation
Deprecated:
See ignition::math::variance
Parameters
[in]_valuesthe vector of values
Returns
maximum
Deprecated:
See ignition::math::max
Parameters
[in]_valuesthe vector of values
Returns
minimum
Deprecated:
See ignition::math::min
Parameters
[in]_athe first value
[in]_bthe second value
[in]_epsilonthe tolerance
Deprecated:
See ignition::math::equal

Variable Documentation

bool const T& _b
T T _min