integer_partitions(​n,count)

Computes all partitions of a given nonnegative integer n.

Sie verfolgen jetzt diese Einreichung

A partition of a positive integer n, also called an integer partition, is a way of writing n as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition (could be seen as a permutation of the partition). This function computes all partitions of a given nonnegative integer "n", restricted to "count" nonnegative integer summands.

Zitieren als

Igor Peretta (2026). integer_partitions(n,count) (https://de.mathworks.com/matlabcentral/fileexchange/51123-integer_partitions-n-count), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0