Learn R Programming

GPoM (version 1.4)

regOrd: 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)

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\).

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).

Author

Sylvain Mangiarotti

See Also

poLabs