Package org.drip.function.rdtor1solver
Class VariateInequalityConstraintMultiplier
java.lang.Object
org.drip.function.rdtor1solver.VariateInequalityConstraintMultiplier
public class VariateInequalityConstraintMultiplier
extends java.lang.Object
VariateInequalityConstraintMultiplier holds the Variates and their Inequality Constraint
Multipliers in either the Absolute or the Incremental Forms.
- Module = Numerical Core Module
- Library = Numerical Optimizer
- Project = Function
- Package = Rd To R1 Solver
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static boolean
s_postBoundBlog
Flag Indicating whether the Variate Contents are to be Logged "After" Boundingstatic boolean
s_preBoundBlog
Flag Indicating whether the Variate Contents are to be Logged "Before" Bounding -
Constructor Summary
Constructors Constructor Description VariateInequalityConstraintMultiplier(boolean incremental, double[] variateArray, double[] constraintMultiplierArray)
VariateInequalityConstraintMultiplier Constructor -
Method Summary
Modifier and Type Method Description static VariateInequalityConstraintMultiplier
Add(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, double incrementFactor, BoundMultivariate[] boundMultivariateFunctionArray)
Add the Specified VariateInequalityConstraintMultiplier Instances togetherstatic VariateInequalityConstraintMultiplier
Add(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, BoundMultivariate[] boundMultivariateFunctionArray)
Add the Specified VariateInequalityConstraintMultiplier Instances togetherstatic boolean
Compare(VariateInequalityConstraintMultiplier variateConstraint1, VariateInequalityConstraintMultiplier variateConstraint2, double relativeTolerance, double absoluteToleranceFallback, int comparisonVariate)
Compare the Specified VariateInequalityConstraintMultiplier Instancesdouble[]
constraintMultiplierArray()
Retrieve the Constraint Multipliersboolean
incremental()
Retrieve the Incremental FlagSizedVector
incrementVector()
Retrieve the Sized Vector Instance corresponding to the Incrementstatic VariateInequalityConstraintMultiplier
Subtract(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, double incrementFactor, BoundMultivariate[] boundMultivariateFunctionArray)
Subtract the Second VariateInequalityConstraintMultiplier Instance from the Firststatic VariateInequalityConstraintMultiplier
Subtract(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, BoundMultivariate[] boundMultivariateFunctionArray)
Subtract the Second VariateInequalityConstraintMultiplier Instance from the Firstdouble[]
variateArray()
Retrieve the Array of Variatesdouble[]
variateConstraintMultipler()
Retrieve the Consolidated Variate/Constraint Multiplier ArraySizedVector
variateIncrementVector()
Retrieve the Sized Vector Instance corresponding to the Variate IncrementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
s_preBoundBlog
public static boolean s_preBoundBlogFlag Indicating whether the Variate Contents are to be Logged "Before" Bounding -
s_postBoundBlog
public static boolean s_postBoundBlogFlag Indicating whether the Variate Contents are to be Logged "After" Bounding
-
-
Constructor Details
-
VariateInequalityConstraintMultiplier
public VariateInequalityConstraintMultiplier(boolean incremental, double[] variateArray, double[] constraintMultiplierArray) throws java.lang.ExceptionVariateInequalityConstraintMultiplier Constructor- Parameters:
incremental
- TRUE - Tuple represents an Incremental UnitvariateArray
- Array of VariatesconstraintMultiplierArray
- Array of Constraint Multipliers- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Add
public static final VariateInequalityConstraintMultiplier Add(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, double incrementFactor, BoundMultivariate[] boundMultivariateFunctionArray)Add the Specified VariateInequalityConstraintMultiplier Instances together- Parameters:
baseVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance BaseincrementalVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance IncrementincrementFactor
- The Increment Factor - 1. corresponds to Full IncrementboundMultivariateFunctionArray
- Array of Bounded Multivariate Stubs- Returns:
- The Added VariateInequalityConstraintMultiplier Instance
-
Add
public static final VariateInequalityConstraintMultiplier Add(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, BoundMultivariate[] boundMultivariateFunctionArray)Add the Specified VariateInequalityConstraintMultiplier Instances together- Parameters:
baseVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance BaseincrementalVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance IncrementboundMultivariateFunctionArray
- Array of Bounded Multivariate Stubs- Returns:
- The Added VariateInequalityConstraintMultiplier Instance
-
Subtract
public static final VariateInequalityConstraintMultiplier Subtract(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, double incrementFactor, BoundMultivariate[] boundMultivariateFunctionArray)Subtract the Second VariateInequalityConstraintMultiplier Instance from the First- Parameters:
baseVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance BaseincrementalVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance IncrementincrementFactor
- The Increment Factor - 1. corresponds to Full IncrementboundMultivariateFunctionArray
- Array of Bounded Multivariate Stubs- Returns:
- The Subtracted VariateInequalityConstraintMultiplier Instance
-
Subtract
public static final VariateInequalityConstraintMultiplier Subtract(VariateInequalityConstraintMultiplier baseVariateConstriantMultiplier, VariateInequalityConstraintMultiplier incrementalVariateConstriantMultiplier, BoundMultivariate[] boundMultivariateFunctionArray)Subtract the Second VariateInequalityConstraintMultiplier Instance from the First- Parameters:
baseVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance BaseincrementalVariateConstriantMultiplier
- VariateInequalityConstraintMultiplier Instance IncrementboundMultivariateFunctionArray
- Array of Bounded Multivariate Stubs- Returns:
- The Subtracted VariateInequalityConstraintMultiplier Instance
-
Compare
public static final boolean Compare(VariateInequalityConstraintMultiplier variateConstraint1, VariateInequalityConstraintMultiplier variateConstraint2, double relativeTolerance, double absoluteToleranceFallback, int comparisonVariate) throws java.lang.ExceptionCompare the Specified VariateInequalityConstraintMultiplier Instances- Parameters:
variateConstraint1
- VariateInequalityConstraintMultiplier Instance #1variateConstraint2
- VariateInequalityConstraintMultiplier Instance #2relativeTolerance
- The Relative Tolerance Between the VariatesabsoluteToleranceFallback
- The Absolute Tolerance Fall-back Between the VariatescomparisonVariate
- The Number of Variates to Compare- Returns:
- TRUE - The VariateInequalityConstraintMultiplier Instances are Close (Enough)
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
incremental
public boolean incremental()Retrieve the Incremental Flag- Returns:
- TRUE - Tuple is Incremental
-
variateArray
public double[] variateArray()Retrieve the Array of Variates- Returns:
- Array of Variates
-
constraintMultiplierArray
public double[] constraintMultiplierArray()Retrieve the Constraint Multipliers- Returns:
- Array of Constraint Multipliers
-
variateConstraintMultipler
public double[] variateConstraintMultipler()Retrieve the Consolidated Variate/Constraint Multiplier Array- Returns:
- The Consolidated Variate/Constraint Multiplier Array
-
incrementVector
Retrieve the Sized Vector Instance corresponding to the Increment- Returns:
- The Sized Vector Instance corresponding to the Increment
-
variateIncrementVector
Retrieve the Sized Vector Instance corresponding to the Variate Increment- Returns:
- The Sized Vector Instance corresponding to the Variate Increment
-