jsci.maths.matrices
Class Matrix
- java.lang.Object
-
- jsci.maths.matrices.Matrix
-
- All Implemented Interfaces:
- java.io.Serializable, Algebra.Member, Module.Member, VectorSpace.Member, Ring.Member, AbelianGroup.Member, Member
- Direct Known Subclasses:
- AbstractComplexMatrix, AbstractDoubleMatrix, AbstractIntegerMatrix, RingMatrix
public abstract class Matrix extends java.lang.Object implements Algebra.Member
The Matrix superclass provides an abstract encapsulation for matrices.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Matrix(int rows, int cols)Constructs a matrix.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description intcolumns()Returns the number of columns.introws()Returns the number of rows.abstract Matrixtranspose()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.fields.Ring.Member
multiply
-
-
-
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG