|
3 | 3 | #
|
4 | 4 | # Declarations
|
5 | 5 | #
|
6 |
| -# THIS FILE IS AUTOMATICALLY GENERATED, SEE CAP_project/CAP/gap/MethodRecord.gi |
| 6 | +# THIS FILE IS AUTOMATICALLY GENERATED, SEE CAP_project/CAP/gap/MethodRecordTools.gi |
7 | 7 |
|
8 | 8 | #! @Chapter operations for machine learning in CAP
|
9 | 9 |
|
10 | 10 | #! @Section Add-methods
|
11 | 11 |
|
| 12 | +#! @BeginGroup |
12 | 13 | #! @Description
|
13 | 14 | #! The arguments are a category $C$ and a function $F$.
|
14 | 15 | #! This operation adds the given function $F$
|
15 | 16 | #! to the category for the basic operation `MultiplicationForMorphisms`.
|
| 17 | +#! Optionally, a weight (default: 100) can be specified which should roughly correspond |
| 18 | +#! to the computational complexity of the function (lower weight = less complex = faster execution). |
16 | 19 | #! $F: ( alpha, beta ) \mapsto \mathtt{MultiplicationForMorphisms}(alpha, beta)$.
|
17 | 20 | #! @Returns nothing
|
18 | 21 | #! @Arguments C, F
|
19 | 22 | DeclareOperation( "AddMultiplicationForMorphisms",
|
20 | 23 | [ IsCapCategory, IsFunction ] );
|
21 | 24 |
|
| 25 | +#! @Arguments C, F, weight |
22 | 26 | DeclareOperation( "AddMultiplicationForMorphisms",
|
23 | 27 | [ IsCapCategory, IsFunction, IsInt ] );
|
| 28 | +#! @EndGroup |
24 | 29 |
|
25 |
| -DeclareOperation( "AddMultiplicationForMorphisms", |
26 |
| - [ IsCapCategory, IsList, IsInt ] ); |
27 |
| - |
28 |
| -DeclareOperation( "AddMultiplicationForMorphisms", |
29 |
| - [ IsCapCategory, IsList ] ); |
30 | 30 |
|
| 31 | +#! @BeginGroup |
31 | 32 | #! @Description
|
32 | 33 | #! The arguments are a category $C$ and a function $F$.
|
33 | 34 | #! This operation adds the given function $F$
|
34 | 35 | #! to the category for the basic operation `ReverseDifferential`.
|
| 36 | +#! Optionally, a weight (default: 100) can be specified which should roughly correspond |
| 37 | +#! to the computational complexity of the function (lower weight = less complex = faster execution). |
35 | 38 | #! $F: ( alpha ) \mapsto \mathtt{ReverseDifferential}(alpha)$.
|
36 | 39 | #! @Returns nothing
|
37 | 40 | #! @Arguments C, F
|
38 | 41 | DeclareOperation( "AddReverseDifferential",
|
39 | 42 | [ IsCapCategory, IsFunction ] );
|
40 | 43 |
|
| 44 | +#! @Arguments C, F, weight |
41 | 45 | DeclareOperation( "AddReverseDifferential",
|
42 | 46 | [ IsCapCategory, IsFunction, IsInt ] );
|
| 47 | +#! @EndGroup |
43 | 48 |
|
44 |
| -DeclareOperation( "AddReverseDifferential", |
45 |
| - [ IsCapCategory, IsList, IsInt ] ); |
46 |
| - |
47 |
| -DeclareOperation( "AddReverseDifferential", |
48 |
| - [ IsCapCategory, IsList ] ); |
49 | 49 |
|
| 50 | +#! @BeginGroup |
50 | 51 | #! @Description
|
51 | 52 | #! The arguments are a category $C$ and a function $F$.
|
52 | 53 | #! This operation adds the given function $F$
|
53 | 54 | #! to the category for the basic operation `ReverseDifferentialWithGivenObjects`.
|
| 55 | +#! Optionally, a weight (default: 100) can be specified which should roughly correspond |
| 56 | +#! to the computational complexity of the function (lower weight = less complex = faster execution). |
54 | 57 | #! $F: ( source, alpha, range ) \mapsto \mathtt{ReverseDifferentialWithGivenObjects}(source, alpha, range)$.
|
55 | 58 | #! @Returns nothing
|
56 | 59 | #! @Arguments C, F
|
57 | 60 | DeclareOperation( "AddReverseDifferentialWithGivenObjects",
|
58 | 61 | [ IsCapCategory, IsFunction ] );
|
59 | 62 |
|
| 63 | +#! @Arguments C, F, weight |
60 | 64 | DeclareOperation( "AddReverseDifferentialWithGivenObjects",
|
61 | 65 | [ IsCapCategory, IsFunction, IsInt ] );
|
| 66 | +#! @EndGroup |
62 | 67 |
|
63 |
| -DeclareOperation( "AddReverseDifferentialWithGivenObjects", |
64 |
| - [ IsCapCategory, IsList, IsInt ] ); |
65 |
| - |
66 |
| -DeclareOperation( "AddReverseDifferentialWithGivenObjects", |
67 |
| - [ IsCapCategory, IsList ] ); |
0 commit comments