Subtraction. More...

Public Member Functions | |
| Subtract () | |
| Constructor. | |
| double | function (double x, double y) |
| This function subtracts y from x. | |
| double | function (double x) |
| This changes the sign of x (unary minus). | |
| OObject | function (OObject x, OObject y) |
| This function subtracts y from x. | |
| OObject | function (OObject x) |
| This changes the sign of x (unary minus). | |
| 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 = { "−" } |
Subtraction.
| jscicalc.pobject.Subtract.Subtract | ( | ) |
Constructor.
Sets a tooltip and shortcut.
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
Referenced by jscicalc.pobject.Subtract.main().
| double jscicalc.pobject.Subtract.function | ( | double | x, | |
| double | y | |||
| ) | [virtual] |
This function subtracts y from x.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.AFunction.
| double jscicalc.pobject.Subtract.function | ( | double | x | ) | [virtual] |
This changes the sign of x (unary minus).
| x | The value (right of symbol) |
Implements jscicalc.pobject.AFunction.
This changes the sign of x (unary minus).
| x | The value (right of symbol) |
Implements jscicalc.pobject.AFunction.
References jscicalc.OObject.negate().
This function subtracts y from x.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.AFunction.
References jscicalc.OObject.subtract().
| static void jscicalc.pobject.Subtract.main | ( | String | args[] | ) | [static] |
References jscicalc.pobject.PObject.name(), and jscicalc.pobject.Subtract.Subtract().
| String [] jscicalc.pobject.Subtract.name_array | ( | ) | [virtual] |
Array used to construct name() and shortName() String objects.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.Subtract.fname.
final String [] jscicalc.pobject.Subtract.fname = { "−" } [static, private] |
Referenced by jscicalc.pobject.Subtract.name_array().
1.7.1