complex.ch
Declarations
Returns
A complex number composed of real and imag as the real and imaginary parts. @see https:en.cppreference.com/w/c/numeric/complex/CMPLX
See Also
- https:en.cppreference.com/w/c/numeric/complex/CMPLX
Returns
A complex number composed of real and imag as the real and imaginary parts. @see https:en.cppreference.com/w/c/numeric/complex/CMPLX
See Also
- https:en.cppreference.com/w/c/numeric/complex/CMPLX
Returns
A complex number composed of real and imag as the real and imaginary parts. @see https:en.cppreference.com/w/c/numeric/complex/CMPLX
See Also
- https:en.cppreference.com/w/c/numeric/complex/CMPLX
See Also
- https:en.cppreference.com/w/c/numeric/complex/creal
See Also
- https:en.cppreference.com/w/c/numeric/complex/creal
See Also
- https:en.cppreference.com/w/c/numeric/complex/creal
See Also
- https:en.cppreference.com/w/c/numeric/complex/cimag
See Also
- https:en.cppreference.com/w/c/numeric/complex/cimag
See Also
- https:en.cppreference.com/w/c/numeric/complex/cimag
Returns
If no errors occur, returns the absolute value (norm, magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z)) @see https:en.cppreference.com/w/c/numeric/complex/cabs
See Also
- https:en.cppreference.com/w/c/numeric/complex/cabs
Returns
If no errors occur, returns the absolute value (norm, magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z)) @see https:en.cppreference.com/w/c/numeric/complex/cabs
See Also
- https:en.cppreference.com/w/c/numeric/complex/cabs
Returns
If no errors occur, returns the absolute value (norm, magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z)) @see https:en.cppreference.com/w/c/numeric/complex/cabs
See Also
- https:en.cppreference.com/w/c/numeric/complex/cabs
Returns
If no errors occur, returns the phase angle of z in the interval [−π; π]. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z)) @see https:en.cppreference.com/w/c/numeric/complex/carg
See Also
- https:en.cppreference.com/w/c/numeric/complex/carg
Returns
If no errors occur, returns the phase angle of z in the interval [−π; π]. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z)) @see https:en.cppreference.com/w/c/numeric/complex/carg
See Also
- https:en.cppreference.com/w/c/numeric/complex/carg
Returns
If no errors occur, returns the phase angle of z in the interval [−π; π]. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z)) @see https:en.cppreference.com/w/c/numeric/complex/carg
See Also
- https:en.cppreference.com/w/c/numeric/complex/carg
Returns
The complex conjugate of z. @see https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
See Also
- https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
- https:en.cppreference.com/w/c/numeric/complex/conj
Returns
The complex conjugate of z. @see https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
See Also
- https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
- https:en.cppreference.com/w/c/numeric/complex/conj
Returns
The complex conjugate of z. @see https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
See Also
- https:en.wikipedia.org/wiki/Complex_conjugate @see https:en.cppreference.com/w/c/numeric/complex/conj
- https:en.cppreference.com/w/c/numeric/complex/conj
Returns
The projection of z on the Riemann sphere. This function is fully specified for all possible inputs and is not subject to any errors described in math_errhandling @see https:en.cppreference.com/w/c/numeric/complex/cproj
See Also
- https:en.cppreference.com/w/c/numeric/complex/cproj
Returns
The projection of z on the Riemann sphere. This function is fully specified for all possible inputs and is not subject to any errors described in math_errhandling @see https:en.cppreference.com/w/c/numeric/complex/cproj
See Also
- https:en.cppreference.com/w/c/numeric/complex/cproj
Returns
The projection of z on the Riemann sphere. This function is fully specified for all possible inputs and is not subject to any errors described in math_errhandling @see https:en.cppreference.com/w/c/numeric/complex/cproj
See Also
- https:en.cppreference.com/w/c/numeric/complex/cproj
Returns
If no errors occur, e raised to the power of z, @see https:en.cppreference.com/w/c/numeric/complex/cexp
See Also
- https:en.cppreference.com/w/c/numeric/complex/cexp
Returns
If no errors occur, e raised to the power of z, @see https:en.cppreference.com/w/c/numeric/complex/cexp
See Also
- https:en.cppreference.com/w/c/numeric/complex/cexp
Returns
If no errors occur, e raised to the power of z, @see https:en.cppreference.com/w/c/numeric/complex/cexp
See Also
- https:en.cppreference.com/w/c/numeric/complex/cexp
Returns
If no errors occur, the complex natural logarithm of z is returned, in the range of a strip in the interval [−iπ, +iπ] along the imaginary axis and mathematically unbounded along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/clogs
See Also
- https:en.cppreference.com/w/c/numeric/complex/clogs
Returns
If no errors occur, the complex natural logarithm of z is returned, in the range of a strip in the interval [−iπ, +iπ] along the imaginary axis and mathematically unbounded along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/clogs
See Also
- https:en.cppreference.com/w/c/numeric/complex/clogs
Returns
If no errors occur, the complex natural logarithm of z is returned, in the range of a strip in the interval [−iπ, +iπ] along the imaginary axis and mathematically unbounded along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/clogs
See Also
- https:en.cppreference.com/w/c/numeric/complex/clogs
Returns
If no errors occur, the complex power xy, is returned. Errors and special cases are handled as if the operation is implemented by cexp(y*clog(x)), except that the implementation is allowed to treat special cases more carefully. @see https:en.cppreference.com/w/c/numeric/complex/cpow
See Also
- https:en.cppreference.com/w/c/numeric/complex/cpow
Returns
If no errors occur, the complex power xy, is returned. Errors and special cases are handled as if the operation is implemented by cexp(y*clog(x)), except that the implementation is allowed to treat special cases more carefully. @see https:en.cppreference.com/w/c/numeric/complex/cpow
See Also
- https:en.cppreference.com/w/c/numeric/complex/cpow
Returns
If no errors occur, the complex power xy, is returned. Errors and special cases are handled as if the operation is implemented by cexp(y*clog(x)), except that the implementation is allowed to treat special cases more carefully. @see https:en.cppreference.com/w/c/numeric/complex/cpow
See Also
- https:en.cppreference.com/w/c/numeric/complex/cpow
Returns
If no errors occur, returns the square root of z, in the range of the right half-plane, including the imaginary axis ([0; +∞) along the real axis and (−∞; +∞) along the imaginary axis.) @see https:en.cppreference.com/w/c/numeric/complex/csqrt
See Also
- https:en.cppreference.com/w/c/numeric/complex/csqrt
Returns
If no errors occur, returns the square root of z, in the range of the right half-plane, including the imaginary axis ([0; +∞) along the real axis and (−∞; +∞) along the imaginary axis.) @see https:en.cppreference.com/w/c/numeric/complex/csqrt
See Also
- https:en.cppreference.com/w/c/numeric/complex/csqrt
Returns
If no errors occur, returns the square root of z, in the range of the right half-plane, including the imaginary axis ([0; +∞) along the real axis and (−∞; +∞) along the imaginary axis.) @see https:en.cppreference.com/w/c/numeric/complex/csqrt
See Also
- https:en.cppreference.com/w/c/numeric/complex/csqrt
Returns
If no errors occur, the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/csin
See Also
- https:en.cppreference.com/w/c/numeric/complex/csin
Returns
If no errors occur, the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/csin
See Also
- https:en.cppreference.com/w/c/numeric/complex/csin
Returns
If no errors occur, the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/csin
See Also
- https:en.cppreference.com/w/c/numeric/complex/csin
Returns
If no errors occur, the complex cosine of z is returned. Errors and special cases are handled as if the operation is implemented by ccosh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/ccos
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccos
Returns
If no errors occur, the complex cosine of z is returned. Errors and special cases are handled as if the operation is implemented by ccosh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/ccos
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccos
Returns
If no errors occur, the complex cosine of z is returned. Errors and special cases are handled as if the operation is implemented by ccosh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/ccos
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccos
Returns
If no errors occur, the complex tangent of z is returned. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit. @see https:en.cppreference.com/w/c/numeric/complex/ctan
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctan
Returns
If no errors occur, the complex tangent of z is returned. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit. @see https:en.cppreference.com/w/c/numeric/complex/ctan
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctan
Returns
If no errors occur, the complex tangent of z is returned. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit. @see https:en.cppreference.com/w/c/numeric/complex/ctan
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctan
Returns
If no errors occur, complex arc sine of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/casin
See Also
- https:en.cppreference.com/w/c/numeric/complex/casin
Returns
If no errors occur, complex arc sine of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/casin
See Also
- https:en.cppreference.com/w/c/numeric/complex/casin
Returns
If no errors occur, complex arc sine of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z) @see https:en.cppreference.com/w/c/numeric/complex/casin
See Also
- https:en.cppreference.com/w/c/numeric/complex/casin
Returns
If no errors occur, complex arc cosine of z is returned, in the range a strip unbounded along the imaginary axis and in the interval [0; π] along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/cacos
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacos
Returns
If no errors occur, complex arc cosine of z is returned, in the range a strip unbounded along the imaginary axis and in the interval [0; π] along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/cacos
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacos
Returns
If no errors occur, complex arc cosine of z is returned, in the range a strip unbounded along the imaginary axis and in the interval [0; π] along the real axis. @see https:en.cppreference.com/w/c/numeric/complex/cacos
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacos
Returns
If no errors occur, complex arc tangent of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/catan
See Also
- https:en.cppreference.com/w/c/numeric/complex/catan
Returns
If no errors occur, complex arc tangent of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/catan
See Also
- https:en.cppreference.com/w/c/numeric/complex/catan
Returns
If no errors occur, complex arc tangent of z is returned, in the range of a strip unbounded along the imaginary axis and in the interval [−π/2; +π/2] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z). @see https:en.cppreference.com/w/c/numeric/complex/catan
See Also
- https:en.cppreference.com/w/c/numeric/complex/catan
Returns
If no errors occur, complex hyperbolic sine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/csinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/csinh
Returns
If no errors occur, complex hyperbolic sine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/csinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/csinh
Returns
If no errors occur, complex hyperbolic sine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/csinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/csinh
Returns
If no errors occur, complex hyperbolic cosine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ccosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccosh
Returns
If no errors occur, complex hyperbolic cosine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ccosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccosh
Returns
If no errors occur, complex hyperbolic cosine of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ccosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ccosh
Returns
If no errors occur, complex hyperbolic tangent of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ctanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctanh
Returns
If no errors occur, complex hyperbolic tangent of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ctanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctanh
Returns
If no errors occur, complex hyperbolic tangent of z is returned @see https:en.cppreference.com/w/c/numeric/complex/ctanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/ctanh
Returns
If no errors occur, the complex arc hyperbolic sine of z is returned, in the range of a strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/casinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/casinh
Returns
If no errors occur, the complex arc hyperbolic sine of z is returned, in the range of a strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/casinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/casinh
Returns
If no errors occur, the complex arc hyperbolic sine of z is returned, in the range of a strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/casinh
See Also
- https:en.cppreference.com/w/c/numeric/complex/casinh
Returns
The complex arc hyperbolic cosine of z in the interval [0; ∞) along the real axis and in the interval [−iπ; +iπ] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/cacosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacosh
Returns
The complex arc hyperbolic cosine of z in the interval [0; ∞) along the real axis and in the interval [−iπ; +iπ] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/cacosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacosh
Returns
The complex arc hyperbolic cosine of z in the interval [0; ∞) along the real axis and in the interval [−iπ; +iπ] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/cacosh
See Also
- https:en.cppreference.com/w/c/numeric/complex/cacosh
Returns
If no errors occur, the complex arc hyperbolic tangent of z is returned, in the range of a half-strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/catanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/catanh
Returns
If no errors occur, the complex arc hyperbolic tangent of z is returned, in the range of a half-strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/catanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/catanh
Returns
If no errors occur, the complex arc hyperbolic tangent of z is returned, in the range of a half-strip mathematically unbounded along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis. @see https:en.cppreference.com/w/c/numeric/complex/catanh
See Also
- https:en.cppreference.com/w/c/numeric/complex/catanh