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 April 3, 2025, 10:09 p.m.