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