User`s guide

Using Class Methods
S(rowIndex(k), colIndex(k)) = data(k)
rows
and cols
Number o f rows and columns in the m atrix
nzmax
Maximum number of nonzero elements
Valid types for the
data parameter a re as follows:
double[]
float[]
long[]
int[]
short[]
byte[]
boolean[]
One-dimensional arrays of any subclass of java.lang.Number
One-dimensional arrays of java.lang.Boolean
One-dimensional arrays of java.lang.String
rowIndex and colIndex Parameters
Exceptions
The newSparse method throws the following exceptions:
NegativeArraySizeException
Row or column size is negative.
IndexOutOfBoundsException
4-97