Difference between revisions of "Swizzle.m"
m (Rename Arguments section heading to Parameters) |
(Update function See also links and function index membership) |
||
| Line 15: | Line 15: | ||
==See also== | ==See also== | ||
| − | [[Kernel_utilities | + | [[distrib_dim.m]], [[end_disallow_gpu.m]], [[isworkernode.m]], [[parallel_profiler_report.m]], [[parallel_profiler_start.m]], [[poolsize.m]], [[save_anyway.m]], [[smack.m]], [[start_disallow_gpu.m]], [[Kernel_utilities]] |
''Version 2.11, authors: [[Ilya Kuprov]]'' | ''Version 2.11, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:42, 6 June 2026
Flattens out nested index lists and outputs them as an array of tuples in random order, useful for parallel loop vectorisation.
Syntax
tuples=swizzle(index_arrays)
Parameters
index_arrays - a cell array of row vectors
Outputs
tuples - matrix of tuples in random order, with tuples listed as rows
See also
distrib_dim.m, end_disallow_gpu.m, isworkernode.m, parallel_profiler_report.m, parallel_profiler_start.m, poolsize.m, save_anyway.m, smack.m, start_disallow_gpu.m, Kernel_utilities
Version 2.11, authors: Ilya Kuprov