Package de.gsi.math.matrix
Interface Matrix
-
- All Superinterfaces:
java.lang.Cloneable,java.io.Serializable
- All Known Implementing Classes:
AbstractMatrix,MatrixD
public interface Matrix extends java.lang.Cloneable, java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckMatrixDimensions(Matrix B)Matrixcopy()doubleget(int i, int j)intgetColumnDimension()Get column dimension.intgetRowDimension()Get row dimensionvoidset(int i, int j, double val)
-
-
-
Method Detail
-
checkMatrixDimensions
void checkMatrixDimensions(Matrix B)
-
copy
Matrix copy()
- Returns:
- copy of matrix
-
get
double get(int i, int j)- Parameters:
i- row indexj- column index- Returns:
- value of matrix element
-
getColumnDimension
int getColumnDimension()
Get column dimension.- Returns:
- n, the number of columns.
-
getRowDimension
int getRowDimension()
Get row dimension- Returns:
- m, the number of rows.
-
set
void set(int i, int j, double val)- Parameters:
i- row indexj- column indexval- new value
-
-