Class Cosine
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1trigonometric.Cosine
public class Cosine extends R1ToR1
Cosine implements the Trigonometric Cosine 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
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in R1 To R1 Trigonometric Functions
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Cosine()
Cosine Constructor -
Method Summary
Modifier and Type Method Description double
conditionNumber(double x)
Compute the Condition Number at the specified Variatedouble
evaluate(double x)
Evaluate for the given variateMethods 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
-
Cosine
public Cosine() throws java.lang.ExceptionCosine Constructor- Throws:
java.lang.Exception
- Thrown if the Input is Invalid
-
-
Method Details
-
evaluate
public double evaluate(double x) throws java.lang.ExceptionDescription copied from class:R1ToR1
Evaluate for the given variate -
conditionNumber
public double conditionNumber(double x) throws java.lang.ExceptionDescription copied from class:R1ToR1
Compute the Condition Number at the specified Variate- Overrides:
conditionNumber
in classR1ToR1
- Parameters:
x
- Variate- Returns:
- The Condition Number
- Throws:
java.lang.Exception
- Thrown if the Condition Number cannor be computed
-