d2pMax: Provides the number of polynomial terms 'pMax' given 'dMax'...

View source: R/d2pMax.R

d2pMaxR Documentation

Provides the number of polynomial terms pMax given dMax and nVar

Description

Computes the number of polynomial terms pMax used to formulate an equation given the maximal polynomial degree dMax and the number of variables nVar following the conventions as defined by fuction poLabs.

Usage

d2pMax(nVar, dMaxKnown, dMin = 0)

Arguments

nVar

Number of variables considered in the polynomial formulation.

dMaxKnown

The maximum polynomial degree dMax

dMin

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

Value

The number pMax of polynomial terms used to code a polynomial equation

Author(s)

Sylvain Mangiarotti

See Also

gloMoId, gPoMo, poLabs

Examples

#############
# Example 1 #
#############
# Maximum polynomial degree ?
# number of variables:
nVar <- 3
# polynomial degree:
dMax <- 3
# The maximal polynomial degree used for coding the polynomial is:
d2pMax(nVar,dMax)


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