Package | Description |
---|---|
org.gridfour.util.jama |
This package includes the public-domain JAMA matrix library implementation.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.arrayLeftDivide(Matrix B)
Element-by-element left division, C = A.\B
|
Matrix |
Matrix.arrayLeftDivideEquals(Matrix B)
Element-by-element left division in place, A = A.\B
|
Matrix |
Matrix.arrayRightDivide(Matrix B)
Element-by-element right division, C = A./B
|
Matrix |
Matrix.arrayRightDivideEquals(Matrix B)
Element-by-element right division in place, A = A./B
|
Matrix |
Matrix.arrayTimes(Matrix B)
Element-by-element multiplication, C = A.*B
|
Matrix |
Matrix.arrayTimesEquals(Matrix B)
Element-by-element multiplication in place, A = A.*B
|
static Matrix |
Matrix.constructWithCopy(double[][] A)
Construct a matrix from a copy of a 2-D array.
|
Matrix |
Matrix.copy()
Make a deep copy of a matrix
|
Matrix |
LUDecomposition.getL()
Return lower triangular factor
|
Matrix |
Matrix.getMatrix(int[] r,
int[] c)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int[] r,
int j0,
int j1)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int i0,
int i1,
int[] c)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int i0,
int i1,
int j0,
int j1)
Get a submatrix.
|
Matrix |
LUDecomposition.getU()
Return upper triangular factor
|
static Matrix |
Matrix.identity(int m,
int n)
Generate identity matrix
|
Matrix |
Matrix.minus(Matrix B)
C = A - B
|
Matrix |
Matrix.minusEquals(Matrix B)
A = A - B
|
Matrix |
Matrix.plus(Matrix B)
C = A + B
|
Matrix |
Matrix.plusEquals(Matrix B)
A = A + B
|
static Matrix |
Matrix.random(int m,
int n)
Generate matrix with random elements
|
static Matrix |
Matrix.read(BufferedReader input)
Read a matrix from a stream.
|
Matrix |
LUDecomposition.solve(Matrix B)
Solve A*X = B
|
Matrix |
Matrix.times(double s)
Multiply a matrix by a scalar, C = s*A
|
Matrix |
Matrix.times(Matrix B)
Linear algebraic matrix multiplication, A * B
|
Matrix |
Matrix.timesEquals(double s)
Multiply a matrix by a scalar in place, A = s*A
|
Matrix |
Matrix.transpose()
Matrix transpose.
|
Matrix |
Matrix.uminus()
Unary minus
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.arrayLeftDivide(Matrix B)
Element-by-element left division, C = A.\B
|
Matrix |
Matrix.arrayLeftDivideEquals(Matrix B)
Element-by-element left division in place, A = A.\B
|
Matrix |
Matrix.arrayRightDivide(Matrix B)
Element-by-element right division, C = A./B
|
Matrix |
Matrix.arrayRightDivideEquals(Matrix B)
Element-by-element right division in place, A = A./B
|
Matrix |
Matrix.arrayTimes(Matrix B)
Element-by-element multiplication, C = A.*B
|
Matrix |
Matrix.arrayTimesEquals(Matrix B)
Element-by-element multiplication in place, A = A.*B
|
Matrix |
Matrix.minus(Matrix B)
C = A - B
|
Matrix |
Matrix.minusEquals(Matrix B)
A = A - B
|
Matrix |
Matrix.plus(Matrix B)
C = A + B
|
Matrix |
Matrix.plusEquals(Matrix B)
A = A + B
|
void |
Matrix.setMatrix(int[] r,
int[] c,
Matrix X)
Set a submatrix.
|
void |
Matrix.setMatrix(int[] r,
int j0,
int j1,
Matrix X)
Set a submatrix.
|
void |
Matrix.setMatrix(int i0,
int i1,
int[] c,
Matrix X)
Set a submatrix.
|
void |
Matrix.setMatrix(int i0,
int i1,
int j0,
int j1,
Matrix X)
Set a submatrix.
|
Matrix |
LUDecomposition.solve(Matrix B)
Solve A*X = B
|
Matrix |
Matrix.times(Matrix B)
Linear algebraic matrix multiplication, A * B
|
Constructor and Description |
---|
LUDecomposition(Matrix A)
LU Decomposition
Structure to access L, U and piv.
|
Copyright © 2022. All rights reserved.