RicardoSantos

MathTrigonometry

Library "MathTrigonometry"
Trigonometric methods.

sinc(value) Normalized sinc function.
Parameters:
  • value: float, value.
Returns: float.

cot(value) Cotangent of value.
Parameters:
  • value: float, value.
Returns: float.

csc(value) Cosecant of value.
Parameters:
  • value: float, value.
Returns: float.

sec(value) Secant of value.
Parameters:
  • value: float, value.
Returns: float.

acot(value) Arc cotangent of value.
Parameters:
  • value: float, adjacent value.
Returns: float.

asec(value) Arc secant of value.
Parameters:
  • value: float, hypotenuse value.
Returns: float.

acsc(value) Arc cosecant of value.
Parameters:
  • value: float, hipotenuse value.
Returns: float.

sinh(angle) Hyperbolic sine of angle.
Parameters:
  • angle: float, value.
Returns: float.

cosh(angle) Hyperbolic cosine of angle.
Parameters:
  • angle: float, value.
Returns: float.

tanh(angle) Hyperbolic tangent of angle.
Parameters:
  • angle: float, value.
Returns: float.

coth(angle) Hyperbolic cotangent of angle.
Parameters:
  • angle: float, value.
Returns: float.

sech(angle) Hyperbolic secant of angle.
Parameters:
  • angle: float, value.
Returns: float.

csch(angle) Hyperbolic cosecant of angle.
Parameters:
  • angle: float, value.
Returns: float.

asinh(value) Hyperbolic area sine.
Parameters:
  • value: float, value.
Returns: float.

acosh(value) Hyperbolic area cosine.
Parameters:
  • value: float, value.
Returns: float.

atanh(value) Hyperbolic area tangent.
Parameters:
  • value: float, value.
Returns: float.

acoth(value) Hyperbolic area cotangent.
Parameters:
  • value: float, value.
Returns: float.

asech(value) Hyperbolic area secant.
Parameters:
  • value: float, value.
Returns: float.

acsch(value) Hyperbolic area cosecant.
Parameters:
  • value: float, value.
Returns: float.
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

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this library?

Copy the following line and paste it in your script.