Template Function librapid::log(const Complex<T>&, const B&)#
Defined in File complex.hpp
Function Documentation#
-
template<typename T, typename B>
Complex<T> librapid::log(const Complex<T> &other, const B &base)# Calculates the logarithm of a complex number with a real base.
\( \log_{\mathrm{base}}(z) = \log(z) / \log(\mathrm{base}) \)
See also
- Template Parameters
T – Scalar type of the complex number
B – Scalar type of the base
- Parameters
other – Complex number
base – Base of the logarithm (real)
- Returns
Logarithm of the complex number with the given base