Skip to content

Commit d30f5db

Browse files
committed
Small doc improvements.
1 parent 463ff64 commit d30f5db

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

mathics/builtin/combinatorial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class StirlingS1(Builtin):
276276
"""
277277
<dl>
278278
<dt>'StirlingS1[$n$, $m$]'
279-
<dd>gives the Stirling number of the first kind S_n^m.
279+
<dd>gives the Stirling number of the first kind $𝒮_n^m$.
280280
</dl>
281281
282282
Integer mathematical function, suitable for both symbolic and numerical manipulation.
@@ -300,8 +300,8 @@ def apply(self, n, m, evaluation):
300300
class StirlingS2(Builtin):
301301
"""
302302
<dl>
303-
<dt>'StirlingS2[$n, $m$]'
304-
<dd>gives the Stirling number of the second kind S_n^m.
303+
<dt>'StirlingS2[$n$, $m$]'
304+
<dd>gives the Stirling number of the second kind 𝒮_n^m.
305305
</dl>
306306
307307
returns the number of ways of partitioning a set of $n$ elements into $m$ non‐empty subsets.

mathics/builtin/structure.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,10 @@ class MapAt(Builtin):
530530
<dl>
531531
<dt>'MapAt[$f$, $expr$, $n$]'
532532
<dd>applies $f$ to the element at position $n$ in $expr$. If $n$ is negative, the position is counted from the end.
533+
<dt>'MapAt[f, $exp$r, {$i$, $j$ ...}]'
534+
<dd>applies $f$ to the part of $expr$ at position {$i$, $j$, ...}.
535+
<dt>'MapAt[$f$,$pos$]'
536+
<dd>represents an operator form of MapAt that can be applied to an expression.
533537
</dl>
534538
535539
Map $f$ onto the part at position 2:

0 commit comments

Comments
 (0)