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