Class Reciprocal

java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1operator.Reciprocal

public class Reciprocal
extends R1ToR1
Reciprocal implements the 1/x 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 Details

    • Reciprocal

      public Reciprocal() throws java.lang.Exception
      Addition 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