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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/d2pMax.R

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

1
d2pMax(nVar, dMaxKnown)

Arguments

nVar

Number of variables considered in the polynomial formulation.

dMaxKnown

The maximum polynomial degree dMax

Value

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

Author(s)

Sylvain Mangiarotti

See Also

gloMoId, gPoMo, poLabs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#############
# 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 Feb. 18, 2020, 5:08 p.m.