public abstract class AstBinOp extends AstPrimitive
| Constructor and Description |
|---|
AstBinOp() |
| Modifier and Type | Method and Description |
|---|---|
Val |
apply(Env env,
Env.StackHelp stk,
AstRoot[] asts) |
java.lang.String[] |
args() |
boolean |
categoricalOK() |
ValFrame |
frame_op_scalar(Frame fr,
double d)
Auto-widen the scalar to every element of the frame
|
int |
nargs() |
abstract double |
op(double l,
double r)
Override to express a basic math primitive
|
Val |
prim_apply(Val left,
Val rite) |
double |
str_op(BufferedString l,
BufferedString r) |
description, example, execcolumns, newAstFrame, newAstStr, str, toStringasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic java.lang.String[] args()
args in class AstPrimitivepublic Val apply(Env env, Env.StackHelp stk, AstRoot[] asts)
public abstract double op(double l,
double r)
public double str_op(BufferedString l, BufferedString r)
public ValFrame frame_op_scalar(Frame fr, double d)
public boolean categoricalOK()