#include "petscdt.h" PetscErrorCode PetscDTAltVPullbackMatrix(PetscInt N, PetscInt M, const PetscReal *L, PetscInt k, PetscReal *Lstar)
N | - the dimension of the origin vector space of the linear transformation, N >= 0 | |
M | - the dimension of the image vector space of the linear transformation, M >= 0 | |
L | - a linear transformation, an [M x N] matrix in row-major format | |
k | - the *signed* degree k of the |k|-forms on which Lstar acts, -(min(M,N)) <= k <= min(M,N). A negative form degree indicates that the pullback should be conjugated by the Hodge star operator (see note in PetscDTAltvPullback()) |
Lstar | - the pullback matrix, an [(N choose |k|) x (M choose |k|)] matrix in row-major format such that Lstar * w = L^* w |