public class WengertJacobian
extends java.lang.Object
| Constructor and Description |
|---|
WengertJacobian(int iNumWengerts,
int iNumParameters)
WengertJacobian constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accumulatePartialFirstDerivative(int iWengertIndex,
int iParameterIndex,
double dblDWengertDParameter)
Accumulate {D(Wengert)}/{D(Parameter)}
|
boolean |
cumulativeMerge(WengertJacobian wjOther)
Accumulate and merge partial entries from the other CurveWengertJacobian
|
boolean |
cumulativeMerge(WengertJacobian wjOther,
double dblWeight)
Accumulate and merge the weighted partial entries from the other CurveWengertJacobian
|
java.lang.String |
displayString()
Stringifies the contents of WengertJacobian
|
double |
firstDerivative(int iWengertIndex,
int iParameterIndex)
Retrieve {D(Wengert)}/{D(Parameter)} for the Wengert and the parameter identified by their indices
|
int |
numParameters()
Retrieve the number of Parameters
|
int |
numWengerts()
Retrieve the number of Wengert Variables
|
boolean |
scale(double dblScale)
Scale the partial entries
|
boolean |
setWengert(int iWengertIndex,
double dblWengert)
Set the Value for the Wengert variable
|
double |
wengert(int iIndex)
Get the Value for the Wengert Variable
|
public WengertJacobian(int iNumWengerts,
int iNumParameters)
throws java.lang.Exception
iNumWengerts - Number of Wengert variablesiNumParameters - Number of Parametersjava.lang.Exception - Thrown if the inputs are invalidpublic int numWengerts()
public int numParameters()
public boolean setWengert(int iWengertIndex,
double dblWengert)
iWengertIndex - Wengert Variable IndexdblWengert - The Value for the Wengert Variablepublic double wengert(int iIndex)
throws java.lang.Exception
iIndex - Wengert Variable Indexjava.lang.Exception - Thrown if the inputs are invalidpublic boolean accumulatePartialFirstDerivative(int iWengertIndex,
int iParameterIndex,
double dblDWengertDParameter)
iWengertIndex - Wengert Variable IndexiParameterIndex - Parameter IndexdblDWengertDParameter - The incremental {D(Wengert)}/{D(Parameter)}public double firstDerivative(int iWengertIndex,
int iParameterIndex)
iWengertIndex - Wengert Variable IndexiParameterIndex - Parameter Indexpublic boolean cumulativeMerge(WengertJacobian wjOther)
wjOther - CurveWengertJacobian to be accumulated and mergedpublic boolean cumulativeMerge(WengertJacobian wjOther, double dblWeight)
wjOther - CurveWengertJacobian to be accumulated and mergeddblWeight - The Weightpublic boolean scale(double dblScale)
dblScale - Factor by which the partials are to be scaled bypublic java.lang.String displayString()