Skip to content

Commit ce17951

Browse files
committed
fix docs
1 parent 2a1df61 commit ce17951

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

source/mir/math/stat.d

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ Computes the average of `r`, which must be a finite iterable.
9898
9999
Returns:
100100
The average of all the elements in the range r.
101+
102+
See_also: $(SUBREF sum, Summation)
101103
+/
102104
template mean(F, Summation summation = Summation.appropriate)
103105
{
@@ -301,7 +303,7 @@ version(mir_test)
301303
/++
302304
Computes the harmonic mean of a range.
303305
304-
See_also: $(SUBREF sum, sum)
306+
See_also: $(SUBREF sum, Summation)
305307
+/
306308
template hmean(F, Summation summation = Summation.appropriate)
307309
{

source/mir/math/sum.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ value, but its type will be used if it is not specified.
16361636
16371637
Note that these specialized summing algorithms execute more primitive operations
16381638
than vanilla summation. Therefore, if in certain cases maximum speed is required
1639-
at expense of precision, one can use $(LREF, Summation.fast).
1639+
at expense of precision, one can use $(LREF Summation.fast).
16401640
16411641
Returns:
16421642
The sum of all the elements in the range r.

source/mir/ndslice/concatenation.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ private template _Expose(size_t maxN, size_t dim)
7979
/++
8080
Creates a $(LREF Concatenation) view of multiple slices.
8181
82-
Can be used in combination with itself, $(LREF until), $(SUBREF, allocation, slice),
82+
Can be used in combination with itself, $(LREF until), $(SUBREF allocation, slice),
8383
and $(SUBREF slice, Slice) assignment.
8484
8585
Params:

source/mir/ndslice/topology.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -3125,7 +3125,7 @@ Params:
31253125
Returns:
31263126
n-dimensional slice with the same kind, shape and strides.
31273127
3128-
See_also: `indexed` is similar to $(LREF, vmap), but a field (`[]`) is used instead of a function (`()`), and order of arguments is reversed.
3128+
See_also: `indexed` is similar to $(LREF vmap), but a field (`[]`) is used instead of a function (`()`), and order of arguments is reversed.
31293129
+/
31303130
Slice!(IndexIterator!(Iterator, Field), N, kind)
31313131
indexed(Field, Iterator, size_t N, SliceKind kind)

0 commit comments

Comments
 (0)