public class ValRow extends Val
Constructor and Description |
---|
ValRow(double[] ds,
java.lang.String[] names) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getNames() |
double[] |
getNums() |
double[] |
getRow() |
boolean |
isRow() |
ValRow |
slice(int[] cols)
Creates a new ValRow by selecting elements at the specified indices.
|
java.lang.String |
toString() |
int |
type() |
getFrame, getFun, getModel, getNum, getStr, getStrs, isFrame, isFun, isModel, isNum, isNums, isStr, isStrs
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String[] getNames()
public ValRow slice(int[] cols)
cols
- array of indices to select. We do not check for AIOOB errors.