Package org.drip.function.rdtor1
Class AffineBoundMultivariate
java.lang.Object
org.drip.function.definition.RdToR1
org.drip.function.rdtor1.AffineBoundMultivariate
- All Implemented Interfaces:
BoundMultivariate
,ConvexMultivariate
public class AffineBoundMultivariate extends RdToR1 implements BoundMultivariate, ConvexMultivariate
AffineBoundMultivariate implements a Bounded Planar Linear Rd To R1 Function.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in Rd To R1 Functions
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description AffineBoundMultivariate(boolean bIsUpper, int iBoundVariateIndex, int iNumTotalVariate, double dblBoundValue)
AffineBoundMultivariate Constructor -
Method Summary
Modifier and Type Method Description double
boundValue()
Retrieve the Bound Valueint
boundVariateIndex()
Retrieve the Bound Variate Indexint
dimension()
Retrieve the Dimension of the Input Variatedouble
evaluate(double[] adblVariate)
Evaluate for the given Input Variatesdouble[][]
hessian(double[] adblVariate)
Evaluate The Hessian for the given Input Variatesboolean
isUpper()
Retrieve the Bound Type Indicator Flagdouble[]
jacobian(double[] adblVariate)
Evaluate the Jacobian for the given Input Variatesboolean
violated(double dblVariate)
Indicate if the Specified Bound has been violated by the VariateMethods inherited from class org.drip.function.definition.RdToR1
conditionNumber, conditionNumberL2, conditionNumberLInfinity, conditionNumberLp, derivative, differential, gradient, gradientModulus, gradientModulusFunction, integrate, maxima, minima, ValidateInput
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AffineBoundMultivariate
public AffineBoundMultivariate(boolean bIsUpper, int iBoundVariateIndex, int iNumTotalVariate, double dblBoundValue) throws java.lang.ExceptionAffineBoundMultivariate Constructor- Parameters:
bIsUpper
- TRUE To The Bound is an Upper BoundiBoundVariateIndex
- The Bound Variate IndexiNumTotalVariate
- The Total Number of VariatesdblBoundValue
- The Bounding Value- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
isUpper
public boolean isUpper()Description copied from interface:BoundMultivariate
Retrieve the Bound Type Indicator Flag- Specified by:
isUpper
in interfaceBoundMultivariate
- Returns:
- TRUE - Bound is Upper Type
-
boundVariateIndex
public int boundVariateIndex()Description copied from interface:BoundMultivariate
Retrieve the Bound Variate Index- Specified by:
boundVariateIndex
in interfaceBoundMultivariate
- Returns:
- The Bound Variate Index
-
boundValue
public double boundValue()Description copied from interface:BoundMultivariate
Retrieve the Bound Value- Specified by:
boundValue
in interfaceBoundMultivariate
- Returns:
- The Bound Value
-
violated
public boolean violated(double dblVariate) throws java.lang.ExceptionDescription copied from interface:BoundMultivariate
Indicate if the Specified Bound has been violated by the Variate- Specified by:
violated
in interfaceBoundMultivariate
- Parameters:
dblVariate
- The Variate- Returns:
- TRUE - The Bound has been violated
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
dimension
public int dimension()Description copied from class:RdToR1
Retrieve the Dimension of the Input Variate -
evaluate
public double evaluate(double[] adblVariate) throws java.lang.ExceptionDescription copied from class:RdToR1
Evaluate for the given Input Variates -
jacobian
public double[] jacobian(double[] adblVariate)Description copied from class:RdToR1
Evaluate the Jacobian for the given Input Variates -
hessian
public double[][] hessian(double[] adblVariate)Description copied from class:RdToR1
Evaluate The Hessian for the given Input Variates
-