mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-01 16:32:55 +02:00
reorder functions in array.scad
list_{de,in}creasing -> is_{de,in}creasing, add strict option to both
This commit is contained in:
@@ -268,7 +268,7 @@ function vector_axis(v1,v2=undef,v3=undef) =
|
||||
// idx = min_index(vals);
|
||||
// idxlist = min_index(vals, all=true);
|
||||
// Topics: List Handling
|
||||
// See Also: max_index(), list_increasing(), list_decreasing()
|
||||
// See Also: max_index(), is_increasing(), is_decreasing()
|
||||
// Description:
|
||||
// Returns the index of the first occurrence of the minimum value in the given list.
|
||||
// If `all` is true then returns a list of all indices where the minimum value occurs.
|
||||
@@ -288,7 +288,7 @@ function min_index(vals, all=false) =
|
||||
// idx = max_index(vals);
|
||||
// idxlist = max_index(vals, all=true);
|
||||
// Topics: List Handling
|
||||
// See Also: min_index(), list_increasing(), list_decreasing()
|
||||
// See Also: min_index(), is_increasing(), is_decreasing()
|
||||
// Description:
|
||||
// Returns the index of the first occurrence of the maximum value in the given list.
|
||||
// If `all` is true then returns a list of all indices where the maximum value occurs.
|
||||
|
Reference in New Issue
Block a user