Constructors
|
public ComplexMatrix(int nrow, int ncol)
|
|
public ComplexMatrix(int nrow, int ncol, Complex const)
|
|
public ComplexMatrix(Complex[][] twoD)
|
|
public ComplexMatrix(double [][] twoD)
|
|
public ComplexMatrix(Matrix matrix)
|
|
public ComplexMatrix(ComplexMatrix matrix)
|
|
Create Special Matrices
|
|
public static ComplexMatrix identityMatrix(int nrow)
|
|
public static ComplexMatrix scalarMatrix(int nrow, Complex diagconst)
|
|
public static ComplexMatrix diagonalMatrix(int nrow, Complex[] diag)
|
Row Matrix
|
|
public static ComplexMatrix rowMatrix(Complex[] oneDarray)
|
Column Matrix
|
|
public static ComplexMatrix columnMatrix(Complex[] oneDarray)
|
Set values
|
public setTwoDarray(Complex[][] twoD)
|
|
public setTwoDarray(double[][] twoD)
|
|
public setElement(int i, int j, Complex aa)
|
|
public setElement(int i, int j, double real, double imag)
|
|
public setSubMatrix(int i, int j, Complex[][] submat)
|
|
public setSubMatrix(int i, int j, int k, int l, Complex[][] submat)
|
|
public setSubMatrix(int[] row, int[] col, Complex[][] submat)
|
|
Get values
|
public int getNrow()
|
|
public int getNcol()
|
|
public Complex[][] getArrayReference()
|
|
public Complex[][] getArrayCopy()
|
|
public Complex getElementReference(int i, int j)
|
|
public Complex getElementCopy(int i, int j)
|
|
public ComplexMatrix getSubMatrix(int i, int j, int k, int l)
|
|
public ComplexMatrix getSubMatrix(int[] row, int[] col)
|
|
public int[] getIndexReference()
|
|
public int[] getIndexCopy()
|
|
public double getSwap()
|
|
Deep Copy
|
public ComplexMatrix copy()
|
public static ComplexMatrix copy(ComplexMatrix aa)
|
public Object clone()
|
|
Conversions
|
|
public static ComplexMatrix toComplexRowMatrix(Complex[] oneDarray)
|
|
public static ComplexMatrix toComplexRowMatrix(double[] oneDarray)
|
|
public static ComplexMatrix toComplexColumnMatrix(Complex[] oneDarray)
|
|
public static ComplexMatrix toComplexColumnMatrix(double[] oneDarray)
|
|
public static ComplexMatrix toComplexMatrix(Matrix marray)
|
|
public static ComplexMatrix toComplexMatrix(double[][] darray);
|
Addition
|
public ComplexMatrix plus(ComplexMatrix bb)
|
public static ComplexMatrix plus(ComplexMatrix aa, ComplexMatrix bb)
|
public ComplexMatrix plus(Complex[][] bb)
|
|
public ComplexMatrix plus(Matrix bb)
|
|
public ComplexMatrix plus(double[][] bb)
|
|
public void plusEquals(ComplexMatrix bb)
|
|
Subtraction
|
public ComplexMatrix minus(ComplexMatrix bb)
|
public static ComplexMatrix minus(ComplexMatrix aa, ComplexMatrix bb)
|
public ComplexMatrix minus(Complex[][] bb)
|
|
public ComplexMatrix minus(Matrix bb)
|
|
public ComplexMatrix minus(double[][] bb)
|
|
public void minusEquals(ComplexMatrix bb)
|
|
Multiplication
|
public ComplexMatrix times(ComplexMatrix bb)
|
public static ComplexMatrix times(ComplexMatrix aa, ComplexMatrix bb)
|
public ComplexMatrix times(Complex bb)
|
public static ComplexMatrix times(ComplexMatrix aa, Complex bb)
|
public ComplexMatrix times(Complex[][] bb)
|
|
public ComplexMatrix times(Matrix bb)
|
|
public ComplexMatrix times(double[][] bb)
|
|
public ComplexMatrix times(double bb)
|
public static ComplexMatrix times(ComplexMatrix aa, double bb)
|
public void timesEquals(ComplexMatrix bb)
|
|
public void timesEquals(Complex bb)
|
|
public void timesEquals(double bb)
|
|
Division
|
public ComplexMatrix over(ComplexMatrix bb)
|
public static ComplexMatrix over(ComplexMatrix aa, ComplexMatrix bb)
|
public ComplexMatrix over(Complex[][] bb)
|
|
public ComplexMatrix over(Matrix bb)
|
|
public ComplexMatrix over(double[][] bb)
|
|
public void overEquals(ComplexMatrix bb)
|
|
Inverse
|
public ComplexMatrix inverse()
|
public static ComplexMatrix inverse(ComplexMatrix aa)
|
Transpose
|
public ComplexMatrix transpose()
|
public static ComplexMatrix transpose(ComplexMatrix aa)
|
Conjugate
|
public ComplexMatrix conjugate()
|
public static ComplexMatrix conjugate(ComplexMatrix aa)
|
Adjoin
|
public ComplexMatrix adjoin()
|
public static ComplexMatrix adjoin(ComplexMatrix aa)
|
Opposite
|
public ComplexMatrix opposite()
|
public static ComplexMatrix opposite(ComplexMatrix aa)
|
Reduced Row Echelon Form
|
public ComplexMatrix reducedRowEchelonForm()
|
|
Trace
|
public Complex trace()
|
public static Complex trace(ComplexMatrix aa)
|
Determinant
|
public Complex determinant()
|
public static Complex determinant(ComplexMatrix aa)
|
public Complex logDeterminant()
|
public static Complex logDeterminant(ComplexMatrix aa)
|
Cofactor
|
public ComplexMatrix cofactor()
|
|
public Complex cofactor(int i, int j)
|
|
Norms
|
public double frobeniusNorm ()
|
|
public double oneNorm ()
|
|
public double infinityNorm ()
|
|
LU Decompostion
|
public ComplexMatrix luDecomp()
|
|
public Complex luBackSub(Complex[] bvec)
|
|
Linear Equation Set
|
public Complex[] solveLinearSet(Complex[]bvec)
|
|