mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:48:57 +08:00
131 lines
4.2 KiB
Plaintext
Executable File
131 lines
4.2 KiB
Plaintext
Executable File
-- Created on: 1991-01-14
|
|
-- Created by: Arnaud BOUZY
|
|
-- Copyright (c) 1991-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
package Expr
|
|
|
|
---Purpose: This package describes the data structure of any
|
|
-- expression, relation or function used in mathematics.
|
|
-- It also describes the assignment of variables. Standard
|
|
-- mathematical functions are implemented such as
|
|
-- trigonometrics, hyperbolics, and log functions.
|
|
|
|
|
|
uses TColStd,TCollection,MMgt,Standard
|
|
|
|
is
|
|
|
|
deferred class GeneralExpression;
|
|
class NumericValue;
|
|
deferred class NamedExpression;
|
|
class NamedConstant;
|
|
class NamedUnknown;
|
|
deferred class UnaryExpression;
|
|
class Absolute;
|
|
class ArcCosine;
|
|
class ArcSine;
|
|
class ArcTangent;
|
|
class ArgCosh;
|
|
class ArgSinh;
|
|
class ArgTanh;
|
|
class Cosh;
|
|
class Cosine;
|
|
class Exponential;
|
|
class LogOf10;
|
|
class LogOfe;
|
|
class Sign;
|
|
class Sine;
|
|
class Sinh;
|
|
class Square;
|
|
class SquareRoot;
|
|
class Tangent;
|
|
class Tanh;
|
|
class UnaryFunction;
|
|
class UnaryMinus;
|
|
deferred class BinaryExpression;
|
|
class BinaryFunction;
|
|
class Difference;
|
|
class Division;
|
|
class Exponentiate;
|
|
deferred class PolyExpression;
|
|
class PolyFunction;
|
|
class Product;
|
|
class Sum;
|
|
class UnknownIterator;
|
|
deferred class GeneralRelation;
|
|
deferred class SingleRelation;
|
|
class Different;
|
|
class Equal;
|
|
class GreaterThan;
|
|
class GreaterThanOrEqual;
|
|
class LessThan;
|
|
class LessThanOrEqual;
|
|
class SystemRelation;
|
|
class RelationIterator;
|
|
class RUIterator;
|
|
deferred class GeneralFunction;
|
|
class NamedFunction;
|
|
class FunctionDerivative;
|
|
|
|
exception ExprFailure inherits Failure;
|
|
exception NotAssigned inherits ExprFailure ;
|
|
exception InvalidAssignment inherits ExprFailure;
|
|
exception InvalidFunction inherits ExprFailure;
|
|
exception InvalidOperand inherits ExprFailure;
|
|
exception NotEvaluable inherits ExprFailure;
|
|
|
|
class SequenceOfGeneralExpression instantiates
|
|
Sequence from TCollection(GeneralExpression);
|
|
|
|
class Array1OfGeneralExpression instantiates
|
|
Array1 from TCollection(GeneralExpression);
|
|
|
|
class Array1OfNamedUnknown instantiates
|
|
Array1 from TCollection(NamedUnknown);
|
|
|
|
class MapOfNamedUnknown instantiates
|
|
IndexedMap from TCollection(NamedUnknown,
|
|
MapTransientHasher from TColStd);
|
|
|
|
class Array1OfSingleRelation instantiates
|
|
Array1 from TCollection(SingleRelation);
|
|
|
|
class SequenceOfGeneralRelation instantiates
|
|
Sequence from TCollection(GeneralRelation);
|
|
|
|
CopyShare(exp : GeneralExpression)
|
|
---Level : Internal
|
|
returns GeneralExpression;
|
|
|
|
NbOfFreeVariables(exp : GeneralExpression from Expr)
|
|
---Level : Internal
|
|
returns Integer;
|
|
|
|
NbOfFreeVariables(exp : GeneralRelation from Expr)
|
|
---Level : Internal
|
|
returns Integer;
|
|
|
|
Sign(val : Real from Standard)
|
|
---Level : Internal
|
|
returns Real from Standard;
|
|
|
|
end Expr;
|
|
|