jscicalc.pobject.CubeRoot Class Reference

This class represents the cube root operation. More...

Inheritance diagram for jscicalc.pobject.CubeRoot:

jscicalc.pobject.RFunction jscicalc.pobject.SFunction jscicalc.pobject.PObject jscicalc.GObject
Collaboration diagram for jscicalc.pobject.CubeRoot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CubeRoot ()
 Constructor.
double function (double x)
 The cube root function.
OObject function (OObject x)
 The cube root function.
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 = { "³", "√" }


Detailed Description

This class represents the cube root operation.

Author:
J. D. Lamb
Version:
Revision
1.5

Constructor & Destructor Documentation

jscicalc.pobject.CubeRoot.CubeRoot (  ) 

Constructor.

Sets a tooltip and shortcut.

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

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


Member Function Documentation

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

The cube root function.

Parameters:
x A number
Returns:
The (real) cube root.

Implements jscicalc.pobject.RFunction.

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

The cube root function.

Parameters:
x A number
Returns:
The (real) cube root.

Implements jscicalc.pobject.RFunction.

References jscicalc.OObject.cuberoot().

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

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

Returns:
an array

Implements jscicalc.pobject.PObject.

References jscicalc.pobject.CubeRoot.fname.

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


Member Data Documentation

final String [] jscicalc.pobject.CubeRoot.fname = { "³", "√" } [static, private]


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

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