SparseCompress
|
Miscellaneous functions |
| SYNTAX | SparseCompress( query_points, data ) |
| RETURNS | ARRAY |
| FUNCTION | The function gets values from 'data' array at points defined by non-zero values of 'query_points' array and compresses them so they are squeezed at the end of resulting array |
| EXAMPLE | only_when = ( Month() % 2 )
== 0; // even months only |
| SEE ALSO | SparseExpand() function |
The SparseCompress function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.