PINE LIBRARY

MathComplexTrignometry

Updated
Library "MathComplexTrignometry"
Methods for complex number trignometry operations.

sinh(complex) Hyperbolic Sine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

cosh(complex) Hyperbolic cosine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

tanh(complex) Hyperbolic tangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

coth(complex) Hyperbolic cotangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

sech(complex) Hyperbolic Secant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

csch(complex) Hyperbolic Cosecant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

sin(complex) Trigonometric Sine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

cos(complex) Trigonometric cosine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

tan(complex) Trigonometric tangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

cot(complex) Trigonometric cotangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

sec(complex) Trigonometric Secant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

csc(complex) Trigonometric Cosecant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

asin(complex) Trigonometric Arc Sine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acos(complex) Trigonometric Arc Cosine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

atan(complex) Trigonometric Arc Tangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acot(complex) Trigonometric Arc Cotangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

asec(complex) Trigonometric Arc Secant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acsc(complex) Trigonometric Arc Cosecant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

asinh(complex) Hyperbolic Arc Sine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acosh(complex) Hyperbolic Arc Cosine of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

atanh(complex) Hyperbolic Arc Tangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acoth(complex) Hyperbolic Arc Cotangent of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

asech(complex) Hyperbolic Arc Secant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.

acsch(complex) Hyperbolic Arc Cosecant of complex number.
Parameters:
  • complex: float array, complex number.

Returns: float array.
Release Notes
v2 update for type, method.

Updated:
sinh(this)
  Hyperbolic Sine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

cosh(this)
  Hyperbolic cosine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

tanh(this)
  Hyperbolic tangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

coth(this)
  Hyperbolic cotangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

sech(this)
  Hyperbolic Secant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

csch(this)
  Hyperbolic Cosecant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

sin(this)
  Trigonometric Sine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

cos(this)
  Trigonometric cosine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

tan(this)
  Trigonometric tangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

cot(this)
  Trigonometric cotangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

sec(this)
  Trigonometric Secant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

csc(this)
  Trigonometric Cosecant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

asin(this)
  Trigonometric Arc Sine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acos(this)
  Trigonometric Arc Cosine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

atan(this)
  Trigonometric Arc Tangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acot(this)
  Trigonometric Arc Cotangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

asec(this)
  Trigonometric Arc Secant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acsc(this)
  Trigonometric Arc Cosecant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

asinh(this)
  Hyperbolic Arc Sine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acosh(this)
  Hyperbolic Arc Cosine of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

atanh(this)
  Hyperbolic Arc Tangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acoth(this)
  Hyperbolic Arc Cotangent of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

asech(this)
  Hyperbolic Arc Secant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.

acsch(this)
  Hyperbolic Arc Cosecant of complex number.
  Parameters:
    this: complex . Complex number in the form `(real, imaginary)`.
  Returns: complex. Complex number.
Release Notes
v3 minor update.
arrayscomplexMATH

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer