api

complex.ch

Declarations in complex.ch

72 declarationscstd

Declarations

Public only
float_complex#
Publictypealias
type float_complex = i64
float complex is being passed as i64 in @crealf(i64)
double_complex#
Publicstruct
struct double_complex { var real : double var imag : double }
double complex is being passed as pointer to struct
longdouble_complex#
Publicstruct
struct longdouble_complex { var real : unknown var imag : unknown }
CMPLXF#
Publicfunction
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
CMPLX#
Publicfunction
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
CMPLXL#
Publicfunction
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
crealf#
Publicfunction
func crealf(z : float_complex) : float
Returns the real part of z.

See Also

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

See Also

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

See Also

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

See Also

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

See Also

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

See Also

  • https:en.cppreference.com/w/c/numeric/complex/cimag
cabsf#
Publicfunction
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
cabs#
Publicfunction
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
cabsl#
Publicfunction
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
cargf#
Publicfunction
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
carg#
Publicfunction
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
cargl#
Publicfunction
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
conjf#
Publicfunction
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
conj#
Publicfunction
func conj(z : double_complex) : double_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
conjl#
Publicfunction
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
cprojf#
Publicfunction
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
cproj#
Publicfunction
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
cprojl#
Publicfunction
func cprojl(z : longdouble_complex) : longdouble_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
cexpf#
Publicfunction
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
cexp#
Publicfunction
func cexp(z : double_complex) : double_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
cexpl#
Publicfunction
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
clogf#
Publicfunction
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
clog#
Publicfunction
func clog(z : double_complex) : double_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
clogl#
Publicfunction
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
cpowf#
Publicfunction
func cpowf(x : float_complex, y : float_complex) : float_complex
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
cpow#
Publicfunction
func cpow(x : double_complex, y : double_complex) : double_complex
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
cpowl#
Publicfunction
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
csqrtf#
Publicfunction
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
csqrt#
Publicfunction
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
csqrtl#
Publicfunction
func csqrtl(z : longdouble_complex) : longdouble_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
csinf#
Publicfunction
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
csin#
Publicfunction
func csin(z : double_complex) : double_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
csinl#
Publicfunction
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
ccosf#
Publicfunction
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
ccos#
Publicfunction
func ccos(z : double_complex) : double_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
ccosl#
Publicfunction
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
ctanf#
Publicfunction
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
ctan#
Publicfunction
func ctan(z : double_complex) : double_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
ctanl#
Publicfunction
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
casinf#
Publicfunction
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
casin#
Publicfunction
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
casinl#
Publicfunction
func casinl(z : longdouble_complex) : longdouble_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
cacosf#
Publicfunction
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
cacos#
Publicfunction
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
cacosl#
Publicfunction
func cacosl(z : longdouble_complex) : longdouble_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
catanf#
Publicfunction
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
catan#
Publicfunction
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
catanl#
Publicfunction
func catanl(z : longdouble_complex) : longdouble_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
csinhf#
Publicfunction
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
csinh#
Publicfunction
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
csinhl#
Publicfunction
func csinhl(z : longdouble_complex) : longdouble_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
ccoshf#
Publicfunction
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
ccosh#
Publicfunction
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
ccoshl#
Publicfunction
func ccoshl(z : longdouble_complex) : longdouble_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
ctanhf#
Publicfunction
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
ctanh#
Publicfunction
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
ctanhl#
Publicfunction
func ctanhl(z : longdouble_complex) : longdouble_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
casinhf#
Publicfunction
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
casinh#
Publicfunction
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
casinhl#
Publicfunction
func casinhl(z : longdouble_complex) : longdouble_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
cacoshf#
Publicfunction
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
cacosh#
Publicfunction
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
cacoshl#
Publicfunction
func cacoshl(z : longdouble_complex) : longdouble_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
catanhf#
Publicfunction
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
catanh#
Publicfunction
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
catanhl#
Publicfunction
func catanhl(z : longdouble_complex) : longdouble_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