jsci.maths.matrices
Class Matrix
java.lang.Object
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. |
Matrix
public Matrix(int rows,
int cols)
- Constructs a matrix.
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 ©