java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1trigonometric.Sine

public class Sine
extends R1ToR1
Sine implements the Trigonometric Sine Function. The References are:

  • Belsley, D. A., E. Kuh, and R. E. Welsch (1980): Regression Dynamics: Identifying Influential Data and Sources of Collinearity John Wiley and Sons New York NY
  • Cheney, K. (2008): Numerical Mathematics and Computing Cengage Learning New York NY
  • Pesaran, M. H. (2015): Time Series and Panel Data Econometrics Oxford University Press New York NY
  • Trefethen, L. N., and D. Bau III (1997): Numerical Linear Algebra Society for Industrial and Applied Mathematics Philadelphia PA
  • Wikipedia (2024): Condition Number https://en.wikipedia.org/wiki/Condition_number




Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Sine()
    Sine Constructor
  • Method Summary

    Modifier and Type Method Description
    double conditionNumber​(double x)
    Compute the Condition Number at the specified Variate
    double evaluate​(double x)
    Evaluate for the given variate

    Methods inherited from class org.drip.function.definition.R1ToR1

    antiDerivative, derivative, differential, differential, integrate, maxima, maxima, minima, minima, poleResidue

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Sine

      public Sine() throws java.lang.Exception
      Sine Constructor
      Throws:
      java.lang.Exception - Thrown if the Input is Invalid
  • Method Details

    • evaluate

      public double evaluate​(double x) throws java.lang.Exception
      Description copied from class: R1ToR1
      Evaluate for the given variate
      Specified by:
      evaluate in class R1ToR1
      Parameters:
      x - Variate
      Returns:
      Returns the calculated value
      Throws:
      java.lang.Exception - Thrown if evaluation cannot be done
    • conditionNumber

      public double conditionNumber​(double x) throws java.lang.Exception
      Description copied from class: R1ToR1
      Compute the Condition Number at the specified Variate
      Overrides:
      conditionNumber in class R1ToR1
      Parameters:
      x - Variate
      Returns:
      The Condition Number
      Throws:
      java.lang.Exception - Thrown if the Condition Number cannor be computed