mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Docs fixes for comparisons.scad
This commit is contained in:
parent
e40dddf058
commit
3b3ad8eaea
1 changed files with 3 additions and 3 deletions
|
@ -897,10 +897,10 @@ function group_sort(list, idx) =
|
||||||
// Description:
|
// Description:
|
||||||
// Given a list of integer group numbers, and an equal-length list of values,
|
// Given a list of integer group numbers, and an equal-length list of values,
|
||||||
// returns a list of groups with the values sorted into the corresponding groups.
|
// returns a list of groups with the values sorted into the corresponding groups.
|
||||||
// Ie: if you have a groups index list of [2,3,2] and values of ["A","B","C"], then
|
// Ie: if you have a groups index list of `[2,3,2]` and values of `["A","B","C"]`, then
|
||||||
// the values "A" and "C" will be put in group 2, and "B" will be in group 3.
|
// the values `"A"` and `"C"` will be put in group 2, and `"B"` will be in group 3.
|
||||||
// Groups that have no values grouped into them will be an empty list. So the
|
// Groups that have no values grouped into them will be an empty list. So the
|
||||||
// above would return [[], [], ["A","C"], ["B"]]
|
// above would return `[[], [], ["A","C"], ["B"]]`
|
||||||
// Arguments:
|
// Arguments:
|
||||||
// groups = A list of integer group index numbers.
|
// groups = A list of integer group index numbers.
|
||||||
// values = A list of values to sort into groups.
|
// values = A list of values to sort into groups.
|
||||||
|
|
Loading…
Reference in a new issue