public class MathFunctions extends 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 pow| Constructor and Description |
|---|
MathFunctions() |
| Modifier and Type | Method and Description |
|---|---|
Macro |
getMacro(String name)
Tries to fetch the macro
|
boolean |
hasMacro(String name)
Whether the macro is declared
|
public boolean hasMacro(String name)
hasMacro in interface MacroDeclarationsname - of the macropublic Macro getMacro(String name)
MacroDeclarations applies here too.getMacro in interface MacroDeclarationsname - name of the macroCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.