Skip to content

Commit 98dc060

Browse files
committed
Populate
1 parent f70a4bb commit 98dc060

File tree

2,721 files changed

+807546
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,721 files changed

+807546
-0
lines changed

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
remote_theme: pages-themes/[email protected]
2+
plugins:
3+
- jekyll-remote-theme # add this line to the plugins list if you already have one

_sources/api/AbelianGroup.rst.txt

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
.. index:: AbelianGroup
2+
3+
.. _l4162656c69616e47726f7570:
4+
5+
AbelianGroup
6+
============
7+
8+
:viewcode:`catdef.spad line 1 <catdef.spad#L1>` :editcode:`[edit on github] <catdef.spad#L1>`
9+
10+
11+
The class of abelian groups, i.e. additive monoids where each element has an additive inverse.
12+
13+
14+
.. _l4162656c69616e47726f7570-30:
15+
16+
\ :ref:`0 <l4162656c69616e4d6f6e6f6964-30>`\ \: %
17+
from \ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
18+
19+
.. _l4162656c69616e47726f7570-2a:
20+
21+
.. index::
22+
pair: AbelianGroup; *
23+
24+
:spadfun:`\*`\: (\ :ref:`Integer <l496e7465676572>`\ , %) -> %
25+
\ ``n*x``\ is the product of \ ``x``\ by the integer \ ``n``\ .
26+
27+
28+
\ :ref:`\* <l4162656c69616e4d6f6e6f6964-2a>`\ \: (\ :ref:`NonNegativeInteger <l4e6f6e4e65676174697665496e7465676572>`\ , %) -> %
29+
from \ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
30+
31+
32+
\ :ref:`\* <l4162656c69616e53656d6947726f7570-2a>`\ \: (\ :ref:`PositiveInteger <l506f736974697665496e7465676572>`\ , %) -> %
33+
from \ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
34+
35+
.. _l4162656c69616e47726f7570-2b:
36+
37+
\ :ref:`+ <l4162656c69616e53656d6947726f7570-2b>`\ \: (%, %) -> %
38+
from \ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
39+
40+
.. _l4162656c69616e47726f7570-2d:
41+
42+
.. index::
43+
pair: AbelianGroup; -
44+
45+
:spadfun:`-`\: % -> %
46+
\ ``-x``\ is the additive inverse of \ ``x``\ .
47+
48+
49+
.. index::
50+
pair: AbelianGroup; -
51+
52+
:spadfun:`-`\: (%, %) -> %
53+
\ ``x-y``\ is the difference of \ ``x``\ and \ ``y``\ i.e. \ ``x + (-y)``\ .
54+
55+
.. _l4162656c69616e47726f7570-3d:
56+
57+
\ :ref:`= <l426173696354797065-3d>`\ \: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
58+
from \ :ref:`BasicType <l426173696354797065>`\
59+
60+
.. _l4162656c69616e47726f7570-7e3d:
61+
62+
\ :ref:`~= <l426173696354797065-7e3d>`\ \: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
63+
from \ :ref:`BasicType <l426173696354797065>`\
64+
65+
.. _l4162656c69616e47726f7570-636f65726365:
66+
67+
\ :ref:`coerce <l436f65726369626c65546f-636f65726365>`\ \: % -> \ :ref:`OutputForm <l4f7574707574466f726d>`\
68+
from \ :ref:`CoercibleTo <l436f65726369626c65546f>`\ \ :ref:`OutputForm <l4f7574707574466f726d>`\
69+
70+
.. _l4162656c69616e47726f7570-6c61746578:
71+
72+
\ :ref:`latex <l53657443617465676f7279-6c61746578>`\ \: % -> \ :ref:`String <l537472696e67>`\
73+
from \ :ref:`SetCategory <l53657443617465676f7279>`\
74+
75+
.. _l4162656c69616e47726f7570-6f70706f736974653f:
76+
77+
\ :ref:`opposite? <l4162656c69616e4d6f6e6f6964-6f70706f736974653f>`\ \: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
78+
from \ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
79+
80+
.. _l4162656c69616e47726f7570-73616d706c65:
81+
82+
\ :ref:`sample <l4162656c69616e4d6f6e6f6964-73616d706c65>`\ \: %
83+
from \ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
84+
85+
.. _l4162656c69616e47726f7570-7375627472616374496643616e:
86+
87+
\ :ref:`subtractIfCan <l43616e63656c6c6174696f6e4162656c69616e4d6f6e6f6964-7375627472616374496643616e>`\ \: (%, %) -> Union(%, failed)
88+
from \ :ref:`CancellationAbelianMonoid <l43616e63656c6c6174696f6e4162656c69616e4d6f6e6f6964>`\
89+
90+
.. _l4162656c69616e47726f7570-7a65726f3f:
91+
92+
\ :ref:`zero? <l4162656c69616e4d6f6e6f6964-7a65726f3f>`\ \: % -> \ :ref:`Boolean <l426f6f6c65616e>`\
93+
from \ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
94+
95+
96+
\ :ref:`AbelianMonoid <l4162656c69616e4d6f6e6f6964>`\
97+
98+
\ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
99+
100+
\ :ref:`BasicType <l426173696354797065>`\
101+
102+
\ :ref:`CancellationAbelianMonoid <l43616e63656c6c6174696f6e4162656c69616e4d6f6e6f6964>`\
103+
104+
\ :ref:`CoercibleTo <l436f65726369626c65546f>`\ \ :ref:`OutputForm <l4f7574707574466f726d>`\
105+
106+
\ :ref:`SetCategory <l53657443617465676f7279>`\
107+

_sources/api/AbelianMonoid.rst.txt

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
.. index:: AbelianMonoid
2+
3+
.. _l4162656c69616e4d6f6e6f6964:
4+
5+
AbelianMonoid
6+
=============
7+
8+
:viewcode:`catdef.spad line 37 <catdef.spad#L37>` :editcode:`[edit on github] <catdef.spad#L37>`
9+
10+
11+
The class of multiplicative monoids, i.e. semigroups with an additive identity element.
12+
13+
14+
.. _l4162656c69616e4d6f6e6f6964-30:
15+
16+
.. index::
17+
pair: AbelianMonoid; 0
18+
19+
:spadfun:`0`\: %
20+
0 is the additive identity element.
21+
22+
.. _l4162656c69616e4d6f6e6f6964-2a:
23+
24+
.. index::
25+
pair: AbelianMonoid; *
26+
27+
:spadfun:`\*`\: (\ :ref:`NonNegativeInteger <l4e6f6e4e65676174697665496e7465676572>`\ , %) -> %
28+
\ ``n * x``\ is left-multiplication by a non negative integer
29+
30+
31+
\ :ref:`\* <l4162656c69616e53656d6947726f7570-2a>`\ \: (\ :ref:`PositiveInteger <l506f736974697665496e7465676572>`\ , %) -> %
32+
from \ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
33+
34+
.. _l4162656c69616e4d6f6e6f6964-2b:
35+
36+
\ :ref:`+ <l4162656c69616e53656d6947726f7570-2b>`\ \: (%, %) -> %
37+
from \ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
38+
39+
.. _l4162656c69616e4d6f6e6f6964-3d:
40+
41+
\ :ref:`= <l426173696354797065-3d>`\ \: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
42+
from \ :ref:`BasicType <l426173696354797065>`\
43+
44+
.. _l4162656c69616e4d6f6e6f6964-7e3d:
45+
46+
\ :ref:`~= <l426173696354797065-7e3d>`\ \: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
47+
from \ :ref:`BasicType <l426173696354797065>`\
48+
49+
.. _l4162656c69616e4d6f6e6f6964-636f65726365:
50+
51+
\ :ref:`coerce <l436f65726369626c65546f-636f65726365>`\ \: % -> \ :ref:`OutputForm <l4f7574707574466f726d>`\
52+
from \ :ref:`CoercibleTo <l436f65726369626c65546f>`\ \ :ref:`OutputForm <l4f7574707574466f726d>`\
53+
54+
.. _l4162656c69616e4d6f6e6f6964-6c61746578:
55+
56+
\ :ref:`latex <l53657443617465676f7279-6c61746578>`\ \: % -> \ :ref:`String <l537472696e67>`\
57+
from \ :ref:`SetCategory <l53657443617465676f7279>`\
58+
59+
.. _l4162656c69616e4d6f6e6f6964-6f70706f736974653f:
60+
61+
.. index::
62+
pair: AbelianMonoid; opposite?
63+
64+
:spadfun:`opposite?`\: (%, %) -> \ :ref:`Boolean <l426f6f6c65616e>`\
65+
\ ``opposite?(x,y)``\ holds if the sum of \ ``x``\ and \ ``y``\ is \ ``0``\ .
66+
67+
.. _l4162656c69616e4d6f6e6f6964-73616d706c65:
68+
69+
.. index::
70+
pair: AbelianMonoid; sample
71+
72+
:spadfun:`sample`\: %
73+
\ ``sample yields``\ a value of type \%
74+
75+
.. _l4162656c69616e4d6f6e6f6964-7a65726f3f:
76+
77+
.. index::
78+
pair: AbelianMonoid; zero?
79+
80+
:spadfun:`zero?`\: % -> \ :ref:`Boolean <l426f6f6c65616e>`\
81+
\ ``zero?(x)``\ tests if \ ``x``\ is equal to 0.
82+
83+
84+
\ :ref:`AbelianSemiGroup <l4162656c69616e53656d6947726f7570>`\
85+
86+
\ :ref:`BasicType <l426173696354797065>`\
87+
88+
\ :ref:`CoercibleTo <l436f65726369626c65546f>`\ \ :ref:`OutputForm <l4f7574707574466f726d>`\
89+
90+
\ :ref:`SetCategory <l53657443617465676f7279>`\
91+

0 commit comments

Comments
 (0)