| Package | Description |
|---|---|
| org.ejml.alg.fixed | |
| org.ejml.data | |
| org.ejml.ops |
| Modifier and Type | Method and Description |
|---|---|
static FixedMatrix2x2_64F |
FixedOps2.transpose(FixedMatrix2x2_64F input,
FixedMatrix2x2_64F output)
Transposes matrix 'a' and stores the results in 'b':
bij = aji where 'b' is the transpose of 'a'. |
| Modifier and Type | Method and Description |
|---|---|
static void |
FixedOps2.add(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the following operation:
c = a + b cij = aij + bij |
static void |
FixedOps2.addEquals(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b)
Performs the following operation:
a = a + b aij = aij + bij |
static void |
FixedOps2.changeSign(FixedMatrix2x2_64F a)
Changes the sign of every element in the matrix.
aij = -aij |
static double |
FixedOps2.det(FixedMatrix2x2_64F mat)
Computes the determinant using minor matrices.
|
static void |
FixedOps2.diag(FixedMatrix2x2_64F input,
FixedMatrix2_64F out)
Extracts all diagonal elements from 'input' and places them inside the 'out' vector.
|
static void |
FixedOps2.divide(double alpha,
FixedMatrix2x2_64F a)
Performs an in-place element by element scalar division.
aij = aij/α |
static void |
FixedOps2.divide(double alpha,
FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b)
Performs an element by element scalar division.
bij = *aij /α |
static void |
FixedOps2.elementDiv(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b)
Performs the an element by element division operation:
aij = aij / bij |
static void |
FixedOps2.elementDiv(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the an element by element division operation:
cij = aij / bij |
static double |
FixedOps2.elementMax(FixedMatrix2x2_64F a)
Returns the value of the element in the matrix that has the largest value.
Max{ aij } for all i and j |
static double |
FixedOps2.elementMaxAbs(FixedMatrix2x2_64F a)
Returns the absolute value of the element in the matrix that has the largest absolute value.
Max{ |aij| } for all i and j |
static double |
FixedOps2.elementMin(FixedMatrix2x2_64F a)
Returns the value of the element in the matrix that has the minimum value.
Min{ aij } for all i and j |
static double |
FixedOps2.elementMinAbs(FixedMatrix2x2_64F a)
Returns the absolute value of the element in the matrix that has the smallest absolute value.
Min{ |aij| } for all i and j |
static void |
FixedOps2.elementMult(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b)
Performs the an element by element multiplication operation:
aij = aij * bij |
static void |
FixedOps2.elementMult(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the an element by element multiplication operation:
cij = aij * bij |
static void |
FixedOps2.fill(FixedMatrix2x2_64F a,
double v)
Sets every element in the matrix to the specified value.
aij = value |
static boolean |
FixedOps2.invert(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F inv)
Inverts matrix 'a' using minor matrices and stores the results in 'inv'.
|
static void |
FixedOps2.mult(FixedMatrix2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2_64F c)
Performs vector to matrix multiplication:
c = a * b cj = ∑k=1:n { bk * akj } |
static void |
FixedOps2.mult(FixedMatrix2x2_64F a,
FixedMatrix2_64F b,
FixedMatrix2_64F c)
Performs matrix to vector multiplication:
c = a * b ci = ∑k=1:n { aik * bk} |
static void |
FixedOps2.mult(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the following operation:
c = a * b cij = ∑k=1:n { aik * bkj} |
static void |
FixedOps2.multTransA(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the following operation:
c = aT * b cij = ∑k=1:n { aki * bkj} |
static void |
FixedOps2.multTransAB(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the following operation:
c = aT * bT cij = ∑k=1:n { aki * bjk} |
static void |
FixedOps2.multTransB(FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b,
FixedMatrix2x2_64F c)
Performs the following operation:
c = a * bT cij = ∑k=1:n { aik * bjk} |
static void |
FixedOps2.scale(double alpha,
FixedMatrix2x2_64F a)
Performs an in-place element by element scalar multiplication.
aij = α*aij |
static void |
FixedOps2.scale(double alpha,
FixedMatrix2x2_64F a,
FixedMatrix2x2_64F b)
Performs an element by element scalar multiplication.
bij = α*aij |
static void |
FixedOps2.setIdentity(FixedMatrix2x2_64F a)
Sets all the diagonal elements equal to one and everything else equal to zero.
|
static double |
FixedOps2.trace(FixedMatrix2x2_64F a)
This computes the trace of the matrix:
trace = ∑i=1:n { aii } |
static void |
FixedOps2.transpose(FixedMatrix2x2_64F m)
Performs an in-place transpose.
|
static FixedMatrix2x2_64F |
FixedOps2.transpose(FixedMatrix2x2_64F input,
FixedMatrix2x2_64F output)
Transposes matrix 'a' and stores the results in 'b':
bij = aji where 'b' is the transpose of 'a'. |
| Constructor and Description |
|---|
FixedMatrix2x2_64F(FixedMatrix2x2_64F o) |
| Modifier and Type | Method and Description |
|---|---|
static FixedMatrix2x2_64F |
ConvertMatrixType.convert(DenseMatrix64F input,
FixedMatrix2x2_64F output)
Converts
DenseMatrix64F into FixedMatrix2x2_64F |
| Modifier and Type | Method and Description |
|---|---|
static FixedMatrix2x2_64F |
ConvertMatrixType.convert(DenseMatrix64F input,
FixedMatrix2x2_64F output)
Converts
DenseMatrix64F into FixedMatrix2x2_64F |
static DenseMatrix64F |
ConvertMatrixType.convert(FixedMatrix2x2_64F input,
DenseMatrix64F output)
Converts
FixedMatrix2x2_64F into DenseMatrix64F. |
Copyright © 2014. All Rights Reserved.