jhypercomplex.matrices
Class SquareMatrix

java.lang.Object
  extended by jhypercomplex.matrices.Matrix
      extended by jhypercomplex.matrices.SquareMatrix

public class SquareMatrix
extends Matrix


Constructor Summary
SquareMatrix(int n)
           
 
Method Summary
 java.lang.String getDeterminant()
           
static double getDeterminant(double[][] b)
           
static java.lang.String getDeterminant(java.lang.String[][] b)
           
 void setComponents(java.lang.String[][] components)
           
 
Methods inherited from class jhypercomplex.matrices.Matrix
setIsNumerical
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareMatrix

public SquareMatrix(int n)
Method Detail

getDeterminant

public java.lang.String getDeterminant()
                                throws java.lang.Exception
Throws:
java.lang.Exception

setComponents

public void setComponents(java.lang.String[][] components)
                   throws java.lang.Exception
Overrides:
setComponents in class Matrix
Throws:
java.lang.Exception

getDeterminant

public static double getDeterminant(double[][] b)
Parameters:
Matrix - with numerical entries.
Returns:
Determinant the matrix.

getDeterminant

public static java.lang.String getDeterminant(java.lang.String[][] b)
                                       throws java.lang.Exception
Throws:
java.lang.Exception