Template Function librapid::log2(const Complex<T>&)#

Function Documentation#

template<typename T>
Complex<T> librapid::log2(const Complex<T> &other)#

Calculate the logarithm base 2 of a complex number.

Template Parameters

T – Scalar type

Parameters

otherComplex number

Returns

\( \log_2(z) \)