Template Function TRAP::Math::Exp2(genType)#

Function Documentation#

template<typename genType>
genType TRAP::Math::Exp2(genType x)#

Retrieve 2 raised to the power of the parameter.

Exp2 function is defined for input values of x defined in the range (inf-, inf+) in the limit of the type qualifier.

Parameters:

x – Specify the value of the power to which 2 will be raised.

Returns:

2 raised to the x power.