# PetscDTPTrimmedSize
The size of the trimmed polynomial space of k-forms with a given degree and form degree, which can be evaluated in `PetscDTPTrimmedEvalJet()`. 
## Synopsis
```
#include "petscdt.h" 
PetscErrorCode PetscDTPTrimmedSize(PetscInt dim, PetscInt degree, PetscInt formDegree, PetscInt *size)
```

## Input Parameters

- ***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



## Output Parameters

- ***size -*** The number ((dim + degree) choose (dim + formDegree)) x ((degree + formDegree - 1) choose (formDegree))





## See Also
 `PetscDTPTrimmedEvalJet()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/interface/dt.c.html#PetscDTPTrimmedSize">src/dm/dt/interface/dt.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dt.c)


[Index of all DT routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
