quantities.math

This module defines common math operations on quantities.

Members

Aliases

dimpow
alias dimpow = quantities.base.pow
Undocumented in source.

Functions

abs
Q abs(Q quantity)

Basic math functions that work with Quantity and QVariant.

abs
Q abs(Q quantity)
Undocumented in source. Be warned that the author may not have intended to support it.
cbrt
auto cbrt(Q quantity)
cubic
auto cubic(Q quantity)
nthRoot
auto nthRoot(Q quantity)
pow
auto pow(Q quantity)

Basic math functions that work with Quantity and QVariant.

pow
auto pow(Q quantity)
Undocumented in source. Be warned that the author may not have intended to support it.
sqrt
auto sqrt(Q quantity)

Basic math functions that work with Quantity and QVariant.

square
auto square(Q quantity)

Basic math functions that work with Quantity and QVariant.

Templates

Cubic
template Cubic(Q)

Utility templates to manipulate Quantity types.

Inverse
template Inverse(Q)
Product
template Product(Q1, Q2)
Quotient
template Quotient(Q1, Q2)
Square
template Square(Q)

Utility templates to manipulate Quantity types.

Meta

Authors

Nicolas Sicard