public class AstMax extends AstRollupOp
Constructor and Description |
---|
AstMax() |
Modifier and Type | Method and Description |
---|---|
double |
op(double l,
double r)
Override to express a basic math primitive
|
double |
rup(Vec vec) |
java.lang.String |
str()
String representation of this Ast object in the Rapids language.
|
apply, args
nargs
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)
AstReducerOp
op
in class AstReducerOp
public double rup(Vec vec)
rup
in class AstRollupOp