Public Member Functions | |
Factorial () | |
Constructor. | |
double | function (double x) |
Calulate factorial of x. | |
OObject | function (OObject x) |
Calulate factorial of x. | |
String[] | name_array () |
Array used to construct name() and shortName() String objects. | |
String | shortName () |
The short version of the name. | |
Static Public Member Functions | |
static void | main (String args[]) |
Static Private Attributes | |
static final String[] | fname = { "!" } |
Factorial operation.
jscicalc.pobject.Factorial.Factorial | ( | ) |
Constructor.
Sets a tooltip and shortcut.
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
Referenced by jscicalc.pobject.Factorial.main().
double jscicalc.pobject.Factorial.function | ( | double | x | ) | [virtual] |
Calulate factorial of x.
x | The value (left of symbol) |
Implements jscicalc.pobject.LFunction.
Calulate factorial of x.
x | The value (left of symbol) |
Implements jscicalc.pobject.LFunction.
References jscicalc.OObject.factorial().
static void jscicalc.pobject.Factorial.main | ( | String | args[] | ) | [static] |
References jscicalc.pobject.Factorial.Factorial(), and jscicalc.pobject.PObject.name().
String [] jscicalc.pobject.Factorial.name_array | ( | ) | [virtual] |
Array used to construct name() and shortName() String objects.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.Factorial.fname.
String jscicalc.pobject.Factorial.shortName | ( | ) |
The short version of the name.
Used for the key.
Reimplemented from jscicalc.pobject.PObject.
final String [] jscicalc.pobject.Factorial.fname = { "!" } [static, private] |
Referenced by jscicalc.pobject.Factorial.name_array().