View Source Complex.Trig (qcomplex v1.0.0)
Trigonometry submodule.
This module is responsible for trigonometric functions. They can be used with both complex and real numbers.
Link to this section Summary
Link to this section Functions
@spec cos(number()) :: float()
@spec cos(Complex.complex()) :: Complex.complex()
@spec cosh(number()) :: float()
@spec cosh(Complex.complex()) :: Complex.complex()
@spec cot(number()) :: float()
@spec cot(Complex.complex()) :: Complex.complex()
@spec coth(number()) :: float()
@spec coth(Complex.complex()) :: Complex.complex()
@spec csc(number()) :: float()
@spec csc(Complex.complex()) :: Complex.complex()
@spec csch(number()) :: float()
@spec csch(Complex.complex()) :: Complex.complex()
@spec sec(number()) :: float()
@spec sec(Complex.complex()) :: Complex.complex()
@spec sech(number()) :: float()
@spec sech(Complex.complex()) :: Complex.complex()
@spec sin(number()) :: float()
@spec sin(Complex.complex()) :: Complex.complex()
@spec sinh(number()) :: float()
@spec sinh(Complex.complex()) :: Complex.complex()
@spec tan(number()) :: float()
@spec tan(Complex.complex()) :: Complex.complex()
@spec tanh(number()) :: float()
@spec tanh(Complex.complex()) :: Complex.complex()