public class QUANTIZE extends ElementOrListStackFunction
QUANTIZE expects the following parameters on the stack:
2: bounds a list of N bounds defining N + 1 intervals for quantification 1: values a list of N+1 values or an empty list
ElementOrListStackFunction.ElementStackFunction| Constructor and Description |
|---|
QUANTIZE(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
ElementOrListStackFunction.ElementStackFunction |
generateFunction(WarpScriptStack stack)
Generates the function to be applied on the element(s) using the parameters on the stack.
|
applygetName, refSnapshot, setName, toStringpublic ElementOrListStackFunction.ElementStackFunction generateFunction(WarpScriptStack stack) throws WarpScriptException
ElementOrListStackFunctiongenerateFunction in class ElementOrListStackFunctionstack - The stack to be used for parameters retrieval.WarpScriptException