countkpartitions
Calculates the total number of partitions of a number ,n, into the sum of ,k, numbers. Depending on input, function can return scalar, vector or matrix
Arguments
- Integer k
- Integer n
Output
Number of partitions
Examples
Calculates the total number of partitions of a number ,n, into the sum of ,k, numbers. Depending on input, function can return scalar, vector or matrix
Number of partitions