ad_physics
Functions
ParametricOperation.hpp File Reference
#include "ad/physics/Types.hpp"
Include dependency graph for ParametricOperation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ad::physics::Acceleration operator* (ad::physics::Acceleration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Acceleration operator* (ad::physics::ParametricValue const &p, ad::physics::Acceleration const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Acceleration operator/ (ad::physics::Acceleration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::Angle operator* (ad::physics::Angle const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Angle operator* (ad::physics::ParametricValue const &p, ad::physics::Angle const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Angle operator/ (ad::physics::Angle const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::AngularAcceleration operator* (ad::physics::AngularAcceleration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::AngularAcceleration operator* (ad::physics::ParametricValue const &p, ad::physics::AngularAcceleration const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::AngularAcceleration operator/ (ad::physics::AngularAcceleration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::AngularVelocity operator* (ad::physics::AngularVelocity const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::AngularVelocity operator* (ad::physics::ParametricValue const &p, ad::physics::AngularVelocity const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::AngularVelocity operator/ (ad::physics::AngularVelocity const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::Distance operator* (ad::physics::Distance const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Distance operator* (ad::physics::ParametricValue const &p, ad::physics::Distance const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Distance operator/ (ad::physics::Distance const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::DistanceSquared operator* (ad::physics::DistanceSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::DistanceSquared operator* (ad::physics::ParametricValue const &p, ad::physics::DistanceSquared const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::DistanceSquared operator/ (ad::physics::DistanceSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::Duration operator* (ad::physics::Duration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Duration operator* (ad::physics::ParametricValue const &p, ad::physics::Duration const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Duration operator/ (ad::physics::Duration const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::DurationSquared operator* (ad::physics::DurationSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::DurationSquared operator* (ad::physics::ParametricValue const &p, ad::physics::DurationSquared const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::DurationSquared operator/ (ad::physics::DurationSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::ParametricValue operator* (ad::physics::ParametricValue const &p1, ad::physics::ParametricValue const &p2)
 Arithmetic physics operation parametric = parametric * parametric. More...
 
ad::physics::Probability operator* (ad::physics::Probability const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Probability operator* (ad::physics::ParametricValue const &p, ad::physics::Probability const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Probability operator/ (ad::physics::Probability const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::RatioValue operator* (ad::physics::RatioValue const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::RatioValue operator/ (ad::physics::RatioValue const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::Speed operator* (ad::physics::Speed const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Speed operator* (ad::physics::ParametricValue const &p, ad::physics::Speed const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Speed operator/ (ad::physics::Speed const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::SpeedSquared operator* (ad::physics::SpeedSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::SpeedSquared operator* (ad::physics::ParametricValue const &p, ad::physics::SpeedSquared const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::SpeedSquared operator/ (ad::physics::SpeedSquared const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 
ad::physics::Weight operator* (ad::physics::Weight const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value * p. More...
 
ad::physics::Weight operator* (ad::physics::ParametricValue const &p, ad::physics::Weight const &value)
 Arithmetic parametric operation value = p * value. More...
 
ad::physics::Weight operator/ (ad::physics::Weight const &value, ad::physics::ParametricValue const &p)
 Arithmetic physics operation value = value / p. More...
 

Function Documentation

◆ operator*() [1/26]

ad::physics::Acceleration operator* ( ad::physics::Acceleration const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [2/26]

ad::physics::Angle operator* ( ad::physics::Angle const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [3/26]

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [4/26]

ad::physics::AngularVelocity operator* ( ad::physics::AngularVelocity const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [5/26]

ad::physics::Distance operator* ( ad::physics::Distance const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [6/26]

ad::physics::DistanceSquared operator* ( ad::physics::DistanceSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [7/26]

ad::physics::Duration operator* ( ad::physics::Duration const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [8/26]

ad::physics::DurationSquared operator* ( ad::physics::DurationSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [9/26]

ad::physics::Acceleration operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Acceleration const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [10/26]

ad::physics::Angle operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Angle const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [11/26]

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [12/26]

ad::physics::AngularVelocity operator* ( ad::physics::ParametricValue const &  p,
ad::physics::AngularVelocity const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [13/26]

ad::physics::Distance operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Distance const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [14/26]

ad::physics::DistanceSquared operator* ( ad::physics::ParametricValue const &  p,
ad::physics::DistanceSquared const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [15/26]

ad::physics::Duration operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Duration const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [16/26]

ad::physics::DurationSquared operator* ( ad::physics::ParametricValue const &  p,
ad::physics::DurationSquared const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [17/26]

ad::physics::Probability operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Probability const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [18/26]

ad::physics::Speed operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Speed const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [19/26]

ad::physics::SpeedSquared operator* ( ad::physics::ParametricValue const &  p,
ad::physics::SpeedSquared const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [20/26]

ad::physics::Weight operator* ( ad::physics::ParametricValue const &  p,
ad::physics::Weight const &  value 
)
inline

Arithmetic parametric operation value = p * value.

Parameters
[in]pparametric value
[in]valuephysics value
Returns
value = p * value
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [21/26]

Arithmetic physics operation parametric = parametric * parametric.

Parameters
[in]p1parametric value
[in]p2parametric value
Returns
parametric = p1 * p2
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [22/26]

ad::physics::Probability operator* ( ad::physics::Probability const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [23/26]

ad::physics::RatioValue operator* ( ad::physics::RatioValue const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [24/26]

ad::physics::Speed operator* ( ad::physics::Speed const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [25/26]

ad::physics::SpeedSquared operator* ( ad::physics::SpeedSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator*() [26/26]

ad::physics::Weight operator* ( ad::physics::Weight const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value * p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value * p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid

◆ operator/() [1/13]

ad::physics::Acceleration operator/ ( ad::physics::Acceleration const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [2/13]

ad::physics::Angle operator/ ( ad::physics::Angle const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [3/13]

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [4/13]

ad::physics::AngularVelocity operator/ ( ad::physics::AngularVelocity const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [5/13]

ad::physics::Distance operator/ ( ad::physics::Distance const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [6/13]

ad::physics::DistanceSquared operator/ ( ad::physics::DistanceSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [7/13]

ad::physics::Duration operator/ ( ad::physics::Duration const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [8/13]

ad::physics::DurationSquared operator/ ( ad::physics::DurationSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [9/13]

ad::physics::Probability operator/ ( ad::physics::Probability const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [10/13]

ad::physics::RatioValue operator/ ( ad::physics::RatioValue const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [11/13]

ad::physics::Speed operator/ ( ad::physics::Speed const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [12/13]

ad::physics::SpeedSquared operator/ ( ad::physics::SpeedSquared const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero

◆ operator/() [13/13]

ad::physics::Weight operator/ ( ad::physics::Weight const &  value,
ad::physics::ParametricValue const &  p 
)
inline

Arithmetic physics operation value = value / p.

Parameters
[in]valuephysics value
[in]pparametric value
Returns
value = value / p
Note
throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid or if the divisor is zero