public static final class Storage.SparseRowMatrix extends water.Iced implements Storage.Matrix
Modifier and Type | Method and Description |
---|---|
void |
add(int row,
int col,
float val) |
int |
cols() |
float |
get(int row,
int col) |
float[] |
raw() |
int |
rows() |
void |
set(int row,
int col,
float val) |
long |
size() |
water.fvec.Frame |
toFrame(water.Key key) |
public float get(int row, int col)
get
in interface Storage.Matrix
public void add(int row, int col, float val)
add
in interface Storage.Matrix
public void set(int row, int col, float val)
set
in interface Storage.Matrix
public int cols()
cols
in interface Storage.Matrix
public int rows()
rows
in interface Storage.Matrix
public long size()
size
in interface Storage.Matrix
public float[] raw()
raw
in interface Storage.Matrix
public water.fvec.Frame toFrame(water.Key key)
toFrame
in interface Storage.Matrix