Documentation of 'net.finmath.marketdata.model.curves.AbstractCurve' Java class
AbstractCurve
net.finmath.marketdata.model.curves

Class AbstractCurve

    • Constructor Detail

      • AbstractCurve

        public AbstractCurve(java.lang.String name,
                             java.util.Calendar referenceDate)
        Parameters:
        name - The name of this curve.
        referenceDate - The reference date of this curve.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: CurveInterface
        Get the name of the curve.
        Specified by:
        getName in interface CurveInterface
        Returns:
        The name of this curve
      • getReferenceDate

        public java.util.Calendar getReferenceDate()
        Description copied from interface: CurveInterface
        Return the reference date of this curve, i.e. the date associated with t=0.
        Specified by:
        getReferenceDate in interface CurveInterface
        Returns:
        The date identified as t=0.
      • getValue

        public double getValue(double time)
        Description copied from interface: CurveInterface
        Returns the value for the time using the interpolation method associated with this curve.
        Specified by:
        getValue in interface CurveInterface
        Parameters:
        time - Time for which the value should be returned.
        Returns:
        The value at the give time.
      • getValues

        public double[] getValues(double[] times)
        Return a vector of values corresponding to a given vector of times.
        Parameters:
        times - A given vector of times.
        Returns:
        A vector of values corresponding to the given vector of times.
      • toString

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

        public AbstractCurve clone()
                            throws java.lang.CloneNotSupportedException
        Description copied from interface: CurveInterface
        Create a deep copied clone.
        Specified by:
        clone in interface CurveInterface
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone (deep copied).
        Throws:
        java.lang.CloneNotSupportedException - Thrown, when the curve could not be cloned.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.