org.apache.mahout.math.matrix.impl
Class AbstractMatrix
java.lang.Object
org.apache.mahout.math.matrix.impl.AbstractMatrix
- Direct Known Subclasses:
- AbstractMatrix1D, AbstractMatrix2D
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
@Deprecated
public abstract class AbstractMatrix
- extends Object
Field Summary |
protected boolean |
isNoView
Deprecated. |
Constructor Summary |
protected |
AbstractMatrix()
Deprecated. Makes this class non instantiable, but still let's others inherit from it. |
Method Summary |
void |
ensureCapacity(int minNonZeros)
Deprecated. Ensures that the receiver can hold at least the specified number of non-zero (non-null) cells without needing to
allocate new internal memory. |
abstract int |
size()
Deprecated. Returns the number of cells. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isNoView
protected boolean isNoView
- Deprecated.
AbstractMatrix
protected AbstractMatrix()
- Deprecated.
- Makes this class non instantiable, but still let's others inherit from it.
ensureCapacity
public void ensureCapacity(int minNonZeros)
- Deprecated.
- Ensures that the receiver can hold at least the specified number of non-zero (non-null) cells without needing to
allocate new internal memory. If necessary, allocates new internal memory and increases the capacity of the
receiver.
This default implementation does nothing. Override this method if necessary.
- Parameters:
minNonZeros
- the desired minimum number of non-zero (non-null) cells.
size
public abstract int size()
- Deprecated.
- Returns the number of cells.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.