public class AstEq extends AstBinOp
Constructor and Description |
---|
AstEq() |
Modifier and Type | Method and Description |
---|---|
boolean |
categoricalOK()
Does it make sense to run this operation on a categorical variable ?
|
ValFrame |
frame_op_scalar(Frame fr,
double d)
Auto-widen the scalar to every element of the frame
|
double |
op(double l,
double r)
Override to express a basic math primitive
|
double |
str_op(BufferedString l,
BufferedString r) |
java.lang.String |
str()
String representation of this Ast object in the Rapids language.
|
apply, args, nargs, prim_apply
description, example, exec
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public java.lang.String str()
AstRoot
AstPrimitive
s this is the name of the function; for
AstParameter
s this is either the name of the variable, or the
value of the numeric constant that the parameter represents. For more
complicated constructs such as AstExec
or AstFunction
this method should return those objects as a Rapids string.public double op(double l, double r)
AstBinOp
public ValFrame frame_op_scalar(Frame fr, double d)
AstBinOp
frame_op_scalar
in class AstBinOp
public boolean categoricalOK()
AstBinOp
categoricalOK
in class AstBinOp
public double str_op(BufferedString l, BufferedString r)