Next: , Previous: , Up: Complex Functions   [Index]


5.9 Trigonometric Functions

Function: int mpc_sin (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the sine of op, rounded according to rnd with the precision of rop.

Function: int mpc_cos (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the cosine of op, rounded according to rnd with the precision of rop.

Function: int mpc_sin_cos (mpc_t rop_sin, mpc_t rop_cos, mpc_t op, mpc_rnd_t rnd_sin, mpc_rnd_t rnd_cos)

Set rop_sin to the sine of op, rounded according to rnd_sin with the precision of rop_sin, and rop_cos to the cosine of op, rounded according to rnd_cos with the precision of rop_cos.

Function: int mpc_tan (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the tangent of op, rounded according to rnd with the precision of rop.

Function: int mpc_sinh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic sine of op, rounded according to rnd with the precision of rop.

Function: int mpc_cosh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic cosine of op, rounded according to rnd with the precision of rop.

Function: int mpc_tanh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the hyperbolic tangent of op, rounded according to rnd with the precision of rop.

Function: int mpc_asin (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
Function: int mpc_acos (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
Function: int mpc_atan (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the inverse sine, inverse cosine, inverse tangent of op, rounded according to rnd with the precision of rop.

Function: int mpc_asinh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
Function: int mpc_acosh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)
Function: int mpc_atanh (mpc_t rop, mpc_t op, mpc_rnd_t rnd)

Set rop to the inverse hyperbolic sine, inverse hyperbolic cosine, inverse hyperbolic tangent of op, rounded according to rnd with the precision of rop. The branch cut of mpc_acosh is (-\infty, 1).


Next: , Previous: , Up: Complex Functions   [Index]