0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / Expr / Expr_Exponentiate.cdl
CommitLineData
b311480e 1-- Created on: 1991-01-14
2-- Created by: Arnaud BOUZY
3-- Copyright (c) 1991-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class Exponentiate from Expr
18
19inherits BinaryExpression from Expr
20
21uses GeneralExpression from Expr,
22 AsciiString from TCollection,
23 Array1OfNamedUnknown from Expr,
24 Array1OfReal from TColStd,
25 NamedUnknown from Expr
26
27raises NumericError from Standard,
28 NotEvaluable from Expr
29
30is
31
32 Create(exp1,exp2 : GeneralExpression)
33 ---Purpose: Creates the exponential <exp1> ^ <exp2>
6e33d3ce 34 returns Exponentiate;
7fd59977 35
36 ShallowSimplified(me)
37 ---Purpose: Returns a GeneralExpression after a simplification
38 -- of the arguments of <me>.
39 returns any GeneralExpression
40 raises NumericError;
41
42 Copy(me)
43 ---Purpose: Returns a copy of <me> having the same unknowns and functions.
6e33d3ce 44 returns like me;
7fd59977 45
46 IsIdentical(me; Other : GeneralExpression)
47 ---Purpose: Tests if <me> and <Other> define the same expression.
48 -- This method does not include any simplification before
49 -- testing.
50 returns Boolean;
51
52 IsLinear(me)
53 returns Boolean;
54
55 Derivative(me; X : NamedUnknown)
56 ---Purpose: Returns the derivative on <X> unknown of <me>.
57 returns any GeneralExpression;
58
59 Evaluate(me; vars : Array1OfNamedUnknown; vals : Array1OfReal)
60 ---Purpose: Returns the value of <me> (as a Real) by
61 -- replacement of <vars> by <vals>.
62 -- Raises NotEvaluable if <me> contains NamedUnknown not
63 -- in <vars> or NumericError if result cannot be computed.
64 returns Real
65 raises NotEvaluable,NumericError;
66
67 String(me)
68 ---Purpose: returns a string representing <me> in a readable way.
69 returns AsciiString;
70
71end Exponentiate;