Package org.drip.function.r1tor1operator
Class Addition
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1operator.Addition
public class Addition extends R1ToR1
Addition implements the Univariate
x + a
Operator 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 Operator Functions
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Addition(double a)
Addition Constructor -
Method Summary
Modifier and Type Method Description double
a()
Retrieve adouble
conditionNumber(double x)
Compute the Condition Number at the specified Variatedouble
derivative(double x, int order)
Calculate the derivative as a doubledouble
evaluate(double x)
Evaluate for the given variateMethods inherited from class org.drip.function.definition.R1ToR1
antiDerivative, 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
-
Addition
public Addition(double a) throws java.lang.ExceptionAddition Constructor- Parameters:
a
- a- Throws:
java.lang.Exception
- Thrown if the Input is Invalid
-
-
Method Details
-
a
public double a()Retrieve a- Returns:
- a
-
evaluate
public double evaluate(double x) throws java.lang.ExceptionDescription copied from class:R1ToR1
Evaluate for the given variate -
derivative
public double derivative(double x, int order) throws java.lang.ExceptionDescription copied from class:R1ToR1
Calculate the derivative as a double- Overrides:
derivative
in classR1ToR1
- Parameters:
x
- Variate at which the derivative is to be calculatedorder
- Order of the derivative to be computed- Returns:
- The Derivative
- Throws:
java.lang.Exception
- Thrown if Inputs are Invalid
-
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
-