7fd59977 |
1 | -- File: ArgSinh.cdl |
2 | -- Created: Mon Jan 14 16:16:44 1991 |
3 | -- Author: Arnaud BOUZY |
4 | -- <adn@topsn3> |
5 | ---Copyright: Matra Datavision 1991 |
6 | |
7 | class ArgSinh from Expr |
8 | |
9 | inherits UnaryExpression from Expr |
10 | |
11 | uses GeneralExpression from Expr, |
12 | Array1OfNamedUnknown from Expr, |
13 | Array1OfReal from TColStd, |
14 | AsciiString from TCollection, |
15 | NamedUnknown from Expr |
16 | |
17 | raises NumericError from Standard, |
18 | NotEvaluable from Expr |
19 | |
20 | is |
21 | |
22 | Create(exp : GeneralExpression) |
23 | ---Purpose: Creates the ArgSinh of <exp>. |
24 | returns mutable ArgSinh; |
25 | |
26 | ShallowSimplified(me) |
27 | ---Purpose: Returns a GeneralExpression after a simplification |
28 | -- of the arguments of <me>. |
29 | returns any GeneralExpression |
30 | raises NumericError; |
31 | |
32 | Copy(me) |
33 | ---Purpose: Returns a copy of <me> having the same unknowns and functions. |
34 | returns mutable like me; |
35 | |
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 |
39 | -- testing. |
40 | returns Boolean; |
41 | |
42 | IsLinear(me) |
43 | returns Boolean; |
44 | |
45 | Derivative(me; X : NamedUnknown) |
46 | ---Purpose: Returns the derivative on <X> unknown of <me>. |
47 | returns any GeneralExpression; |
48 | |
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. |
54 | returns Real |
55 | raises NotEvaluable; |
56 | |
57 | String(me) |
58 | ---Purpose: returns a string representing <me> in a readable way. |
59 | returns AsciiString; |
60 | |
61 | end ArgSinh; |