Class R2ToR1Property

java.lang.Object
org.drip.function.definition.RxToR1Property
org.drip.function.definition.R2ToR1Property

public class R2ToR1Property
extends RxToR1Property
R2ToR1Property evaluates the Specified Pair of R2 To R1 Functions, and verifies the Properties.

Author:
Lakshmi Krishnamurthy
  • Field Summary

    Fields inherited from class org.drip.function.definition.RxToR1Property

    EQ, GT, GTE, LT, LTE, MISMATCH_TOLERANCE
  • Constructor Summary

    Constructors
    Constructor Description
    R2ToR1Property​(java.lang.String type, R2ToR1 r2ToR1Left, R2ToR1 r2ToR1Right, double mismatchTolerance)
    R2ToR1Property Constructor
  • Method Summary

    Modifier and Type Method Description
    R2ToR1 r2ToR1Left()
    Retrieve the Left R2 To R1 Function
    R2ToR1 r2ToR1Right()
    Retrieve the Right R2 To R1 Function
    R1PropertyVerification verify​(double x, double y)
    Verify the specified R2 To R1 Functions

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

    mismatchTolerance, type

    Methods inherited from class java.lang.Object

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

    • R2ToR1Property

      public R2ToR1Property​(java.lang.String type, R2ToR1 r2ToR1Left, R2ToR1 r2ToR1Right, double mismatchTolerance) throws java.lang.Exception
      R2ToR1Property Constructor
      Parameters:
      type - The Comparator Type
      r2ToR1Left - The Left R2 To R1 Function
      r2ToR1Right - The Right R2 To R1 Function
      mismatchTolerance - The Mismatch Tolerance
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • r2ToR1Left

      public R2ToR1 r2ToR1Left()
      Retrieve the Left R2 To R1 Function
      Returns:
      The Left R2 To R1 Function
    • r2ToR1Right

      public R2ToR1 r2ToR1Right()
      Retrieve the Right R2 To R1 Function
      Returns:
      The Right R2 To R1 Function
    • verify

      public R1PropertyVerification verify​(double x, double y)
      Verify the specified R2 To R1 Functions
      Overrides:
      verify in class RxToR1Property
      Parameters:
      x - X
      y - Y
      Returns:
      Results of the Verification