Skip to content

Commit 5f776d0

Browse files
committed
comply with CAP 2024.09-08
1 parent b2a992d commit 5f776d0

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

gap/MethodRecord.autogen.gd

+16-16
Original file line numberDiff line numberDiff line change
@@ -3,65 +3,65 @@
33
#
44
# Declarations
55
#
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
77

88
#! @Chapter operations for machine learning in CAP
99

1010
#! @Section Add-methods
1111

12+
#! @BeginGroup
1213
#! @Description
1314
#! The arguments are a category $C$ and a function $F$.
1415
#! This operation adds the given function $F$
1516
#! 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).
1619
#! $F: ( alpha, beta ) \mapsto \mathtt{MultiplicationForMorphisms}(alpha, beta)$.
1720
#! @Returns nothing
1821
#! @Arguments C, F
1922
DeclareOperation( "AddMultiplicationForMorphisms",
2023
[ IsCapCategory, IsFunction ] );
2124

25+
#! @Arguments C, F, weight
2226
DeclareOperation( "AddMultiplicationForMorphisms",
2327
[ IsCapCategory, IsFunction, IsInt ] );
28+
#! @EndGroup
2429

25-
DeclareOperation( "AddMultiplicationForMorphisms",
26-
[ IsCapCategory, IsList, IsInt ] );
27-
28-
DeclareOperation( "AddMultiplicationForMorphisms",
29-
[ IsCapCategory, IsList ] );
3030

31+
#! @BeginGroup
3132
#! @Description
3233
#! The arguments are a category $C$ and a function $F$.
3334
#! This operation adds the given function $F$
3435
#! 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).
3538
#! $F: ( alpha ) \mapsto \mathtt{ReverseDifferential}(alpha)$.
3639
#! @Returns nothing
3740
#! @Arguments C, F
3841
DeclareOperation( "AddReverseDifferential",
3942
[ IsCapCategory, IsFunction ] );
4043

44+
#! @Arguments C, F, weight
4145
DeclareOperation( "AddReverseDifferential",
4246
[ IsCapCategory, IsFunction, IsInt ] );
47+
#! @EndGroup
4348

44-
DeclareOperation( "AddReverseDifferential",
45-
[ IsCapCategory, IsList, IsInt ] );
46-
47-
DeclareOperation( "AddReverseDifferential",
48-
[ IsCapCategory, IsList ] );
4949

50+
#! @BeginGroup
5051
#! @Description
5152
#! The arguments are a category $C$ and a function $F$.
5253
#! This operation adds the given function $F$
5354
#! 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).
5457
#! $F: ( source, alpha, range ) \mapsto \mathtt{ReverseDifferentialWithGivenObjects}(source, alpha, range)$.
5558
#! @Returns nothing
5659
#! @Arguments C, F
5760
DeclareOperation( "AddReverseDifferentialWithGivenObjects",
5861
[ IsCapCategory, IsFunction ] );
5962

63+
#! @Arguments C, F, weight
6064
DeclareOperation( "AddReverseDifferentialWithGivenObjects",
6165
[ IsCapCategory, IsFunction, IsInt ] );
66+
#! @EndGroup
6267

63-
DeclareOperation( "AddReverseDifferentialWithGivenObjects",
64-
[ IsCapCategory, IsList, IsInt ] );
65-
66-
DeclareOperation( "AddReverseDifferentialWithGivenObjects",
67-
[ IsCapCategory, IsList ] );

0 commit comments

Comments
 (0)