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

Function Documentation#

template<typename T>
Complex<T> librapid::ceil(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

\((\lceil\operatorname{real}(z)\rceil,\lceil\operatorname{imag}(z)\rceil )\)