Decodes a columnar monthlyIterations result back into a flat object array.
⚠️ Memory Warning: This function can allocate millions of small objects during large simulations.
Proceed with caution or use pagination/UI virtualization if rendering these arrays to the DOM.
Keys are "category|group|variable". Each Float64Array has size iterations × months.
Access: data[key][iteration * cols + monthIndex].
Records where amount === 0 are omitted from the output, matching the zero-filtering
applied by the onRecord callback during data collection.
Decodes a columnar
monthlyIterationsresult back into a flat object array.⚠️ Memory Warning: This function can allocate millions of small objects during large simulations. Proceed with caution or use pagination/UI virtualization if rendering these arrays to the DOM.
Keys are
"category|group|variable". EachFloat64Arrayhas sizeiterations × months. Access:data[key][iteration * cols + monthIndex].Records where
amount === 0are omitted from the output, matching the zero-filtering applied by theonRecordcallback during data collection.