Anonymous user
Parallel calculations: Difference between revisions
→{{header|JavaScript}}
(→{{header|JavaScript}}: Modified to use javascript console for output) |
|||
Line 601:
}
</lang>
=={{header|Mathematica}}==
<lang Mathematica>
hasSmallestFactor[data_List]:=Sort[Transpose[{ParallelTable[FactorInteger[x][[1, 1]], {x, data}],data}]][[1, 2]]</lang>
=={{header|Perl 6}}==
|