p2dMax : provides the maximum polynomial degree dMaxgiven the number of variables nVar and the number of possible polynomial terms pMax.
dMax
nVar
pMax
Useful links