21 const std::shared_ptr<SymbolicExpr>&
value,
22 const std::string&
unit,
27 const std::shared_ptr<SymbolicExpr>&
value,
34 const std::shared_ptr<SymbolicExpr>& quantity,
35 const std::string& target_unit,
40 const std::shared_ptr<SymbolicExpr>& quantity,
47 const std::shared_ptr<SymbolicExpr>& quantity,
53 const std::shared_ptr<SymbolicExpr>& lhs,
54 const std::shared_ptr<SymbolicExpr>&
rhs,
57 const std::shared_ptr<SymbolicExpr>& lhs,
58 const std::shared_ptr<SymbolicExpr>&
rhs,
61 const std::shared_ptr<SymbolicExpr>& lhs,
62 const std::shared_ptr<SymbolicExpr>&
rhs,
65 const std::shared_ptr<SymbolicExpr>& lhs,
66 const std::shared_ptr<SymbolicExpr>&
rhs,
69 const std::shared_ptr<SymbolicExpr>& base,
70 const std::shared_ptr<SymbolicExpr>&
exponent,
Result< DimensionSignature > dimension_of(const SymbolicExpr &expression)
Result< std::shared_ptr< SymbolicExpr > > QuantityResult
const std::vector< Polynomial< BigInt > > const BigInt ComputationContext & context
QuantityResult attach_unit(const std::shared_ptr< SymbolicExpr > &value, const std::string &unit, ComputationContext &context)
QuantityResult quantity_divide(const std::shared_ptr< SymbolicExpr > &lhs, const std::shared_ptr< SymbolicExpr > &rhs, ComputationContext &context)
std::string UnitDefinition definition
QuantityResult quantity_power(const std::shared_ptr< SymbolicExpr > &base, const std::shared_ptr< SymbolicExpr > &exponent, ComputationContext &context)
const std::string const ExprPtr & value
QuantityResult quantity_multiply(const std::shared_ptr< SymbolicExpr > &lhs, const std::shared_ptr< SymbolicExpr > &rhs, ComputationContext &context)
QuantityResult quantity_subtract(const std::shared_ptr< SymbolicExpr > &lhs, const std::shared_ptr< SymbolicExpr > &rhs, ComputationContext &context)
QuantityResult strip_unit(const std::shared_ptr< SymbolicExpr > &expression, UnitStripMode mode, ComputationContext &context)
QuantityResult convert_unit(const std::shared_ptr< SymbolicExpr > &expression, const std::string &target_unit, ComputationContext &context)
QuantityResult quantity_add(const std::shared_ptr< SymbolicExpr > &lhs, const std::shared_ptr< SymbolicExpr > &rhs, ComputationContext &context)
符号表达式主类 SymbolicExpr 及其工厂方法,运算接口.