Skip to contents

This is a helper function for find_p_multi_mv()

Usage

generate_compositions(n, k)

Arguments

n

Integer to partition

k

Number of parts

Value

Matrix where each row is a k-way composition of n