Skip to content

Commit 391c658

Browse files
committed
median: add in common.fypp where it is used for median case
1 parent f17b890 commit 391c658

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/common.fypp

+6
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ ${prefix + joinstr.join([line.strip() for line in txt.split("\n")]) + suffix}$
171171
#! select_subvector('j', 5, 2)
172172
#! -> (j1, :, j3, j4, j5)
173173
#!
174+
#! Used, e.g., in
175+
#! stdlib_stats_median.fypp
176+
#!
174177
#:def select_subvector(varname, rank, idim)
175178
#:assert rank > 0
176179
#:call join_lines(joinstr=", ", prefix="(", suffix=")")
@@ -199,6 +202,9 @@ ${prefix + joinstr.join([line.strip() for line in txt.split("\n")]) + suffix}$
199202
#! reduce_subvector('j', 5, 2)
200203
#! -> (j1, j3, j4, j5)
201204
#!
205+
#! Used, e.g., in
206+
#! stdlib_stats_median.fypp
207+
#!
202208
#:def reduce_subvector(varname, rank, idim)
203209
#:assert rank > 0
204210
#:if rank > 1

0 commit comments

Comments
 (0)