ai.dragonfly.math.matrix.decomposition.QR
See theQR companion object QR Decomposition, computed by Householder reflections.
Structure to access R and the Householder vectors and compute Q.
Attributes
- A
Rectangular matrix
- Companion:
- object
- Source:
- QR.scala
- Graph
- Supertypes
Members list
Concise view
Value members
Return the Householder vectors
Return the Householder vectors
Attributes
- Returns:
Lower trapezoidal matrix whose columns define the reflections
- Source:
- QR.scala
Generate and return the (economy-sized) orthogonal factor
Generate and return the (economy-sized) orthogonal factor
Attributes
- Returns:
Q
- Source:
- QR.scala
Return the upper triangular factor
Return the upper triangular factor
Attributes
- Returns:
R
- Source:
- QR.scala
Attributes
- Returns:
true if R, and hence A, has full rank.
- Source:
- QR.scala
Least squares solution of A*X = B
Least squares solution of A*X = B
Attributes
- b
A Matrix with as many rows as A and any number of columns.
- Returns:
X that minimizes the two norm of QRX-B.
- Throws:
- Source:
- QR.scala