Package jline.util
Class ComplexMatrix
java.lang.Object
jline.util.ComplexMatrix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionComplexMatrix
(int i, int j) ComplexMatrix
(Matrix real) ComplexMatrix
(Matrix real, Matrix im) ComplexMatrix
(org.ejml.data.DMatrixSparseCSC matrix_real, org.ejml.data.DMatrixSparseCSC matrix_im) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static ComplexMatrix
concatRows
(ComplexMatrix top, ComplexMatrix bottom, ComplexMatrix out) org.apache.commons.math3.complex.Complex
det()
static ComplexMatrix
extractRows
(ComplexMatrix A, int row0, int row1, ComplexMatrix out) org.apache.commons.math3.complex.Complex
get
(int idx) org.apache.commons.math3.complex.Complex
get
(int i, int j) int
int
int
boolean
isEmpty()
void
scale
(double a) void
set
(int i, int j, double val) void
set
(int row, int col, int val) void
set
(int i, int j, org.apache.commons.math3.complex.Complex val) void
set
(int idx, org.apache.commons.math3.complex.Complex val) sumRows()
void
zero()
-
Field Details
-
real
-
im
-
-
Constructor Details
-
ComplexMatrix
public ComplexMatrix(int i, int j) -
ComplexMatrix
-
ComplexMatrix
public ComplexMatrix(org.ejml.data.DMatrixSparseCSC matrix_real, org.ejml.data.DMatrixSparseCSC matrix_im) -
ComplexMatrix
-
-
Method Details
-
extractRows
-
concatRows
-
clone
-
det
public org.apache.commons.math3.complex.Complex det() -
scale
public void scale(double a) -
set
public void set(int i, int j, org.apache.commons.math3.complex.Complex val) -
set
public void set(int row, int col, int val) -
set
public void set(int i, int j, double val) -
set
public void set(int idx, org.apache.commons.math3.complex.Complex val) -
get
public org.apache.commons.math3.complex.Complex get(int i, int j) -
get
public org.apache.commons.math3.complex.Complex get(int idx) -
getNumRows
public int getNumRows() -
getNumCols
public int getNumCols() -
getNumElements
public int getNumElements() -
isEmpty
public boolean isEmpty() -
sumRows
-
zero
public void zero()
-