Jump to content

Parallel calculations: Difference between revisions

(→‎{{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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.