flanagan.complex
Class ComplexMatrix
- java.lang.Object
-
- flanagan.complex.ComplexMatrix
-
public class ComplexMatrix extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description ComplexMatrix(Complex[][] twoD)ComplexMatrix(ComplexMatrix bb)ComplexMatrix(double[][] twoD)ComplexMatrix(int nrow, int ncol)ComplexMatrix(int nrow, int ncol, Complex constant)ComplexMatrix(Matrix bb)
-
Method Summary
-
-
-
Constructor Detail
-
ComplexMatrix
public ComplexMatrix(int nrow, int ncol)
-
ComplexMatrix
public ComplexMatrix(int nrow, int ncol, Complex constant)
-
ComplexMatrix
public ComplexMatrix(Complex[][] twoD)
-
ComplexMatrix
public ComplexMatrix(double[][] twoD)
-
ComplexMatrix
public ComplexMatrix(ComplexMatrix bb)
-
ComplexMatrix
public ComplexMatrix(Matrix bb)
-
-
Method Detail
-
setTwoDarray
public void setTwoDarray(Complex[][] aarray)
-
setTwoDarray
public void setTwoDarray(double[][] aarray)
-
setElement
public void setElement(int i, int j, Complex aa)
-
setElement
public void setElement(int i, int j, double aa, double bb)
-
setSubMatrix
public void setSubMatrix(int i, int j, int k, int l, Complex[][] subMatrix)
-
setSubMatrix
public void setSubMatrix(int i, int j, Complex[][] subMatrix)
-
setSubMatrix
public void setSubMatrix(int[] row, int[] col, Complex[][] subMatrix)
-
identityMatrix
public static ComplexMatrix identityMatrix(int nrow)
-
scalarMatrix
public static ComplexMatrix scalarMatrix(int nrow, Complex diagconst)
-
diagonalMatrix
public static ComplexMatrix diagonalMatrix(int nrow, Complex[] diag)
-
columnMatrix
public static ComplexMatrix columnMatrix(Complex[] darray)
-
rowMatrix
public static ComplexMatrix rowMatrix(Complex[] darray)
-
toComplexColumnMatrix
public static ComplexMatrix toComplexColumnMatrix(Complex[] carray)
-
toComplexColumnMatrix
public static ComplexMatrix toComplexColumnMatrix(double[] darray)
-
toComplexRowMatrix
public static ComplexMatrix toComplexRowMatrix(Complex[] carray)
-
toComplexRowMatrix
public static ComplexMatrix toComplexRowMatrix(double[] darray)
-
toComplexMatrix
public static ComplexMatrix toComplexMatrix(Matrix marray)
-
toComplexMatrix
public static ComplexMatrix toComplexMatrix(double[][] darray)
-
getNrow
public int getNrow()
-
getNcol
public int getNcol()
-
getArrayReference
public Complex[][] getArrayReference()
-
getArray
public Complex[][] getArray()
-
getArrayPointer
public Complex[][] getArrayPointer()
-
getArrayCopy
public Complex[][] getArrayCopy()
-
getElementReference
public Complex getElementReference(int i, int j)
-
getElementPointer
public Complex getElementPointer(int i, int j)
-
getElementCopy
public Complex getElementCopy(int i, int j)
-
getSubMatrix
public ComplexMatrix getSubMatrix(int i, int j, int k, int l)
-
getSubMatrix
public ComplexMatrix getSubMatrix(int[] row, int[] col)
-
getIndexReference
public int[] getIndexReference()
-
getIndexPointer
public int[] getIndexPointer()
-
getIndexCopy
public int[] getIndexCopy()
-
getSwap
public double getSwap()
-
copy
public static ComplexMatrix copy(ComplexMatrix a)
-
copy
public ComplexMatrix copy()
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
plus
public ComplexMatrix plus(ComplexMatrix bmat)
-
plus
public ComplexMatrix plus(Complex[][] bmat)
-
plus
public ComplexMatrix plus(Matrix bmat)
-
plus
public ComplexMatrix plus(double[][] bmat)
-
plus
public static ComplexMatrix plus(ComplexMatrix amat, ComplexMatrix bmat)
-
plusEquals
public void plusEquals(ComplexMatrix bmat)
-
minus
public ComplexMatrix minus(ComplexMatrix bmat)
-
minus
public ComplexMatrix minus(Complex[][] bmat)
-
minus
public ComplexMatrix minus(Matrix bmat)
-
minus
public ComplexMatrix minus(double[][] bmat)
-
minus
public static ComplexMatrix minus(ComplexMatrix amat, ComplexMatrix bmat)
-
minusEquals
public void minusEquals(ComplexMatrix bmat)
-
times
public ComplexMatrix times(ComplexMatrix bmat)
-
times
public ComplexMatrix times(Complex[][] bmat)
-
times
public ComplexMatrix times(Matrix bmat)
-
times
public ComplexMatrix times(double[][] bmat)
-
times
public ComplexMatrix times(Complex constant)
-
times
public ComplexMatrix times(double constant)
-
times
public static ComplexMatrix times(ComplexMatrix amat, ComplexMatrix bmat)
-
times
public static ComplexMatrix times(ComplexMatrix amat, Complex constant)
-
times
public static ComplexMatrix times(ComplexMatrix amat, double constant)
-
timesEquals
public void timesEquals(ComplexMatrix bmat)
-
timesEquals
public void timesEquals(Complex constant)
-
timesEquals
public void timesEquals(double constant)
-
over
public ComplexMatrix over(ComplexMatrix bmat)
-
over
public ComplexMatrix over(Complex[][] bmat)
-
over
public ComplexMatrix over(Matrix bmat)
-
over
public ComplexMatrix over(double[][] bmat)
-
over
public ComplexMatrix over(ComplexMatrix amat, ComplexMatrix bmat)
-
overEquals
public void overEquals(ComplexMatrix bmat)
-
inverse
public ComplexMatrix inverse()
-
inverse
public static ComplexMatrix inverse(ComplexMatrix amat)
-
transpose
public ComplexMatrix transpose()
-
transpose
public static ComplexMatrix transpose(ComplexMatrix amat)
-
conjugate
public ComplexMatrix conjugate()
-
conjugate
public static ComplexMatrix conjugate(ComplexMatrix amat)
-
adjoin
public ComplexMatrix adjoin()
-
adjoin
public ComplexMatrix adjoin(ComplexMatrix amat)
-
opposite
public ComplexMatrix opposite()
-
opposite
public static ComplexMatrix opposite(ComplexMatrix amat)
-
trace
public Complex trace()
-
trace
public static Complex trace(ComplexMatrix amat)
-
determinant
public Complex determinant()
-
determinant
public static Complex determinant(ComplexMatrix amat)
-
logDeterminant
public Complex logDeterminant()
-
logDeterminant
public static Complex logDeterminant(ComplexMatrix amat)
-
cofactor
public ComplexMatrix cofactor()
-
cofactor
public Complex cofactor(int ii, int jj)
-
reducedRowEchelonForm
public ComplexMatrix reducedRowEchelonForm()
-
frobeniusNorm
public double frobeniusNorm()
-
oneNorm
public double oneNorm()
-
infinityNorm
public double infinityNorm()
-
luDecomp
public ComplexMatrix luDecomp()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG