cern.colt.matrix.io
Class VectorSize
- java.lang.Object
-
- cern.colt.matrix.io.VectorSize
-
public class VectorSize extends java.lang.ObjectContains 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 intnumEntries()Returns the number of entries in the vectorintsize()Returns the size of the vector
-
-
-
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 matrixnumEntries- Number of entries stored
-
-
DMelt 3.0 © DataMelt by jWork.ORG