Cosine operation. More...

Public Member Functions | |
| Cos (AngleType angleType) | |
| Constructor. | |
| double | function (double x) |
| Cosine of x. | |
| OObject | function (OObject x) |
| Cosine of x. | |
| 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 = { "c", "o", "s", " " } |
Cosine operation.
| jscicalc.pobject.Cos.Cos | ( | AngleType | angleType | ) |
Constructor.
Sets a tooltip and shortcut.
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
Referenced by jscicalc.pobject.Cos.main().
| double jscicalc.pobject.Cos.function | ( | double | x | ) | [virtual] |
Cosine of x.
| x | The value (right of symbol) |
Implements jscicalc.pobject.RFunction.
References jscicalc.pobject.Trig.scale.
Cosine of x.
| x | The value (right of symbol) |
Implements jscicalc.pobject.RFunction.
References jscicalc.pobject.Trig.angleType, jscicalc.OObject.cos(), jscicalc.complex.Complex.cos(), jscicalc.complex.Complex.imaginary(), jscicalc.complex.Complex.scale(), and jscicalc.pobject.Trig.scale.
| static void jscicalc.pobject.Cos.main | ( | String | args[] | ) | [static] |
References jscicalc.pobject.Cos.Cos(), and jscicalc.pobject.PObject.name().
| String [] jscicalc.pobject.Cos.name_array | ( | ) | [virtual] |
Array used to construct name() and shortName() String objects.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.Cos.fname.
final String [] jscicalc.pobject.Cos.fname = { "c", "o", "s", " " } [static, private] |
Referenced by jscicalc.pobject.Cos.name_array().
1.7.1