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 doubleboundValue()Retrieve the Bound ValueintboundVariateIndex()Retrieve the Bound Variate Indexintdimension()Retrieve the Dimension of the Input Variatedoubleevaluate(double[] adblVariate)Evaluate for the given Input Variatesdouble[][]hessian(double[] adblVariate)Evaluate The Hessian for the given Input VariatesbooleanisUpper()Retrieve the Bound Type Indicator Flagdouble[]jacobian(double[] adblVariate)Evaluate the Jacobian for the given Input Variatesbooleanviolated(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, ValidateInputMethods 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:BoundMultivariateRetrieve the Bound Type Indicator Flag- Specified by:
isUpperin interfaceBoundMultivariate- Returns:
- TRUE - Bound is Upper Type
-
boundVariateIndex
public int boundVariateIndex()Description copied from interface:BoundMultivariateRetrieve the Bound Variate Index- Specified by:
boundVariateIndexin interfaceBoundMultivariate- Returns:
- The Bound Variate Index
-
boundValue
public double boundValue()Description copied from interface:BoundMultivariateRetrieve the Bound Value- Specified by:
boundValuein interfaceBoundMultivariate- Returns:
- The Bound Value
-
violated
public boolean violated(double dblVariate) throws java.lang.ExceptionDescription copied from interface:BoundMultivariateIndicate if the Specified Bound has been violated by the Variate- Specified by:
violatedin 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:RdToR1Retrieve the Dimension of the Input Variate -
evaluate
public double evaluate(double[] adblVariate) throws java.lang.ExceptionDescription copied from class:RdToR1Evaluate for the given Input Variates -
jacobian
public double[] jacobian(double[] adblVariate)Description copied from class:RdToR1Evaluate the Jacobian for the given Input Variates -
hessian
public double[][] hessian(double[] adblVariate)Description copied from class:RdToR1Evaluate The Hessian for the given Input Variates
-