@@ -6,87 +6,102 @@ parent: API Coverage
66
77## Array
88
9- ### Creation
9+ ### Creation & Initialization
1010
1111| Function | Status | Description |
1212| ---------------------- | ------ | ---------------------------- |
13- | ` array.new_bool() ` | ✔️ | Create boolean array |
13+ | ` array.copy() ` | ✅ | Create copy of array |
14+ | ` array.from() ` | ✅ | Create array from arguments |
15+ | ` array.new_bool() ` | ✅ | Create boolean array |
1416| ` array.new_box() ` | | Create box array |
1517| ` array.new_color() ` | | Create color array |
16- | ` array.new_float() ` | ✔️ | Create float array |
17- | ` array.new_int() ` | ✔️ | Create int array |
18+ | ` array.new_float() ` | ✅ | Create float array |
19+ | ` array.new_int() ` | ✅ | Create int array |
1820| ` array.new_label() ` | | Create label array |
1921| ` array.new_line() ` | | Create line array |
2022| ` array.new_linefill() ` | | Create linefill array |
21- | ` array.new_string() ` | ✔️ | Create string array |
23+ | ` array.new_string() ` | ✅ | Create string array |
2224| ` array.new_table() ` | | Create table array |
23- | ` array.new<type>() ` | ✔️ | Create typed array (generic) |
24- | ` array.from() ` | ✅ | Create array from arguments |
25- | ` array.copy() ` | ✅ | Create copy of array |
25+ | ` array.new<type>() ` | ✅ | Create typed array (generic) |
2626
27- ### Stack & Queue Operations
27+ ### Element Access
28+
29+ | Function | Status | Description |
30+ | --------------- | ------ | ------------------ |
31+ | ` array.first() ` | ✅ | Get first element |
32+ | ` array.get() ` | ✅ | Get value at index |
33+ | ` array.last() ` | ✅ | Get last element |
34+ | ` array.set() ` | ✅ | Set value at index |
35+
36+ ### Modification
2837
2938| Function | Status | Description |
3039| ----------------- | ------ | ---------------------------- |
31- | ` array.push() ` | ✅ | Append element to end |
32- | ` array.pop() ` | ✅ | Remove last element |
33- | ` array.unshift() ` | ✅ | Prepend element to beginning |
34- | ` array.shift() ` | ✅ | Remove first element |
40+ | ` array.clear() ` | ✅ | Remove all elements |
41+ | ` array.fill() ` | ✅ | Fill array with value |
3542| ` array.insert() ` | ✅ | Insert element at index |
43+ | ` array.pop() ` | ✅ | Remove last element |
44+ | ` array.push() ` | ✅ | Append element to end |
3645| ` array.remove() ` | ✅ | Remove element at index |
37- | ` array.clear() ` | ✅ | Remove all elements |
46+ | ` array.reverse() ` | ✅ | Reverse order |
47+ | ` array.shift() ` | ✅ | Remove first element |
48+ | ` array.unshift() ` | ✅ | Prepend element to beginning |
3849
39- ### Access & Information
50+ ### Size & Shape
4051
41- | Function | Status | Description |
42- | --------------- | ------ | --------------------- |
43- | ` array.get() ` | ✅ | Get value at index |
44- | ` array.set() ` | ✅ | Set value at index |
45- | ` array.first() ` | ✅ | Get first element |
46- | ` array.last() ` | ✅ | Get last element |
47- | ` array.fill() ` | ✅ | Fill array with value |
48- | ` array.size() ` | ✅ | Get array size |
52+ | Function | Status | Description |
53+ | ---------------- | ------ | ------------------ |
54+ | ` array.concat() ` | ✅ | Concatenate arrays |
55+ | ` array.size() ` | ✅ | Get array size |
56+ | ` array.slice() ` | ✅ | Extract subarray |
4957
50- ### Search & Lookup
58+ ### Search & Query
5159
5260| Function | Status | Description |
5361| --------------------------------- | ------ | ------------------------- |
54- | ` array.includes() ` | ✅ | Check if value exists |
55- | ` array.indexof() ` | ✅ | Find first index of value |
56- | ` array.lastindexof() ` | ✅ | Find last index of value |
5762| ` array.binary_search() ` | ✅ | Binary search |
5863| ` array.binary_search_leftmost() ` | ✅ | Binary search (leftmost) |
5964| ` array.binary_search_rightmost() ` | ✅ | Binary search (rightmost) |
65+ | ` array.includes() ` | ✅ | Check if value exists |
66+ | ` array.indexof() ` | ✅ | Find first index of value |
67+ | ` array.lastindexof() ` | ✅ | Find last index of value |
68+
69+ ### Statistical
6070
61- ### Calculations & Statistics
71+ | Function | Status | Description |
72+ | -------------------- | ------ | ------------------- |
73+ | ` array.avg() ` | ✅ | Average of elements |
74+ | ` array.covariance() ` | ✅ | Covariance |
75+ | ` array.max() ` | ✅ | Maximum value |
76+ | ` array.median() ` | ✅ | Median value |
77+ | ` array.min() ` | ✅ | Minimum value |
78+ | ` array.mode() ` | ✅ | Mode value |
79+ | ` array.range() ` | ✅ | Range of values |
80+ | ` array.stdev() ` | ✅ | Standard deviation |
81+ | ` array.sum() ` | ✅ | Sum of elements |
82+ | ` array.variance() ` | ✅ | Variance |
83+
84+ ### Percentiles
6285
6386| Function | Status | Description |
6487| ----------------------------------------- | ------ | ------------------------- |
65- | ` array.sum() ` | ✅ | Sum of elements |
66- | ` array.avg() ` | ✅ | Average of elements |
67- | ` array.min() ` | ✅ | Minimum value |
68- | ` array.max() ` | ✅ | Maximum value |
69- | ` array.median() ` | ✅ | Median value |
70- | ` array.mode() ` | ✅ | Mode value |
71- | ` array.stdev() ` | ✅ | Standard deviation |
72- | ` array.variance() ` | ✅ | Variance |
73- | ` array.covariance() ` | ✅ | Covariance |
74- | ` array.standardize() ` | ✅ | Standardize elements |
75- | ` array.range() ` | ✅ | Range of values |
76- | ` array.abs() ` | ✅ | Absolute values |
77- | ` array.percentrank() ` | ✅ | Percentile rank |
7888| ` array.percentile_linear_interpolation() ` | ✅ | Percentile (Linear) |
7989| ` array.percentile_nearest_rank() ` | ✅ | Percentile (Nearest Rank) |
90+ | ` array.percentrank() ` | ✅ | Percentile rank |
8091
81- ### Manipulation & Logic
92+ ### Transformation
8293
83- | Function | Status | Description |
84- | ---------------------- | ------ | ---------------------------- |
85- | ` array.concat() ` | ✅ | Concatenate arrays |
86- | ` array.slice() ` | ✅ | Extract subarray |
87- | ` array.reverse() ` | ✅ | Reverse order |
88- | ` array.sort() ` | ✅ | Sort array |
89- | ` array.sort_indices() ` | ✅ | Get sorted indices |
90- | ` array.join() ` | ✅ | Join to string |
91- | ` array.every() ` | ✅ | Check if all elements match |
92- | ` array.some() ` | ✅ | Check if any element matches |
94+ | Function | Status | Description |
95+ | ---------------------- | ------ | -------------------- |
96+ | ` array.abs() ` | ✅ | Absolute values |
97+ | ` array.join() ` | ✅ | Join to string |
98+ | ` array.sort() ` | ✅ | Sort array |
99+ | ` array.sort_indices() ` | ✅ | Get sorted indices |
100+ | ` array.standardize() ` | ✅ | Standardize elements |
101+
102+ ### Logical
103+
104+ | Function | Status | Description |
105+ | --------------- | ------ | ---------------------------- |
106+ | ` array.every() ` | ✅ | Check if all elements match |
107+ | ` array.some() ` | ✅ | Check if any element matches |
0 commit comments