public class LinToolLibrary
extends java.lang.Object
| Constructor and Description |
|---|
LinToolLibrary() |
| Modifier and Type | Method and Description |
|---|---|
static LinResult |
computeEigenvaluesAndVectors(double[][] A)
Returns an instance of
LinResult with
eigenvalues and vectors in lambda, S. |
static LinResult |
computeQR(double[][] A)
Returns an instance of
LinResult with
the QR decomposition in Q, R. |
static LinResult |
computeSVD(double[][] A)
Returns an instance of
LinResult with
the U,V matrices in U,V, the
singular values in both sigma (single array)
and Sigma as a matrix, and the rank in rank. |
static LinResult |
inverse(double[][] A)
Returns an instance of
LinResult with
either the inverse or the pseudoinverse in Ainv. |
static LinResult |
oldComputeSVD(double[][] A) |
public static LinResult inverse(double[][] A)
LinResult with
either the inverse or the pseudoinverse in Ainv.public static LinResult computeQR(double[][] A)
LinResult with
the QR decomposition in Q, R.public static LinResult computeEigenvaluesAndVectors(double[][] A)
LinResult with
eigenvalues and vectors in lambda, S.public static LinResult computeSVD(double[][] A)
LinResult with
the U,V matrices in U,V, the
singular values in both sigma (single array)
and Sigma as a matrix, and the rank in rank.public static LinResult oldComputeSVD(double[][] A)