#include "petscdt.h" PetscErrorCode PetscDTAltVApply(PetscInt N, PetscInt k, const PetscReal *w, const PetscReal *v, PetscReal *wv)
N | - the dimension of the vector space, N >= 0 | |
k | - the degree k of the k-form w, 0 <= k <= N | |
w | - a k-form, size [N choose k] (each degree of freedom of a k-form is associated with a subset of k coordinates of the N-dimensional vectors: the degrees of freedom are ordered lexicographically by their associated subsets) | |
v | - a set of k vectors of size N, size [k x N], each vector stored contiguously |