/
refine (List, Maxinterval)

refine (List, Maxinterval)

 

refine (List, Maxinterval) → List of number

When given a list of numbers, this function arranges and creates a new list where the difference between any two consecutive values is not greater than a specified maximum range (Maxinterval). The function adds new elements to the list to ensure that the required maximum range between consecutive values is met.

Example:

<O N="refineObject1" T="Project" Category="Functions" TransAlignRule="1"> <!-- created by ParamML Examples on 8/23/2023 --> <P N="List1" V="[0,25,40]" /> <P N="List2" V="refine(List1,5)" /> <P N="List3" V="[0.2,2,1]" /> <P N="List4" V="refine(List3,0.3)" /> </O>
Debug Trace

To view this example in the library, see (Engineering on Cloud )

 

Related content

Document Objects
Document Objects
Read with this
refine(liste,maxaralık)
refine(liste,maxaralık)
More like this
maxl(List) and max(number 1,number 2,...,number n)
maxl(List) and max(number 1,number 2,...,number n)
More like this
translate (List, offset1, offset2, offset3)
translate (List, offset1, offset2, offset3)
More like this
EGITIM 3 28/05/22
EGITIM 3 28/05/22
More like this
minl (List, x, index, )
minl (List, x, index, )
More like this