mvec: Polynomial order vector

View source: R/utils.R

mvecR 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


lpcde documentation built on May 21, 2026, 5:09 p.m.