forked from nikolajk00/Rational_Reckoner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Generic_Polynomials.adb
64 lines (53 loc) · 1.27 KB
/
Generic_Polynomials.adb
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
package body Generic_Polynomials is
function Create return Polynomial is
result: Polynomial;
begin
--FIXME: add implementation
return result;
end Create;
function Create (source: Polynomial) return Polynomial is
result: Polynomial;
begin
return result;
end Create;
procedure Destroy(self: Polynomial) is
begin
null;
end Destroy;
procedure Print(self: Polynomial) is
begin
null;
end Print;
procedure Input(self: Polynomial) is
begin
null;
end Input;
function Minus(self: Polynomial) return Polynomial is
result: Polynomial;
begin
return result;
end Minus;
procedure Append(self, subject: Polynomial) is
begin
null;
end Append;
procedure Reduse(self, subject: Polynomial) is
begin
null;
end Reduse;
function Plus(self, subject: Polynomial) return Polynomial is
result: Polynomial;
begin
return result;
end Plus;
function Substract(self, subject: Polynomial) return Polynomial is
result: Polynomial;
begin
return result;
end Substract;
function Multiply(self, subject: Polynomial) return Polynomial is
result: Polynomial;
begin
return result;
end Multiply;
end Generic_Polynomials;