us.ihmc.utilities.linearDynamicSystems
Class ComplexMatrix

java.lang.Object
  extended by us.ihmc.utilities.linearDynamicSystems.ComplexMatrix

public class ComplexMatrix
extends java.lang.Object


Constructor Summary
ComplexMatrix(ComplexNumber[][] elements)
           
ComplexMatrix(double[][][] elements)
           
ComplexMatrix(int numRows, int numColumns)
           
 
Method Summary
static ComplexMatrix constructDiagonalMatrix(ComplexNumber[] diagonalElements)
           
static ComplexMatrix constructIdentity(int length)
           
static ComplexMatrix constructZeros(int length)
           
 boolean epsilonEquals(ComplexMatrix complexMatrix, double epsilon)
           
 boolean epsilonEquals(com.mathworks.jama.Matrix matrix, double epsilon)
           
 ComplexNumber get(int row, int column)
           
 int getColumnDimension()
           
 int getRowDimension()
           
 ComplexMatrix inverse()
           
 ComplexMatrix minus(com.mathworks.jama.Matrix matrixA)
           
 void set(int row, int column, ComplexNumber complexNumber)
           
 ComplexMatrix times(ComplexMatrix complexMatrix)
           
 ComplexMatrix times(ComplexNumber complexNumber)
           
 ComplexMatrix times(double timesBy)
           
 java.lang.String toString()
           
 ComplexMatrix transpose()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexMatrix

public ComplexMatrix(int numRows,
                     int numColumns)

ComplexMatrix

public ComplexMatrix(double[][][] elements)

ComplexMatrix

public ComplexMatrix(ComplexNumber[][] elements)
Method Detail

constructDiagonalMatrix

public static ComplexMatrix constructDiagonalMatrix(ComplexNumber[] diagonalElements)

constructIdentity

public static ComplexMatrix constructIdentity(int length)

constructZeros

public static ComplexMatrix constructZeros(int length)

set

public void set(int row,
                int column,
                ComplexNumber complexNumber)

get

public ComplexNumber get(int row,
                         int column)

inverse

public ComplexMatrix inverse()

times

public ComplexMatrix times(ComplexNumber complexNumber)

times

public ComplexMatrix times(double timesBy)

minus

public ComplexMatrix minus(com.mathworks.jama.Matrix matrixA)

times

public ComplexMatrix times(ComplexMatrix complexMatrix)

transpose

public ComplexMatrix transpose()

epsilonEquals

public boolean epsilonEquals(ComplexMatrix complexMatrix,
                             double epsilon)

epsilonEquals

public boolean epsilonEquals(com.mathworks.jama.Matrix matrix,
                             double epsilon)

getRowDimension

public int getRowDimension()

getColumnDimension

public int getColumnDimension()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object