T - The type of the inputs to the basis functionspublic class GeneralizedLeastSquareResults<T> extends LeastSquareResults
| Constructor and Description |
|---|
GeneralizedLeastSquareResults(List<Function<T,Double>> basisFunctions,
double chiSq,
DoubleArray parameters,
DoubleMatrix covariance)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Function<T,Double> |
getFunction()
Gets the functions field.
|
int |
hashCode() |
getChiSq, getCovariance, getFitParameters, getFittingParameterSensitivityToData, toStringpublic GeneralizedLeastSquareResults(List<Function<T,Double>> basisFunctions, double chiSq, DoubleArray parameters, DoubleMatrix covariance)
basisFunctions - the basis functionschiSq - the chi-squared of the fitparameters - the parameters that were fitcovariance - the covariance matrix of the resultpublic Function<T,Double> getFunction()
public int hashCode()
hashCode in class LeastSquareResultspublic boolean equals(Object obj)
equals in class LeastSquareResultsCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.