The QRRegressionCalculation type exposes the following members.

Constructors

  NameDescription
Public methodQRRegressionCalculation()()()()
Constrcts a QRRegressionCalculation instance with all sizes equal to zero.
Public methodQRRegressionCalculation(DoubleMatrix)
Constructs a QRRegressionCalculation instance from the given matrix.
Public methodQRRegressionCalculation(DoubleMatrix, Double)
Constructs a QRRegressionCalculation instance from the given matrix. The specified tolerance is used in computing the numerical rank of the matrix.

Methods

  NameDescription
Public methodCalculateParameters
Calculates the parameters for the regression using a QR decomposition of the regression matrix to solve the least squares problem.
Public methodClone
Creates a deep copy of this regression calculator instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFactor(DoubleMatrix)
Factors a given matrix so that it may be used to solve least squares problems.
Public methodFactor(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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodResidualNormSqr
Computes the 2-norm squared of the residual vector.
Public methodResidualVector
Computes and returns the residual vector.
Public methodSolve
Computes the solution to the least squares problem Ax = b.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCols
Gets the number of columns in the matrix.
Public propertyIsGood
Returns true if the QR decomposition may be used to solve least squares problems; otherwise false.
Public propertyRank
Gets the numerical rank of the matrix.
Public propertyRankAvailable
Returns the rank if it was calculated as a byproduct of the parameter calculation.
Public propertyRows
Gets the number of rows in the matrix.
Public propertyTolerance
Gets and sets the tolerance used for computing the numerical rank of the regression matrix.
Public propertyXTXInv
Gets the matrix formed by taking the inverse of the product of the transpose of the regression matrix with itself, if available.
Public propertyXTXInvAvailable
Gets a boolean value indicating whether or not the matrix formed by taking the inverse of the product of the transpose of the regression matrix with itself is available.

See Also