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

Function Documentation#

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

Round the real and imaginary parts of a complex number towards \( -\infty \).

Template Parameters

T – Scalar type

Parameters

otherComplex number

Returns

\( (\lfloor\operatorname{real}(z)\rfloor,\lfloor\operatorname{imag}(z)\rfloor )\)