org.omegahat.Numerics.LinearAlgebra
Interface BaseMatrix

All Known Subinterfaces:
NumericMatrix

public interface BaseMatrix

Interface for methods applying to matrices without specializing the datatype of the elements.


Method Summary
 BaseMatrix copy()
          Create a copy of this matrix with same class.
 int[] getDim()
          Get the number of rows and columns of the matrix.
 int getNcol()
          Get the number of columns of the matrix.
 int getNrow()
          Get the number of rows of the matrix.
 

Method Detail

getDim

public int[] getDim()
Get the number of rows and columns of the matrix.

These are read-only properties; to reset them, use the make method.


getNrow

public int getNrow()
Get the number of rows of the matrix.

getNcol

public int getNcol()
Get the number of columns of the matrix.

copy

public BaseMatrix copy()
Create a copy of this matrix with same class.