jsci.maths.matrices
Class Matrix

java.lang.Object
  extended by jsci.maths.matrices.Matrix
All Implemented Interfaces:
Serializable, Algebra.Member, Module.Member, VectorSpace.Member, Ring.Member, AbelianGroup.Member, Member
Direct Known Subclasses:
AbstractComplexMatrix, AbstractDoubleMatrix, AbstractIntegerMatrix, RingMatrix

public abstract class Matrix
extends Object
implements Algebra.Member

The Matrix superclass provides an abstract encapsulation for matrices.

See Also:
Serialized Form

Constructor Summary
Matrix(int rows, int cols)
          Constructs a matrix.
 
Method Summary
 int columns()
          Returns the number of columns.
 int rows()
          Returns the number of rows.
abstract  Matrix transpose()
          Returns the transpose of this matrix.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jsci.maths.algebras.VectorSpace.Member
scalarDivide
 
Methods inherited from interface jsci.maths.algebras.Module.Member
scalarMultiply
 
Methods inherited from interface jsci.maths.groups.AbelianGroup.Member
add, negate, subtract
 
Methods inherited from interface jsci.maths.Member
getSet
 
Methods inherited from interface jsci.maths.fields.Ring.Member
multiply
 

Constructor Detail

Matrix

public Matrix(int rows,
              int cols)
Constructs a matrix.

Method Detail

rows

public final int rows()
Returns the number of rows.


columns

public final int columns()
Returns the number of columns.


transpose

public abstract Matrix transpose()
Returns the transpose of this matrix.



jHepWork 3.1 ©