class DenseWeightedEvaluation extends AbstractEvaluation
Modifier and Type | Field and Description |
---|---|
private LeastSquaresProblem.Evaluation |
unweighted
the unweighted evaluation
|
private RealMatrix |
weightSqrt
reference to the weight square root matrix
|
Constructor and Description |
---|
DenseWeightedEvaluation(LeastSquaresProblem.Evaluation unweighted,
RealMatrix weightSqrt)
Create a weighted evaluation from an unweighted one.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getJacobian()
Get the weighted Jacobian matrix.
|
RealVector |
getPoint()
Get the abscissa (independent variables) of this evaluation.
|
RealVector |
getResiduals()
Get the weighted residuals.
|
getCost, getCovariances, getRMS, getSigma
private final LeastSquaresProblem.Evaluation unweighted
private final RealMatrix weightSqrt
DenseWeightedEvaluation(LeastSquaresProblem.Evaluation unweighted, RealMatrix weightSqrt)
unweighted
- the evalutation before weights are appliedweightSqrt
- the matrix square root of the weight matrixpublic RealMatrix getJacobian()
public RealVector getResiduals()
public RealVector getPoint()
LeastSquaresProblem.evaluate(RealVector)
.Copyright (c) 2003-2014 Apache Software Foundation