:orphan: # PetscDTAltVWedgeMatrix Compute the matrix defined by the wedge product with a given j-form that maps k-forms to (j+k)-forms ## Synopsis ``` #include "petscdt.h" PetscErrorCode PetscDTAltVWedgeMatrix(PetscInt N, PetscInt j, PetscInt k, const PetscReal *a, PetscReal *awedgeMat) ``` ## Input Parameters - ***N -*** the dimension of the vector space, N >= 0 - ***j -*** the degree j of the j-form a, 0 <= j <= N - ***k -*** the degree k of the k-forms that (a wedge) will be applied to, 0 <= k <= N and 0 <= j+k <= N - ***a -*** a j-form, size [N choose j] ## Output Parameter - ***awedge -*** (a wedge), an [(N choose j+k) x (N choose k)] matrix in row-major order, such that (a wedge) * b = a wedge b ## See Also `PetscDTAltV`, `PetscDTAltVPullback()`, `PetscDTAltVPullbackMatrix()` ## Level intermediate ## Location src/dm/dt/interface/dtaltv.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dtaltv.c) [Index of all DT routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)