Complex trig functions

Complex valued trig functions.

boring_math.special_functions.ctrig.csin(z: complex, /, n: int = 22) complex

Complex sine valid for all z∈ℂ.

Parameters:
  • z – Independent variable.

  • n – Terms in expansion, must have 2 <= n <= 84.

Returns:

Value of sine(z).

boring_math.special_functions.ctrig.ccos(z: complex, /, n: int = 22) complex

Complex cosine valid for all z∈ℂ.

Parameters:
  • z – Independent variable.

  • n – Terms in expansion, must have 2 <= n <= 84.

Returns:

Value of cosine(z).

boring_math.special_functions.ctrig.ctan(z: complex, /, n: int = 22) complex

Complex tangent valid for all z∈ℂ.

Parameters:
  • z – Independent variable.

  • n – Terms in expansion, must have 2 <= n <= 84.

Returns:

Value of tangent(z) via sine(z)/cosine(z).