jscicalc.pobject.SFunction Class Reference

A function such as Square acts the value on its left. More...

Inheritance diagram for jscicalc.pobject.SFunction:

jscicalc.pobject.PObject jscicalc.GObject jscicalc.pobject.LFunction jscicalc.pobject.RFunction jscicalc.pobject.Cube jscicalc.pobject.Factorial jscicalc.pobject.Inverse jscicalc.pobject.Square jscicalc.pobject.Conjugate jscicalc.pobject.CubeRoot jscicalc.pobject.Exp jscicalc.pobject.Ln jscicalc.pobject.Log jscicalc.pobject.SquareRoot jscicalc.pobject.TenX jscicalc.pobject.Trig jscicalc.pobject.Uminus jscicalc.pobject.Uplus
Collaboration diagram for jscicalc.pobject.SFunction:

Collaboration graph
[legend]

List of all members.

Public Member Functions

abstract double function (double x)
 This function carries out an operation like Square or SquareRoot with one argument.
abstract OObject function (OObject x)
 This function carries out an operation like Square or SquareRoot.


Detailed Description

A function such as Square acts the value on its left.

This class specifies what is needed for a SFunction and allows Parser to handle a SFunction without knowing the exact type.

See also:
Parser
Author:
J. D. Lamb
Version:
Revision
1.1

Member Function Documentation

abstract double jscicalc.pobject.SFunction.function ( double  x  )  [pure virtual]

abstract OObject jscicalc.pobject.SFunction.function ( OObject  x  )  [pure virtual]


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

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