Package | Description |
---|---|
cusack.hcg.matrix |
Modifier and Type | Method and Description |
---|---|
IntegerMatrix |
IntegerMatrix.arrayLeftDivide(IntegerMatrix B)
Element-by-element left division, C = A.\B
|
IntegerMatrix |
IntegerMatrix.arrayLeftDivideEquals(IntegerMatrix B)
Element-by-element left division in place, A = A.\B
|
IntegerMatrix |
IntegerMatrix.arrayRightDivide(IntegerMatrix B)
Element-by-element right division, C = A./B
|
IntegerMatrix |
IntegerMatrix.arrayRightDivideEquals(IntegerMatrix B)
Element-by-element right division in place, A = A./B
|
IntegerMatrix |
IntegerMatrix.arrayTimes(IntegerMatrix B)
Element-by-element multiplication, C = A.*B
|
IntegerMatrix |
IntegerMatrix.arrayTimesEquals(IntegerMatrix B)
Element-by-element multiplication in place, A = A.*B
|
static IntegerMatrix |
IntegerMatrix.constructWithCopy(int[][] A)
Construct a matrix from a copy of a 2-D array.
|
IntegerMatrix |
IntegerMatrix.copy()
Make a deep copy of a matrix
|
IntegerMatrix |
IntegerMatrix.getMatrix(int[] r,
int[] c)
Get a submatrix.
|
IntegerMatrix |
IntegerMatrix.getMatrix(int[] r,
int j0,
int j1)
Get a submatrix.
|
IntegerMatrix |
IntegerMatrix.getMatrix(int i0,
int i1,
int[] c)
Get a submatrix.
|
IntegerMatrix |
IntegerMatrix.getMatrix(int i0,
int i1,
int j0,
int j1)
Get a submatrix.
|
IntegerMatrix |
IntegerMatrix.howell(int N)
Return the Howell form of this Matrix, Modulo N
|
static IntegerMatrix |
IntegerMatrix.identity(int m,
int n)
Generate identity matrix
|
IntegerMatrix |
IntegerMatrix.minus(IntegerMatrix B)
C = A - B
|
IntegerMatrix |
IntegerMatrix.minusEquals(IntegerMatrix B)
A = A - B
|
IntegerMatrix |
IntegerMatrix.plus(IntegerMatrix B)
C = A + B
|
IntegerMatrix |
IntegerMatrix.plusEquals(IntegerMatrix B)
A = A + B
|
static IntegerMatrix |
IntegerMatrix.random(int m,
int n)
Generate matrix with random elements
|
static IntegerMatrix |
IntegerMatrix.read(java.io.BufferedReader input)
Read a matrix from a stream.
|
IntegerMatrix |
IntegerMatrix.times(int s)
Multiply a matrix by a scalar, C = s*A
|
IntegerMatrix |
IntegerMatrix.times(IntegerMatrix B)
Linear algebraic matrix multiplication, A * B
|
IntegerMatrix |
IntegerMatrix.timesEquals(int s)
Multiply a matrix by a scalar in place, A = s*A
|
IntegerMatrix |
IntegerMatrix.transpose()
Matrix transpose.
|
IntegerMatrix |
IntegerMatrix.uminus()
Unary minus
|
Modifier and Type | Method and Description |
---|---|
IntegerMatrix |
IntegerMatrix.arrayLeftDivide(IntegerMatrix B)
Element-by-element left division, C = A.\B
|
IntegerMatrix |
IntegerMatrix.arrayLeftDivideEquals(IntegerMatrix B)
Element-by-element left division in place, A = A.\B
|
IntegerMatrix |
IntegerMatrix.arrayRightDivide(IntegerMatrix B)
Element-by-element right division, C = A./B
|
IntegerMatrix |
IntegerMatrix.arrayRightDivideEquals(IntegerMatrix B)
Element-by-element right division in place, A = A./B
|
IntegerMatrix |
IntegerMatrix.arrayTimes(IntegerMatrix B)
Element-by-element multiplication, C = A.*B
|
IntegerMatrix |
IntegerMatrix.arrayTimesEquals(IntegerMatrix B)
Element-by-element multiplication in place, A = A.*B
|
IntegerMatrix |
IntegerMatrix.minus(IntegerMatrix B)
C = A - B
|
IntegerMatrix |
IntegerMatrix.minusEquals(IntegerMatrix B)
A = A - B
|
IntegerMatrix |
IntegerMatrix.plus(IntegerMatrix B)
C = A + B
|
IntegerMatrix |
IntegerMatrix.plusEquals(IntegerMatrix B)
A = A + B
|
void |
IntegerMatrix.setMatrix(int[] r,
int[] c,
IntegerMatrix X)
Set a submatrix.
|
void |
IntegerMatrix.setMatrix(int[] r,
int j0,
int j1,
IntegerMatrix X)
Set a submatrix.
|
void |
IntegerMatrix.setMatrix(int i0,
int i1,
int[] c,
IntegerMatrix X)
Set a submatrix.
|
void |
IntegerMatrix.setMatrix(int i0,
int i1,
int j0,
int j1,
IntegerMatrix X)
Set a submatrix.
|
IntegerMatrix |
IntegerMatrix.times(IntegerMatrix B)
Linear algebraic matrix multiplication, A * B
|