quantities.math

This module defines common math operations on quantities.

Members

Functions

abs
Q abs(Q quantity)
cbrt
auto cbrt(Q quantity)
cubic
auto cubic(Q quantity)
nthRoot
auto nthRoot(Q quantity)
pow
auto pow(Q quantity)
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