Documentation of 'cern.colt.matrix.impl.AbstractMatrix' Java class
AbstractMatrix
cern.colt.matrix.impl

Class AbstractMatrix

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      void ensureCapacity(int minNonZeros)
      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()
      Returns the number of cells.
      void trimToSize()
      Releases any superfluous internal memory.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ensureCapacity

        public void ensureCapacity(int minNonZeros)
        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()
        Returns the number of cells.
      • trimToSize

        public void trimToSize()
        Releases any superfluous internal memory. An application can use this operation to minimize the storage of the receiver.

        This default implementation does nothing. Override this method if necessary.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.