From 67d16c89c1f5be81ff202bbcae00653ca9bdeefe Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sat, 26 Aug 2023 22:49:28 -0400 Subject: [PATCH] typofix --- docs/src/manpage.md | 4 ++-- docs/src/manpage.txt | 4 ++-- docs/src/reference-dsl-builtin-functions.md | 2 +- internal/pkg/dsl/cst/builtin_function_manager.go | 2 +- man/manpage.txt | 4 ++-- man/mlr.1 | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/src/manpage.md b/docs/src/manpage.md index aef0df1f3..acd782c82 100644 --- a/docs/src/manpage.md +++ b/docs/src/manpage.md @@ -2744,7 +2744,7 @@ MILLER(1) MILLER(1) percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 } - The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais": + The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"): x = [6,5,9,10,4,3] percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect @@ -3634,5 +3634,5 @@ MILLER(1) MILLER(1) - 2023-08-26 MILLER(1) + 2023-08-27 MILLER(1) diff --git a/docs/src/manpage.txt b/docs/src/manpage.txt index a4bb52049..e2ed9df20 100644 --- a/docs/src/manpage.txt +++ b/docs/src/manpage.txt @@ -2723,7 +2723,7 @@ MILLER(1) MILLER(1) percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 } - The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais": + The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"): x = [6,5,9,10,4,3] percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect @@ -3613,4 +3613,4 @@ MILLER(1) MILLER(1) - 2023-08-26 MILLER(1) + 2023-08-27 MILLER(1) diff --git a/docs/src/reference-dsl-builtin-functions.md b/docs/src/reference-dsl-builtin-functions.md index 22d3a68d1..135d27f14 100644 --- a/docs/src/reference-dsl-builtin-functions.md +++ b/docs/src/reference-dsl-builtin-functions.md @@ -1099,7 +1099,7 @@ Use "interpolate_linearly" (or shorthand "il") to do linear interpolation -- not percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 } -The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais": +The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"): x = [6,5,9,10,4,3] percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect diff --git a/internal/pkg/dsl/cst/builtin_function_manager.go b/internal/pkg/dsl/cst/builtin_function_manager.go index 5499ec8fd..8887c786e 100644 --- a/internal/pkg/dsl/cst/builtin_function_manager.go +++ b/internal/pkg/dsl/cst/builtin_function_manager.go @@ -1187,7 +1187,7 @@ is normally distributed.`, ``, ` percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 }`, ``, - `The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais":`, + `The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"):`, ``, ` x = [6,5,9,10,4,3]`, ` percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect`, diff --git a/man/manpage.txt b/man/manpage.txt index a4bb52049..e2ed9df20 100644 --- a/man/manpage.txt +++ b/man/manpage.txt @@ -2723,7 +2723,7 @@ MILLER(1) MILLER(1) percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 } - The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais": + The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"): x = [6,5,9,10,4,3] percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect @@ -3613,4 +3613,4 @@ MILLER(1) MILLER(1) - 2023-08-26 MILLER(1) + 2023-08-27 MILLER(1) diff --git a/man/mlr.1 b/man/mlr.1 index 702d51667..352c6f0c6 100644 --- a/man/mlr.1 +++ b/man/mlr.1 @@ -2,12 +2,12 @@ .\" Title: mlr .\" Author: [see the "AUTHOR" section] .\" Generator: ./mkman.rb -.\" Date: 2023-08-26 +.\" Date: 2023-08-27 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "MILLER" "1" "2023-08-26" "\ \&" "\ \&" +.TH "MILLER" "1" "2023-08-27" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Portability definitions .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4144,7 +4144,7 @@ Use "interpolate_linearly" (or shorthand "il") to do linear interpolation -- not percentiles([3,4,5,6,9,10], [25,75], {"interpolate_linearly":true}) is { "25": 4.25, "75": 8.25 } -The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais": +The percentiles function always sorts its inputs before computing percentiles. If you know your input is already sorted -- see also the sort_collection function -- then computation will be faster on large input if you pass in "array_is_sorted" (shorthand: "ais"): x = [6,5,9,10,4,3] percentiles(x, [25,75], {"ais":true}) gives { "25": 5, "75": 4 } which is incorrect