SBDQuantityRoot< p, Quantity > Class Template Reference

This template class is used to define roots of quantity types. More...

Detailed Description

template<int p, typename Quantity>
class SBDQuantityRoot< p, Quantity >

Template Parameters
pThe root
QuantityThe quantity type

This template is used to define roots of quantity types.

SBQuantityRoot<3,SBQuantity::cubicAngstrom>::Type f; // f is in angstroms

The typedef Type is the quantity type of the p-th root of quantity type Quantity.

Please refer to the description of SAMSON's unit system for more information.

Short name: SBQuantityPower

See also
SAMSON's unit system