public class Solve extends Object
Constructor and Description |
---|
Solve() |
Modifier and Type | Method and Description |
---|---|
static DoubleMatrix |
pinv(DoubleMatrix A)
Computes the pseudo-inverse.
|
static FloatMatrix |
pinv(FloatMatrix A)
Computes the pseudo-inverse.
|
static DoubleMatrix |
solve(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B.
|
static FloatMatrix |
solve(FloatMatrix A,
FloatMatrix B)
Solves the linear equation A*X = B.
|
static DoubleMatrix |
solveLeastSquares(DoubleMatrix A,
DoubleMatrix B)
Computes the Least Squares solution for over or underdetermined
linear equations A*X = B
In the overdetermined case, when m > n, that is, there are more equations than
variables, it computes the least squares solution of X -> ||A*X - B ||_2.
|
static FloatMatrix |
solveLeastSquares(FloatMatrix A,
FloatMatrix B)
Computes the Least Squares solution for over or underdetermined
linear equations A*X = B
In the overdetermined case, when m > n, that is, there are more equations than
variables, it computes the least squares solution of X -> ||A*X - B ||_2.
|
static DoubleMatrix |
solvePositive(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric and positive definite A.
|
static FloatMatrix |
solvePositive(FloatMatrix A,
FloatMatrix B)
Solves the linear equation A*X = B for symmetric and positive definite A.
|
static DoubleMatrix |
solveSymmetric(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric A.
|
static FloatMatrix |
solveSymmetric(FloatMatrix A,
FloatMatrix B)
Solves the linear equation A*X = B for symmetric A.
|
public static DoubleMatrix solve(DoubleMatrix A, DoubleMatrix B)
public static DoubleMatrix solveSymmetric(DoubleMatrix A, DoubleMatrix B)
public static DoubleMatrix solvePositive(DoubleMatrix A, DoubleMatrix B)
public static DoubleMatrix solveLeastSquares(DoubleMatrix A, DoubleMatrix B)
A
- an (m,n) matrixB
- a (m,k) matrixpublic static DoubleMatrix pinv(DoubleMatrix A)
A
- rectangular matrixpublic static FloatMatrix solve(FloatMatrix A, FloatMatrix B)
public static FloatMatrix solveSymmetric(FloatMatrix A, FloatMatrix B)
public static FloatMatrix solvePositive(FloatMatrix A, FloatMatrix B)
public static FloatMatrix solveLeastSquares(FloatMatrix A, FloatMatrix B)
A
- an (m,n) matrixB
- a (m,k) matrixpublic static FloatMatrix pinv(FloatMatrix A)
A
- rectangular matrixCopyright © 2015. All rights reserved.