public static class CopulaLibrary.DistanceLinkFunctionCopulaExpression extends CopulaExpression
Modifier and Type | Field and Description |
---|---|
protected HierarchicalSpatialDataStructure |
data |
protected java.lang.String |
distanceFieldsEnumeration |
protected LinkFunction |
linkFunction |
protected Matrix |
matrixX |
levels
parameterBounds
Constructor and Description |
---|
DistanceLinkFunctionCopulaExpression(LinkFunction.Type linkFunctionType,
java.lang.String hierarchicalLevelSpecifications,
java.lang.String distanceFieldsEnumeration,
double parameter) |
Modifier and Type | Method and Description |
---|---|
Matrix |
getGradient()
This method returns a vector that contains the first derivatives of the function with respect to its parameters.
|
Matrix |
getHessian()
This method returns a matrix that contains the second derivatives of the function with respect to its parameters.
|
int |
getNumberOfVariables()
This method returns the number of variables in the function.
|
java.lang.Double |
getValue()
This method provides the result of the function evaluation.
|
protected void |
initialize(StatisticalModel<?> model,
HierarchicalStatisticalDataStructure data) |
void |
setBounds(java.lang.Integer parameterName,
ParameterBound bound) |
protected void |
setX(int indexFirstObservation,
int indexSecondObservation) |
void |
setX(Matrix x)
Deprecated.
|
getBeta, getHierarchicalLevelSpecifications, getOriginalFunction, setBeta
getNumberOfParameters, getParameterValue, getVariableValue, setBounds, setParameterValue, setVariableValue
protected LinkFunction linkFunction
protected Matrix matrixX
protected java.lang.String distanceFieldsEnumeration
protected HierarchicalSpatialDataStructure data
public DistanceLinkFunctionCopulaExpression(LinkFunction.Type linkFunctionType, java.lang.String hierarchicalLevelSpecifications, java.lang.String distanceFieldsEnumeration, double parameter) throws StatisticalDataException
StatisticalDataException
public java.lang.Double getValue()
EvaluableFunction
getValue
in interface EvaluableFunction<java.lang.Double>
getValue
in class AbstractMathematicalFunctionWrapper
public Matrix getGradient()
DerivableMathematicalFunction
getGradient
in interface DerivableMathematicalFunction
getGradient
in class AbstractMathematicalFunctionWrapper
public Matrix getHessian()
DerivableMathematicalFunction
getHessian
in interface DerivableMathematicalFunction
getHessian
in class AbstractMathematicalFunctionWrapper
@Deprecated public void setX(Matrix x)
AbstractMathematicalFunction
setX
in class CopulaExpression
x
- a Matrix instanceprotected void setX(int indexFirstObservation, int indexSecondObservation)
setX
in class CopulaExpression
public int getNumberOfVariables()
AbstractMathematicalFunction
getNumberOfVariables
in class AbstractMathematicalFunctionWrapper
public void setBounds(java.lang.Integer parameterName, ParameterBound bound)
protected void initialize(StatisticalModel<?> model, HierarchicalStatisticalDataStructure data) throws StatisticalDataException
initialize
in class CopulaExpression
StatisticalDataException