regOrd: Generate the conventional order for polynomial terms in a the...

View source: R/regOrd.R

regOrdR Documentation

Generate the conventional order for polynomial terms in a the polynomial formulation

Description

Generate the conventional order of the polynomial terms for the polynomial description. It is formulated as a matrix of exponents: Each column of the matrix (a,b,c, ...) corresponds to a product of the nVar available variables X1, X2, X3, etc., that is, X1^a X2^b X3^c, etc.

Usage

regOrd(nVar, dMax, dMin = 0)

Arguments

nVar

The number of variables

dMax

The maximum degree allowed in the formulation

dMin

The minimum negative degree of the polynomial formulation (0 by default).

Value

A matrix of exponents. Each column corresponds to one polynomial term. Each line correspond to the exponent of one variable. For example, a column of three exponents (0,2,1) corresponds to the monomial X1^0 * X2^2 * X3^1, that is X2^2 X3.

Author(s)

Sylvain Mangiarotti

See Also

poLabs


GPoM documentation built on July 9, 2023, 6:23 p.m.