| DoubleIterativelyReweightedLeastSqSolve(DoubleMatrix, DoubleVector) Method |
Solves the least squares problem Ax = b for x using the method
of iteratively Reweighted least squares.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector Solve(
DoubleMatrix A,
DoubleVector b
)
Public Function Solve (
A As DoubleMatrix,
b As DoubleVector
) As DoubleVector
public:
DoubleVector^ Solve(
DoubleMatrix^ A,
DoubleVector^ b
)
member Solve :
A : DoubleMatrix *
b : DoubleVector -> DoubleVector
Parameters
- A DoubleMatrix
- A matrix.
- b DoubleVector
- The right hand side of the problem.
Return Value
DoubleVectorThe solution.
Remarks By default a column of ones is prepended to
the data in A representing a constant term in the model. If
this is not desired use the three argument version of Solve
See Also