water.exec
Class Helpers
java.lang.Object
water.exec.Helpers
public class Helpers
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Helpers
public Helpers()
checkedColumnIndex
public static int checkedColumnIndex(ValueArray ary,
Expr.Result from)
calculateSigma
public static void calculateSigma(Key key,
int col)
- Calculates the second pass of column metadata for the given key.
Assumes that the min, max and mean are already calculated. gets the sigma
- Parameters:
key
-
assign
public static void assign(int pos,
Key to,
Expr.Result what)
throws EvaluationException
- Assigns (copies) the what argument to the given key.
TODO at the moment, only does deep copy.
- Parameters:
to
- what
-
- Throws:
EvaluationException
createVector
public void createVector(Key name,
java.lang.String colName,
double[] items)
- Creates a simple vector using the given values only.
- Parameters:
name
- items
-