public class ComplexMatrixEqn extends AbstractMatrixEqn<org.apache.commons.math3.complex.Complex,org.apache.commons.math3.complex.Complex>
a, b| Constructor and Description |
|---|
ComplexMatrixEqn(org.apache.commons.math3.complex.Complex[][] matrix)
constructor
|
ComplexMatrixEqn(org.apache.commons.math3.complex.Complex[][] matrix,
org.apache.commons.math3.complex.Complex[] vector)
constructor
|
ComplexMatrixEqn(int d)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
inverseMatrix()
inverse the [A] matrix
|
org.apache.commons.math3.complex.Complex[] |
solveEqn(boolean inverse)
solve the equation using Apache Common Math lib
|
org.apache.commons.math3.complex.Complex[] |
solveEqn(org.apache.commons.math3.complex.Complex[] bVector,
boolean inverse) |
Complex3x1[] |
to3x1BlockVector()
transform the [b] vector to a 3x1 block vector
|
Complex3x3[][] |
to3x3BlockMatrix()
transform the [A] matrix to a 3x3 block matrix
|
getA, getAij, getB, getBi, getDimension, setAij, setB, setBipublic ComplexMatrixEqn(int d)
d - the dimension of the matrixpublic ComplexMatrixEqn(org.apache.commons.math3.complex.Complex[][] matrix)
matrix - the [A] matrixpublic ComplexMatrixEqn(org.apache.commons.math3.complex.Complex[][] matrix,
org.apache.commons.math3.complex.Complex[] vector)
matrix - the [A] matrixvector - the [b] vectorpublic org.apache.commons.math3.complex.Complex[] solveEqn(org.apache.commons.math3.complex.Complex[] bVector,
boolean inverse)
public org.apache.commons.math3.complex.Complex[] solveEqn(boolean inverse)
inverse - if true, the [A] will be inversed, otherwise the cached matrix inverse will be use
for solve the eqnpublic void inverseMatrix()
public Complex3x3[][] to3x3BlockMatrix()
public Complex3x1[] to3x1BlockVector()