

Public Member Functions | |
| Combination () | |
| Constructor. | |
| double | function (double x, double y) |
| Calculates the number of unordered ways to choose y objects from x. | |
| OObject | function (OObject x, OObject y) |
| Calculates the number of unordered ways to choose y objects from 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 = { "<b>C</b>" } |
| jscicalc.pobject.Combination.Combination | ( | ) |
Constructor.
Sets a tooltip and shortcut.
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
Referenced by jscicalc.pobject.Combination.main().
| double jscicalc.pobject.Combination.function | ( | double | x, | |
| double | y | |||
| ) | [virtual] |
Calculates the number of unordered ways to choose y objects from x.
Produces an error if this doesn’t make sense.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.DFunction.
Referenced by jscicalc.pobject.Combination.main().
Calculates the number of unordered ways to choose y objects from x.
Produces an error if this doesn’t make sense.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.DFunction.
References jscicalc.OObject.combination().
| String [] jscicalc.pobject.Combination.name_array | ( | ) | [virtual] |
Array used to construct name() and shortName() String objects.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.Combination.fname.
| String jscicalc.pobject.Combination.shortName | ( | ) |
The short version of the name.
Used for the key.
Reimplemented from jscicalc.pobject.PObject.
| static void jscicalc.pobject.Combination.main | ( | String | args[] | ) | [static] |
final String [] jscicalc.pobject.Combination.fname = { "<b>C</b>" } [static, private] |
Referenced by jscicalc.pobject.Combination.name_array().
1.5.5