Package org.drip.function.rdtor1
Class LagrangianMultivariate
java.lang.Object
org.drip.function.definition.RdToR1
org.drip.function.rdtor1.LagrangianMultivariate
public class LagrangianMultivariate extends RdToR1
LagrangianMultivariate implements a Rd To R1 Multivariate Function along
with the specified Set of Equality Constraints.
- 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 LagrangianMultivariate(RdToR1 RdToR1Objective, RdToR1[] aRdToR1EqualityConstraint)
LagrangianMultivariate Constructor -
Method Summary
Modifier and Type Method Description int
constraintFunctionDimension()
Retrieve the Constraint Function DimensionRdToR1[]
constraintFunctions()
Retrieve the Array of the Constraint R^d To R^1 Function Instancesint
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 Variatesdouble[]
jacobian(double[] adblVariate)
Evaluate the Jacobian for the given Input VariatesRdToR1
objectiveFunction()
Retrieve the Objective R^d To R^1 Function Instanceint
objectiveFunctionDimension()
Retrieve the Objective Function DimensionMethods 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
-
LagrangianMultivariate
public LagrangianMultivariate(RdToR1 RdToR1Objective, RdToR1[] aRdToR1EqualityConstraint) throws java.lang.ExceptionLagrangianMultivariate Constructor- Parameters:
RdToR1Objective
- The Objective FunctionaRdToR1EqualityConstraint
- Array of Equality Constraint Functions- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
objectiveFunction
Retrieve the Objective R^d To R^1 Function Instance- Returns:
- The Objective R^d To R^1 Function Instance
-
constraintFunctions
Retrieve the Array of the Constraint R^d To R^1 Function Instances- Returns:
- The Array of Constraint R^d To R^1 Function Instances
-
objectiveFunctionDimension
public int objectiveFunctionDimension()Retrieve the Objective Function Dimension- Returns:
- The Objective Function Dimension
-
constraintFunctionDimension
public int constraintFunctionDimension()Retrieve the Constraint Function Dimension- Returns:
- The Constraint Function Dimension
-
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
-