更新时间:2023-09-23 19:18:46
parfor
还没有真正在八度音阶中实现.关键字被接受,但只是 for
的同义词 (http://Octave.1599824.n4.nabble.com/Parfor-td4630575.html).
parfor
is not really implemented in octave yet. The keyword is accepted, but is a mere synonym of for
(http://octave.1599824.n4.nabble.com/Parfor-td4630575.html).
并行包的pararrayfun
和parcellfun
函数在多核机器上很方便.它们通常可以很好地替代 parfor 循环.
The pararrayfun
and parcellfun
functions of the parallel package are handy on multicore machines.
They are often a good replacement to a parfor loop.
示例见http://wiki.octave.org/Parallel_package.要安装,请发出(仅一次)
For examples, see http://wiki.octave.org/Parallel_package. To install, issue (just once)
pkg install -forge parallel
然后,每个会话一次
pkg load parallel
使用功能前