Skip to content

Commit 5c42927

Browse files
committed
Update the array formulas documentation
1 parent 9014ce0 commit 5c42927

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/formula/doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ This includes the average, min, max, and element count
155155

156156
**arrayMin(VNumberArray array)** - Returns a VDouble with the smallest value of the given array
157157

158+
**arraySampleWithLTTB(VNumberArray array, VNumber threshold)** - Returns a VNumberArray which is a down-sampled version of the input array.
159+
The threshold parameter defines the maximum number of data points to return.
160+
The down-sampling is performed using the Largest-Triangle-Three-Buckets (LTTB) algorithm.
161+
158162
**arraySampleWithStride(VNumberArray array, VNumber stride, VNumber offset)** - Returns a VNumberArray where each element is defined as array\[x \* stride + offset\].
159163

160164
**arrayCumSum(VNumberArray array)** - Returns a VNumberArray where each element is defined as the cumulative sum of the input array.

0 commit comments

Comments
 (0)