public class MathFunctions extends java.lang.Object implements MacroDeclarations
java.lang.Math.abs(double)
as absjava.lang.Math.sqrt(double)
as sqrtjava.lang.Math.log(double)
as logjava.lang.Math.exp(double)
as expjava.lang.Math.sin(double)
as sinjava.lang.Math.cos(double)
as cosjava.lang.Math.tan(double)
as tanjava.lang.Math.rint(double)
as rintjava.lang.Math.floor(double)
as floorjava.lang.Math.ceil(double)
as ceiljava.lang.Math.pow(double)
as powConstructor and Description |
---|
MathFunctions() |
Modifier and Type | Method and Description |
---|---|
Macro |
getMacro(java.lang.String name)
Tries to fetch the macro
|
boolean |
hasMacro(java.lang.String name)
Whether the macro is declared
|
public boolean hasMacro(java.lang.String name)
hasMacro
in interface MacroDeclarations
name
- of the macropublic Macro getMacro(java.lang.String name)
MacroDeclarations
applies here too.getMacro
in interface MacroDeclarations
name
- name of the macro