| Description | Hierarchy | Fields | Methods | Properties |
type TMathematicalFunction = class(TTenaciousObject)
Abstract base class for mathematical functions (returning a scalar value). Descendant classes must implement all virtual (and abstract) methods introduced in this class. See TPolynomial for a concrete descendant of TMathematicalFunction.
![]() |
constructor Create; override; |
![]() |
constructor CreateAndSet(MathematicalFunction: TMathematicalFunction); virtual; |
![]() |
destructor Destroy; override; |
![]() |
function Evaluate(Variables: TVector): real; virtual; abstract; |
![]() |
procedure LoadFromDefinition(ObjDef: TObjectDefinition); virtual; |
![]() |
constructor Create; override; |
Constructor.
![]() |
constructor CreateAndSet(MathematicalFunction: TMathematicalFunction); virtual; |
Copy constructor.
![]() |
destructor Destroy; override; |
Destructor.
![]() |
function Evaluate(Variables: TVector): real; virtual; abstract; |
Abstract function that should return the value of the function (a scalar). Evaluate needs to be implemented in all descendant classes.
![]() |
procedure LoadFromDefinition(ObjDef: TObjectDefinition); virtual; |
Procedure for processing the definition of a mathematical function (as parsed from a definition text file).