jscicalc.pobject.Inverse Class Reference

Inverse operation. More...

Inheritance diagram for jscicalc.pobject.Inverse:

jscicalc.pobject.LFunction jscicalc.pobject.SFunction jscicalc.pobject.PObject jscicalc.GObject
Collaboration diagram for jscicalc.pobject.Inverse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Inverse ()
 Constructor.
double function (double x)
 Calculate inverse of x.
OObject function (OObject x)
 Calculate inverse of x.
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>&#8722;</sup>", "<sup>1</sup>" }


Detailed Description

Inverse operation.

Author:
J. D. Lamb
Version:
Revision
1.7

Constructor & Destructor Documentation

jscicalc.pobject.Inverse.Inverse (  ) 

Constructor.

Sets a tooltip and shortcut.

References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.

Referenced by jscicalc.pobject.Inverse.main().


Member Function Documentation

double jscicalc.pobject.Inverse.function ( double  x  )  [virtual]

Calculate inverse of x.

Parameters:
x The value (left of symbol)
Returns:
The result of the operation

Implements jscicalc.pobject.LFunction.

OObject jscicalc.pobject.Inverse.function ( OObject  x  )  [virtual]

Calculate inverse of x.

Parameters:
x The value (left of symbol)
Returns:
The result of the operation

Implements jscicalc.pobject.LFunction.

References jscicalc.OObject.inverse().

String jscicalc.pobject.Inverse.shortName (  ) 

The short version of the name.

Used for the key.

Returns:
short version of name.

Reimplemented from jscicalc.pobject.PObject.

String [] jscicalc.pobject.Inverse.name_array (  )  [virtual]

Array used to construct name() and shortName() String objects.

Returns:
an array

Implements jscicalc.pobject.PObject.

References jscicalc.pobject.Inverse.fname.

static void jscicalc.pobject.Inverse.main ( String  args[]  )  [static]


Member Data Documentation

final String [] jscicalc.pobject.Inverse.fname = { "<sup>&#8722;</sup>", "<sup>1</sup>" } [static, private]


The documentation for this class was generated from the following file:

Generated on Sun Jun 1 08:58:38 2008 for Java Scientific Calculator by  doxygen 1.5.5