slash.matrix.decomposition.LU
See theLU companion object
LU Decomposition Structure to access L, U and piv.
Value parameters
- A
-
Rectangular matrix
Attributes
Members list
Value members
Concrete methods
Return upper triangular factor
Determinant
Determinant
Attributes
- Returns
-
det(A)
- Throws
-
IllegalArgumentException
Matrix must be square
- Source
- LU.scala
Return pivot permutation vector as a one-dimensional double array
Return pivot permutation vector as a one-dimensional double array
Attributes
- Returns
-
(double) piv
- Source
- LU.scala
Is the matrix nonsingular?
Is the matrix nonsingular?
Attributes
- Returns
-
true if U, and hence A, is nonsingular.
- Source
- LU.scala
Return pivot permutation vector
Solve A*X = B
Solve A*X = B
Value parameters
- B
-
A Matrix with as many rows as A and as many columns as B.
Attributes
- Returns
-
X so that LUX = B(piv,:)
- Throws
-
IllegalArgumentException
Matrix row dimensions must agree.
RuntimeExceptionMatrix is singular.
- Source
- LU.scala
In this article