Public Member Functions | Protected Attributes

jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject > Class Reference

This class represents a dyadic function of two OObjects, at least one of which is an expression. More...

Collaboration diagram for jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Dyadic (E function, OObject expression1, OObject expression2)
 Construct from DFunction and OObject objects.
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.
OObject auto_simplify ()
 Carry out automatic simplifications on the OObject.
jscicalc.OObject substitute (jscicalc.Substitution substitution)

Protected Attributes

function
 The Dfunction or BoolFunction.
OObject expression1
 The first subexpression.
OObject expression2
 The second subexpression.

Detailed Description

This class represents a dyadic function of two OObjects, at least one of which is an expression.

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

Constructor & Destructor Documentation

jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.Dyadic ( function,
OObject  expression1,
OObject  expression2 
)

Construct from DFunction and OObject objects.

Parameters:
function The function
expression1 The first expression
expression2 The second expression

Member Function Documentation

OObject jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.auto_simplify (  ) 

Carry out automatic simplifications on the OObject.

Returns:
A simplified OObject

Reimplemented from jscicalc.OObject.

References jscicalc.OObject.auto_simplify().

jscicalc.OObject jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.substitute ( jscicalc.Substitution  substitution  ) 
jscicalc.StringArray jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.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.

References jscicalc.OObject.add().


Member Data Documentation

OObject jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.expression1 [protected]

The first subexpression.

OObject jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.expression2 [protected]

The second subexpression.

E jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.function [protected]

The Dfunction or BoolFunction.


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