Hin Kwan Wong (2026). Integer partitions (https://ww2.mathworks.cn/matlabcentral/fileexchange/33616-integer-partitions), MATLAB Central File Exchange.
检索时间: .
--Added optional parameter s to specify maximum size of the partitions.
--Updated to more efficient code (~5x speed), as an unintended consequence, the ordering of partitions in the output cell is changed from the older version.