mvec {lpcde}R Documentation

Polynomial order vector

Description

Generates list of all combinations of length less than or equal to d of numbers that add up to n.

Usage

mvec(n, d)

Arguments

n

Total value of each combination

d

Maximum length of combinations


[Package lpcde version 0.1.4 Index]