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




Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Addition​(double a)
    Addition Constructor
  • Method Summary

    Modifier and Type Method Description
    double a()
    Retrieve a
    double conditionNumber​(double x)
    Compute the Condition Number at the specified Variate
    double derivative​(double x, int order)
    Calculate the derivative as a double
    double evaluate​(double x)
    Evaluate for the given variate

    Methods 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.Exception
      Addition 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.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
    • derivative

      public double derivative​(double x, int order) throws java.lang.Exception
      Description copied from class: R1ToR1
      Calculate the derivative as a double
      Overrides:
      derivative in class R1ToR1
      Parameters:
      x - Variate at which the derivative is to be calculated
      order - 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.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