|
| Quantity | ast::aQuantityAdd (const Quantity &q1, const Quantity &q2) |
| |
| Quantity | ast::aQuantitySub (const Quantity &q1, const Quantity &q2) |
| |
| Quantity | ast::aQuantityMul (const Quantity &q1, const Quantity &q2) |
| |
| Quantity | ast::aQuantityMul (const Quantity &q, const Unit &unit) |
| |
| Quantity | ast::aQuantityDiv (const Quantity &q1, const Quantity &q2) |
| |
| Quantity | ast::aQuantityDiv (const Quantity &q, const Unit &unit) |
| |
| void | ast::aQuantityReduce (Quantity &q) |
| |
| std::string | ast::aQuantityToString (const Quantity &q) |
| |
|
A_ALWAYS_INLINE std::string | ast::aFormatQuantity (const Quantity &q) |
| |
| Quantity | ast::operator* (double value, const Unit &unit) |
| |
|
Quantity | ast::operator* (double value, const Quantity &q) |
| |
|
Quantity | ast::operator/ (double value, const Quantity &q) |
| |
| errc_t | ast::aQuantityParse (StringView str, double &magnitude, Unit &unit) |
| |
| errc_t | ast::aQuantityParse (StringView str, Quantity &quantity) |
| |
| Quantity | ast::aQuantityParse (StringView str) |
| |
|
Unit | ast::aUnitMultiply (const Unit &unit1, const Unit &unit2) |
| |
|
Unit | ast::aUnitMultiply (const Unit &unit1, const Unit &unit2, StringView newname) |
| |
|
Unit | ast::aUnitDivide (const Unit &unit1, const Unit &unit2) |
| |
|
Unit | ast::aUnitDivide (const Unit &unit1, const Unit &unit2, StringView newname) |
| |
|
Unit | ast::aUnitPower (const Unit &unit, int exponent) |
| |
|
Unit | ast::aUnitPower (const Unit &unit, int exponent, StringView newname) |
| |
|
Unit | ast::aUnitInvert (const Unit &unit) |
| |
|
Unit | ast::aUnitInvert (const Unit &unit, StringView newname) |
| |
| void | ast::aUnitFactorize (const Unit &unit, Unit &newUnit, double &scale) |
| |
| void | ast::aUnitFactorize (Unit &unit, double &scale) |
| |
| Unit * | ast::aUnitGet (StringView name) |
| |
| errc_t | ast::aUnitAdd (const Unit &unit) |
| |
| errc_t | ast::aUnitAdd (StringView name, const Unit &unit) |
| |
| errc_t | ast::aUnitParse (StringView str, Unit &unit) |
| |
| Unit | ast::aUnitParse (StringView str) |
| |
| void | ast::Quantity::changeUnit (const Unit &unit) |
| |