Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## no.uib.cipr.matrix.io
Class VectorSize

    java.lang.Object
      no.uib.cipr.matrix.io.VectorSize

    public class VectorSize

extends java.lang.Object

Contains the size of a vectir stored in a variant of the Matrix Market exchange format

Constructor Summary
`VectorSize(int size)` Constructor for VectorSize.
`VectorSize(int size, int numEntries)` Constructor for VectorSize

Method Summary
`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
`clone, equals, finalize, 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD