Documentation of 'cern.colt.matrix.io.VectorSize' Java class
VectorSize
cern.colt.matrix.io

Class VectorSize



  • public class VectorSize
    extends java.lang.Object
    Contains the size of a vector stored in a variant of the Matrix Market exchange format
    • Constructor Summary

      Constructors 
      Constructor and Description
      VectorSize(int size)
      Constructor for VectorSize.
      VectorSize(int size, int numEntries)
      Constructor for VectorSize
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int numEntries()
      Returns the number of entries in the vector
      int size()
      Returns the size of the vector
      • Methods inherited from class java.lang.Object

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

      • VectorSize

        public VectorSize(int size)
        Constructor for VectorSize. Assumes dense format
        Parameters:
        size - Size of the matrix
      • VectorSize

        public VectorSize(int size,
                          int numEntries)
        Constructor for VectorSize
        Parameters:
        size - Size of the matrix
        numEntries - Number of entries stored
    • Method Detail

      • size

        public int size()
        Returns the size of the vector
      • numEntries

        public int numEntries()
        Returns the number of entries in the vector

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.