#include "petscdt.h" PetscErrorCode PetscDTPTrimmedSize(PetscInt dim, PetscInt degree, PetscInt formDegree, PetscInt *size)
dim | - the number of variables in the multivariate polynomials | |
degree | - the degree (sum of degrees on the variables in a monomial) of the trimmed polynomial space. | |
formDegree | - the degree of the form |
size | - The number ((dim + degree) choose (dim + formDegree)) x ((degree + formDegree - 1) choose (formDegree)) |