complex.ch

Declarations

Public Only
Publictypealias float_complex
type float_complex = i64
%struct._C_float_complex = type { [2 x float] }
Publicstruct double_complex
struct double_complex
double complex is being passed as pointer to struct
Publicstruct longdouble_complex
struct longdouble_complex
Publicfunction CMPLXF
func CMPLXF(real : float, imag : float) : float_complex
real - the real part of the complex number to return imag - the imaginary part of the complex number to return

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
Publicfunction CMPLX
func CMPLX(real : double, imag : double) : double_complex
real - the real part of the complex number to return imag - the imaginary part of the complex number to return

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
Publicfunction CMPLXL
func CMPLXL(real : unknown, imag : unknown) : longdouble_complex
real - the real part of the complex number to return imag - the imaginary part of the complex number to return

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
Publicfunction crealf
func crealf(z : float_complex) : float
Returns the real part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/creal
Publicfunction creal
func creal(z : double_complex) : double
Returns the real part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/creal
Publicfunction creall
func creall(z : longdouble_complex) : unknown
Returns the real part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/creal
Publicfunction cimagf
func cimagf(z : float_complex) : float
Returns the imaginary part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/cimag
Publicfunction cimag
func cimag(z : double_complex) : double
Returns the imaginary part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/cimag
Publicfunction cimagl
func cimagl(z : longdouble_complex) : unknown
Returns the imaginary part of z.

See Also

  • https:en.cppreference.com/w/c/numeric/complex/cimag
Publicfunction cabsf
func cabsf(z : float_complex) : float
Computes the complex absolute value (also known as norm, modulus, or magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z))

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
Publicfunction cabs
func cabs(z : double_complex) : double
Computes the complex absolute value (also known as norm, modulus, or magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z))

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
Publicfunction cabsl
func cabsl(z : longdouble_complex) : unknown
Computes the complex absolute value (also known as norm, modulus, or magnitude) of z. Errors and special cases are handled as if the function is implemented as hypot(creal(z), cimag(z))

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
Publicfunction cargf
func cargf(z : float_complex) : float
Computes the argument (also called phase angle) of z, with a branch cut along the negative real axis. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z))

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
Publicfunction carg
func carg(z : double_complex) : double
Computes the argument (also called phase angle) of z, with a branch cut along the negative real axis. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z))

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
Publicfunction cargl
func cargl(z : longdouble_complex) : unknown
Computes the argument (also called phase angle) of z, with a branch cut along the negative real axis. Errors and special cases are handled as if the function is implemented as atan2(cimag(z), creal(z))

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
Publicfunction conjf
func conjf(z : float_complex) : float_complex
Computes the complex conjugate of z by reversing the sign of the imaginary part.

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
Publicfunction conj
Computes the complex conjugate of z by reversing the sign of the imaginary part.

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
Publicfunction conjl
Computes the complex conjugate of z by reversing the sign of the imaginary part.

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
Publicfunction cprojf
func cprojf(z : float_complex) : float_complex
Computes 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

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
Publicfunction cproj
func cproj(z : double_complex) : double_complex
Computes 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

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
Publicfunction cprojl
Computes 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

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
Publicfunction cexpf
func cexpf(z : float_complex) : float_complex
Computes the complex base-e exponential of z.

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
Publicfunction cexp
Computes the complex base-e exponential of z.

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
Publicfunction cexpl
Computes the complex base-e exponential of z.

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
Publicfunction clogf
func clogf(z : float_complex) : float_complex
Computes the complex natural (base-e) logarithm of z with branch cut along the negative real axis.

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
Publicfunction clog
Computes the complex natural (base-e) logarithm of z with branch cut along the negative real axis.

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
Publicfunction clogl
Computes the complex natural (base-e) logarithm of z with branch cut along the negative real axis.

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
Publicfunction cpowf
Computes the complex power function xy, with branch cut for the first parameter along the negative real axis. 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.

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
Publicfunction cpow
Computes the complex power function xy, with branch cut for the first parameter along the negative real axis. 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.

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
Publicfunction cpowl
Computes the complex power function xy, with branch cut for the first parameter along the negative real axis. 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.

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
Publicfunction csqrtf
func csqrtf(z : float_complex) : float_complex
Computes the complex square root of z with branch cut along the negative real axis.

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
Publicfunction csqrt
func csqrt(z : double_complex) : double_complex
Computes the complex square root of z with branch cut along the negative real axis.

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
Publicfunction csqrtl
Computes the complex square root of z with branch cut along the negative real axis.

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
Publicfunction csinf
func csinf(z : float_complex) : float_complex
Computes the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z)

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
Publicfunction csin
Computes the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z)

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
Publicfunction csinl
Computes the complex sine of z. Errors and special cases are handled as if the operation is implemented by -I * csinh(I*z)

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
Publicfunction ccosf
func ccosf(z : float_complex) : float_complex
Computes the complex cosine of z. Errors and special cases are handled as if the operation is implemented by ccosh(I*z).

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
Publicfunction ccos
Computes the complex cosine of z. Errors and special cases are handled as if the operation is implemented by ccosh(I*z).

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
Publicfunction ccosl
Computes the complex cosine of z. Errors and special cases are handled as if the operation is implemented by ccosh(I*z).

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
Publicfunction ctanf
func ctanf(z : float_complex) : float_complex
Computes the complex tangent of z. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit.

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
Publicfunction ctan
Computes the complex tangent of z. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit.

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
Publicfunction ctanl
Computes the complex tangent of z. Errors and special cases are handled as if the operation is implemented by -i * ctanh(i*z), where i is the imaginary unit.

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
Publicfunction casinf
func casinf(z : float_complex) : float_complex
Computes the complex arc sine of z with branch cuts outside the interval [−1,+1] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z)

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
Publicfunction casin
func casin(z : double_complex) : double_complex
Computes the complex arc sine of z with branch cuts outside the interval [−1,+1] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z)

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
Publicfunction casinl
Computes the complex arc sine of z with branch cuts outside the interval [−1,+1] along the real axis. Errors and special cases are handled as if the operation is implemented by -I * casinh(I*z)

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
Publicfunction cacosf
func cacosf(z : float_complex) : float_complex
Computes the complex arc cosine of z with branch cuts outside the interval [−1,+1] along the real axis.

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
Publicfunction cacos
func cacos(z : double_complex) : double_complex
Computes the complex arc cosine of z with branch cuts outside the interval [−1,+1] along the real axis.

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
Publicfunction cacosl
Computes the complex arc cosine of z with branch cuts outside the interval [−1,+1] along the real axis.

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
Publicfunction catanf
func catanf(z : float_complex) : float_complex
Computes the complex arc tangent of z with branch cuts outside the interval [−i,+i] along the imaginary axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z).

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
Publicfunction catan
func catan(z : double_complex) : double_complex
Computes the complex arc tangent of z with branch cuts outside the interval [−i,+i] along the imaginary axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z).

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
Publicfunction catanl
Computes the complex arc tangent of z with branch cuts outside the interval [−i,+i] along the imaginary axis. Errors and special cases are handled as if the operation is implemented by -I * catanh(I*z).

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
Publicfunction csinhf
func csinhf(z : float_complex) : float_complex
Computes the complex hyperbolic sine of z.

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
Publicfunction csinh
func csinh(z : double_complex) : double_complex
Computes the complex hyperbolic sine of z.

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
Publicfunction csinhl
Computes the complex hyperbolic sine of z.

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
Publicfunction ccoshf
func ccoshf(z : float_complex) : float_complex
Computes the complex hyperbolic cosine of z.

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
Publicfunction ccosh
func ccosh(z : double_complex) : double_complex
Computes the complex hyperbolic cosine of z.

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
Publicfunction ccoshl
Computes the complex hyperbolic cosine of z.

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
Publicfunction ctanhf
func ctanhf(z : float_complex) : float_complex
Computes the complex hyperbolic tangent of z.

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
Publicfunction ctanh
func ctanh(z : double_complex) : double_complex
Computes the complex hyperbolic tangent of z.

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
Publicfunction ctanhl
Computes the complex hyperbolic tangent of z.

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
Publicfunction casinhf
func casinhf(z : float_complex) : float_complex
Computes the complex arc hyperbolic sine of z with branch cuts outside the interval [−i; +i] along the imaginary axis.

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
Publicfunction casinh
func casinh(z : double_complex) : double_complex
Computes the complex arc hyperbolic sine of z with branch cuts outside the interval [−i; +i] along the imaginary axis.

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
Publicfunction casinhl
Computes the complex arc hyperbolic sine of z with branch cuts outside the interval [−i; +i] along the imaginary axis.

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
Publicfunction cacoshf
func cacoshf(z : float_complex) : float_complex
Computes complex arc hyperbolic cosine of a complex value z with branch cut at values less than 1 along the real axis.

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
Publicfunction cacosh
func cacosh(z : double_complex) : double_complex
Computes complex arc hyperbolic cosine of a complex value z with branch cut at values less than 1 along the real axis.

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
Publicfunction cacoshl
Computes complex arc hyperbolic cosine of a complex value z with branch cut at values less than 1 along the real axis.

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
Publicfunction catanhf
func catanhf(z : float_complex) : float_complex
Computes the complex arc hyperbolic tangent of z with branch cuts outside the interval [−1; +1] along the real axis.

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
Publicfunction catanh
func catanh(z : double_complex) : double_complex
Computes the complex arc hyperbolic tangent of z with branch cuts outside the interval [−1; +1] along the real axis.

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
Publicfunction catanhl
Computes the complex arc hyperbolic tangent of z with branch cuts outside the interval [−1; +1] along the real axis.

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