Package org.drip.function.rdtor1
Class AffineMultivariate
java.lang.Object
org.drip.function.definition.RdToR1
org.drip.function.rdtor1.AffineMultivariate
- All Implemented Interfaces:
ConvexMultivariate
public class AffineMultivariate extends RdToR1 implements ConvexMultivariate
AffineMultivariate implements a Planar Linear Rd To R1 Function using a
Multivariate Vector.
- 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 AffineMultivariate(double[] adblCoefficient, double dblConstant)
AffineMultivariate Constructor -
Method Summary
Modifier and Type Method Description double[]
coefficients()
Retrieve the Array of the Coefficientsdouble
constant()
Retrieve the Constantint
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 VariatesMethods 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
-
AffineMultivariate
public AffineMultivariate(double[] adblCoefficient, double dblConstant) throws java.lang.ExceptionAffineMultivariate Constructor- Parameters:
adblCoefficient
- Array of Variate CoefficientsdblConstant
- The Constant Offset- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
coefficients
public double[] coefficients()Retrieve the Array of the Coefficients- Returns:
- The Array of the Coefficients
-
constant
public double constant()Retrieve the Constant- Returns:
- The Constant
-
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
-