struct rgpot::units::DimensionΒΆ

struct Dimension {
    // fields
 
    std::array<double, 5> exponents = {};
 
    // methods
 
    Dimension operator*(const Dimension& other) const;
    Dimension operator/(const Dimension& other) const;
    Dimension pow(double p) const;
    bool operator==(const Dimension& other) const;
    bool operator!=(const Dimension& other) const;
    std::string to_string() const;
};