jscicalc.expression.Monadic Class Reference

This class represents a monadic function of an expression. More...

Inheritance diagram for jscicalc.expression.Monadic:

jscicalc.expression.Expression jscicalc.OObject jscicalc.GObject jscicalc.expression.ACos jscicalc.expression.ASin jscicalc.expression.ATan jscicalc.expression.Conjugate jscicalc.expression.Cos jscicalc.expression.Exp jscicalc.expression.Factorial jscicalc.expression.Ln jscicalc.expression.Log jscicalc.expression.Sin jscicalc.expression.Tan
Collaboration diagram for jscicalc.expression.Monadic:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Monadic (jscicalc.pobject.SFunction function, Expression expression)
 Construct from SFunction and Expression.
Product negate ()
 Return the negative of this.
jscicalc.StringArray toHTMLSubString (int maxChars, int precision, final Base base, final Notation notation, double polarFactor)
 Function to create an HTML string representation of the function.
jscicalc.OObject auto_simplify ()
 Carry out automatic simplifications on the OObject.
jscicalc.OObject substitute (jscicalc.Substitution substitution)

Protected Attributes

final jscicalc.pobject.SFunction function
 The Sfunction.
Expression expression
 The subexpression.


Detailed Description

This class represents a monadic function of an expression.

See also:
OObject
Author:
J. D. Lamb
Version:
Revision
1.4

Constructor & Destructor Documentation

jscicalc.expression.Monadic.Monadic ( jscicalc.pobject.SFunction  function,
Expression  expression 
)

Construct from SFunction and Expression.

Parameters:
function The function
expression The OObject

References jscicalc.expression.Monadic.function.


Member Function Documentation

Product jscicalc.expression.Monadic.negate (  )  [virtual]

Return the negative of this.

Returns:
The negative of this

Implements jscicalc.expression.Expression.

References jscicalc.expression.Product.negate().

jscicalc.StringArray jscicalc.expression.Monadic.toHTMLSubString ( int  maxChars,
int  precision,
final Base  base,
final Notation  notation,
double  polarFactor 
)

Function to create an HTML string representation of the function.

The arguments are ignored except for Complex values.

Parameters:
maxChars ignored
precision ignored
base ignored
notation ignored
polarFactor ignored
Returns:
a String representing the variable.

Reimplemented in jscicalc.expression.Factorial.

References jscicalc.expression.Monadic.expression, jscicalc.expression.Monadic.function, and jscicalc.OObject.toHTMLParenString().

jscicalc.OObject jscicalc.expression.Monadic.auto_simplify (  ) 

Carry out automatic simplifications on the OObject.

Returns:
A simplified OObject

Reimplemented from jscicalc.OObject.

References jscicalc.OObject.auto_simplify(), jscicalc.expression.Monadic.expression, and jscicalc.expression.Monadic.function.

jscicalc.OObject jscicalc.expression.Monadic.substitute ( jscicalc.Substitution  substitution  ) 


Member Data Documentation


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

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