sin

sine, complex and imaginary

sin(z) = sin(z.re)*cosh(z.im) + cos(z.re)*sinh(z.im)i

If both sin(θ) and cos(θ) are required, it is most efficient to use expi(&theta).

  1. real sin(real x)
  2. creal sin(creal z)
    creal
    sin
    (
    creal z
    )
  3. ireal sin(ireal y)

Meta