2 -- Created: Mon Jan 14 16:18:06 1991
3 -- Author: Arnaud BOUZY
5 ---Copyright: Matra Datavision 1991
9 inherits UnaryExpression from Expr
11 uses GeneralExpression from Expr,
12 AsciiString from TCollection,
13 Array1OfNamedUnknown from Expr,
14 Array1OfReal from TColStd,
15 NamedUnknown from Expr
17 raises NumericError from Standard,
18 NotEvaluable from Expr
22 Create(exp : GeneralExpression)
23 ---Purpose: Creates the sine of <exp>.
27 ---Purpose: Returns a GeneralExpression after a simplification
28 -- of the arguments of <me>.
29 returns any GeneralExpression
33 ---Purpose: Returns a copy of <me> having the same unknowns and functions.
34 returns mutable like me;
36 IsIdentical(me; Other : GeneralExpression)
37 ---Purpose: Tests if <me> and <Other> define the same expression.
38 -- This method does not include any simplification before
45 Derivative(me; X : NamedUnknown)
46 ---Purpose: Returns the derivative on <X> unknown of <me>
47 returns any GeneralExpression;
49 Evaluate(me; vars : Array1OfNamedUnknown; vals : Array1OfReal)
50 ---Purpose: Returns the value of <me> (as a Real) by
51 -- replacement of <vars> by <vals>.
52 -- Raises NotEvaluable if <me> contains NamedUnknown not
53 -- in <vars> or NumericError if result cannot be computed.
55 raises NotEvaluable,NumericError;
58 ---Purpose: returns a string representing <me> in a readable way.