Class Matrix

java.lang.Object
  extended by Matrix

public class Matrix
extends java.lang.Object


Constructor Summary
Matrix()
           
Matrix(double[][] a)
           
Matrix(double[] v, int dir)
           
Matrix(int n, int m)
           
 
Method Summary
 Matrix dot(Matrix B)
           
 Matrix transpose()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix

public Matrix()

Matrix

public Matrix(double[] v,
              int dir)

Matrix

public Matrix(double[][] a)

Matrix

public Matrix(int n,
              int m)
Method Detail

dot

public Matrix dot(Matrix B)
           throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

transpose

public Matrix transpose()