﻿QRRegressionCalculation Methods

# QRRegressionCalculation Methods

The QRRegressionCalculation type exposes the following members.

Methods
NameDescription
CalculateParameters(DoubleMatrix, DoubleVector)
Calculates the parameters for the regression using a QR decomposition of the regression matrix to solve the least squares problem.
CalculateParameters(DoubleMatrix, DoubleVector, Boolean)
Calculates the parameters for the regression using a QR decomposition of the regression matrix to solve the least squares problem.
Clone
Creates a deep copy of this regression calculator instance.
Factor(DoubleMatrix)
Factors a given matrix so that it may be used to solve least squares problems.
Factor(DoubleMatrix, Double)
Factors a given matrix so that it may be used to solve least squares problems. The specified tolerance is used in computing the numerical rank of the matrix.
Factor(DoubleMatrix, Double, Boolean)
Factors a given matrix so that it may be used to solve least squares problems. The specified tolerance is used in computing the numerical rank of the matrix.
ResidualNormSqr
Computes the 2-norm squared of the residual vector.
ResidualVector
Computes and returns the residual vector.
Solve
Computes the solution to the least squares problem Ax = b.
Top