public abstract class AbstractMatrix3D extends AbstractMatrix
int
, double
, etc.
First see the package summary and javadoc tree view to get the broad picture.
Note that this implementation is not synchronized.
serialVersionUID
Modifier and Type | Method and Description |
---|---|
void |
checkShape(AbstractMatrix3D B)
Sanity check for operations requiring two matrices with the same number of slices, rows and columns.
|
void |
checkShape(AbstractMatrix3D B,
AbstractMatrix3D C)
Sanity check for operations requiring matrices with the same number of slices, rows and columns.
|
int |
columns()
Returns the number of columns.
|
int |
rows()
Returns the number of rows.
|
int |
size()
Returns the number of cells which is slices()*rows()*columns().
|
int |
slices()
Returns the number of slices.
|
String |
toStringShort()
Returns a string representation of the receiver's shape.
|
ensureCapacity, trimToSize
clone
public void checkShape(AbstractMatrix3D B)
IllegalArgumentException
- if slices() != B.slices() || rows() != B.rows() || columns() != B.columns().public void checkShape(AbstractMatrix3D B, AbstractMatrix3D C)
IllegalArgumentException
- if slices() != B.slices() || rows() != B.rows() || columns() != B.columns() || slices() != C.slices() || rows() != C.rows() || columns() != C.columns().public int columns()
public int rows()
public int size()
size
in class AbstractMatrix
public int slices()
public String toStringShort()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics