public class FormulaUtil
extends java.lang.Object
| Constructor and Description |
|---|
FormulaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Data |
brackets(Field f,
Real r)
evaluate the bracket function; e.g., A1[5] or A1[A2]
|
static FormulaManager |
createStandardManager()
create a FormulaManager object with many commonly desired features
|
static Data |
derive(Function f,
VRealType rt)
evaluate the derive function
|
static Data |
dot(TupleIface t,
Real r)
evaluate the dot operator
|
static Data |
extract(Field f,
Real r)
evaluate the extract function
|
static Field |
factor(FieldImpl f,
VRealType rt)
evaluate the domainFactor function
|
static Data |
implicit(Function f,
Real r)
evaluate implicit function syntax; e.g., A1(5) or A1(A2)
|
static java.lang.Object |
invokeMethod(java.lang.reflect.Method m,
java.lang.Object[] o)
attempt to invoke a Method with the given Object arguments, performing
static method auto-detection and automatic array compression
|
static Data |
link(VMethod m,
java.lang.Object[] o)
evaluate the link function
|
static java.lang.String |
preParse(java.lang.String f,
FormulaManager fm)
do some pre-computation parsing to a formula
|
static java.lang.reflect.Method[] |
stringsToMethods(java.lang.String[] strings)
convert an array of strings of the form
"package.Class.method(Class, Class, ...)
|
public static FormulaManager createStandardManager()
public static Data dot(TupleIface t, Real r)
public static Data link(VMethod m, java.lang.Object[] o) throws VisADException
VisADExceptionpublic static Data implicit(Function f, Real r)
public static Data brackets(Field f, Real r)
public static java.lang.String preParse(java.lang.String f,
FormulaManager fm)
public static java.lang.reflect.Method[] stringsToMethods(java.lang.String[] strings)
public static java.lang.Object invokeMethod(java.lang.reflect.Method m,
java.lang.Object[] o)
throws java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessExceptionjava.lang.IllegalArgumentExceptionjava.lang.reflect.InvocationTargetException