blob: fd206415ac0219c91c607357b0bfb49b3ea22738 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
-- File: FunctionSetWithDerivatives.cdl
-- Created: Mon May 13 15:33:43 1991
-- Author: Laurent PAINNOT
-- <lpa@topsn3>
---Copyright: Matra Datavision 1991, 1992
deferred class FunctionSetWithDerivatives from math
inherits FunctionSet
---Purpose: This abstract class describes the virtual functions associated
-- with a set of N Functions each of M independant variables.
uses Vector from math, Matrix from math
is
NbVariables(me)
---Purpose: Returns the number of variables of the function.
returns Integer
is deferred;
NbEquations(me)
---Purpose: Returns the number of equations of the function.
returns Integer
is deferred;
Value(me: in out; X: Vector; F: out Vector)
---Purpose: Computes the values <F> of the Functions for the
-- variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean
is deferred;
Derivatives(me: in out; X: Vector; D: out Matrix)
---Purpose: Returns the values <D> of the derivatives for the
-- variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean
is deferred;
Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
---Purpose: returns the values <F> of the functions and the derivatives
-- <D> for the variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean
is deferred;
end FunctionSetWithDerivatives;
|