Class Monotonocity

java.lang.Object
org.drip.spline.segment.Monotonocity

public class Monotonocity
extends java.lang.Object
Monotonocity contains the monotonicity details related to the given segment. Indicates whether the segment is monotonic, and if not, whether it contains a maximum, a minimum, or an inflection.
  • MONOTONIC
  • NON-MONOTONIC
  • NON MONOTONE - MINIMA
  • NON MONOTONE - MAXIMA
  • NON MONOTONE - INFLECTION
  • Monotonocity constructor
  • Retrieve the Monotone Type

Module Product Core Module
Library Fixed Income Analytics
Project Basis Splines and Linear Compounders across a Broad Family of Spline Basis Functions
Package Flexure Penalizing Best Fit Segment

Author:
Lakshmi Krishnamurthy
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int INFLECTION
    NON MONOTONE - INFLECTION
    static int MAXIMA
    NON MONOTONE - MAXIMA
    static int MINIMA
    NON MONOTONE - MINIMA
    static int MONOTONIC
    MONOTONIC
    static int NON_MONOTONIC
    NON-MONOTONIC
  • Constructor Summary

    Constructors
    Constructor Description
    Monotonocity​(int monotoneType)
    Monotonocity constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  
    int type()
    Retrieve the Monotone Type

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • Monotonocity

      public Monotonocity​(int monotoneType) throws java.lang.Exception
      Monotonocity constructor
      Parameters:
      monotoneType - One of the valid monotone types
      Throws:
      java.lang.Exception - Thrown if the input monotone type is invalid
  • Method Details

    • type

      public int type()
      Retrieve the Monotone Type
      Returns:
      The Monotone Type
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object