AbstractMatrix1D
cern.colt.matrix

Class AbstractMatrix1D

    • Method Detail

      • index

        public long index(int rank)
        Returns the position of the element with the given relative rank within the (virtual or non-virtual) internal 1-dimensional array. You may want to override this method for performance.
        Parameters:
        rank - the rank of the element.
      • size

        public long size()
        Returns the number of cells.
        Specified by:
        size in class AbstractMatrix
      • stride

        public int stride()
        Returns the stride.
      • toStringShort

        public String toStringShort()
        Returns a string representation of the receiver's shape.

SCaVis 1.8 © jWork.org