Public Member Functions | Static Public Member Functions | Static Private Attributes

jscicalc.pobject.Cube Class Reference

Cube function. More...

Collaboration diagram for jscicalc.pobject.Cube:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cube ()
 Constructor.
double function (double x)
 Calculate the cube.
OObject function (OObject x)
 Calculate the cube.
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>3</sup>" }

Detailed Description

Cube function.

Author:
J. D. Lamb
Version:
Revision:
1.5

Constructor & Destructor Documentation

jscicalc.pobject.Cube.Cube (  ) 

Constructor.

Sets a tooltip and shortcut.

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

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


Member Function Documentation

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

Calculate the cube.

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

Implements jscicalc.pobject.LFunction.

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

Calculate the cube.

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

Implements jscicalc.pobject.LFunction.

References jscicalc.OObject.cube().

static void jscicalc.pobject.Cube.main ( String  args[]  )  [static]
String [] jscicalc.pobject.Cube.name_array (  )  [virtual]

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

Returns:
an array

Implements jscicalc.pobject.PObject.

References jscicalc.pobject.Cube.fname.

String jscicalc.pobject.Cube.shortName (  ) 

The short version of the name.

Used for the key.

Returns:
short version of name.

Reimplemented from jscicalc.pobject.PObject.


Member Data Documentation

final String [] jscicalc.pobject.Cube.fname = { "<sup>3</sup>" } [static, private]

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