cern.colt.matrix.impl
public abstract class AbstractMatrix1D 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 |
checkSize(AbstractMatrix1D B)
Sanity check for operations requiring two matrices with the same size.
|
int |
size()
Returns the number of cells.
|
java.lang.String |
toStringShort()
Returns a string representation of the receiver's shape.
|
ensureCapacity, trimToSize
clone
public void checkSize(AbstractMatrix1D B)
java.lang.IllegalArgumentException
- if size() != B.size().public int size()
size
in class AbstractMatrix
public java.lang.String toStringShort()
Jump to the Colt Homepage