Skip to content

Commit 02399b6

Browse files
committed
doc for required modules
1 parent fb98f3c commit 02399b6

File tree

4 files changed

+181
-1
lines changed

4 files changed

+181
-1
lines changed

mathics/builtin/binary/bytearray.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
class ByteArray(Builtin):
2121
r"""
22+
<url>:WMA link:https://reference.wolfram.com/language/ref/ByteArray.html</url>
23+
2224
<dl>
2325
<dt>'ByteArray[{$b_1$, $b_2$, ...}]'
2426
<dd> Represents a sequence of Bytes $b_1$, $b_2$, ...

mathics/builtin/colors/color_operations.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242

4343
class Blend(Builtin):
4444
"""
45+
<url>:WMA link:https://reference.wolfram.com/language/ref/Blend.html</url>
46+
4547
<dl>
4648
<dt>'Blend[{$c1$, $c2$}]'
4749
<dd>represents the color between $c1$ and $c2$.
@@ -154,6 +156,8 @@ def apply(self, colors, u, evaluation):
154156

155157
class ColorConvert(Builtin):
156158
"""
159+
<url>:WMA link:https://reference.wolfram.com/language/ref/ColorConvert.html</url>
160+
157161
<dl>
158162
<dt>'ColorConvert[$c$, $colspace$]'
159163
<dd>returns the representation of $c$ in the color space $colspace$. $c$
@@ -208,6 +212,8 @@ def apply(self, input, colorspace, evaluation):
208212

209213
class ColorNegate(_ImageBuiltin):
210214
"""
215+
<url>:WMA link:https://reference.wolfram.com/language/ref/ColorNegate.html</url>
216+
211217
<dl>
212218
<dt>'ColorNegate[$image$]'
213219
<dd>returns the negative of $image$ in which colors have been negated.
@@ -239,6 +245,8 @@ def apply_for_image(self, image, evaluation):
239245

240246
class Darker(Builtin):
241247
"""
248+
<url>:WMA link:https://reference.wolfram.com/language/ref/Darker.html</url>
249+
242250
<dl>
243251
<dt>'Darker[$c$, $f$]'
244252
<dd>is equivalent to 'Blend[{$c$, Black}, $f$]'.
@@ -262,6 +270,8 @@ class Darker(Builtin):
262270

263271
class DominantColors(_ImageBuiltin):
264272
"""
273+
<url>:WMA link:https://reference.wolfram.com/language/ref/DominantColors.html</url>
274+
265275
<dl>
266276
<dt>'DominantColors[$image$]'
267277
<dd>gives a list of colors which are dominant in the given image.
@@ -433,6 +443,8 @@ def result():
433443

434444
class Lighter(Builtin):
435445
"""
446+
<url>:WMA link:https://reference.wolfram.com/language/ref/Lighter.html</url>
447+
436448
<dl>
437449
<dt>'Lighter[$c$, $f$]'
438450
<dd>is equivalent to 'Blend[{$c$, White}, $f$]'.

0 commit comments

Comments
 (0)