# PetscDualSpaceTransformHessian
Transform the function Hessian values 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscDualSpaceTransformHessian(PetscDualSpace dsp, PetscDualSpaceTransformType trans, PetscBool isInverse, PetscFEGeom *fegeom, PetscInt Nv, PetscInt Nc, PetscScalar vals[])
```

## Input Parameters

- ***dsp       -*** The `PetscDualSpace`
- ***trans     -*** The type of transform
- ***isInverse -*** Flag to invert the transform
- ***fegeom    -*** The cell geometry
- ***Nv        -*** The number of function Hessian samples
- ***Nc        -*** The number of function components
- ***vals      -*** The function gradient values



## Output Parameter

- ***vals      -*** The transformed function Hessian values





## Note
This only handles transformations when the embedding dimension of the geometry in fegeom is the same as the reference dimension.


## See Also
 `PetscDualSpace`, `PetscDualSpaceTransform()`, `PetscDualSpacePullback()`, `PetscDualSpacePushforward()`, `PetscDualSpaceTransformType`

## Level
intermediate

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


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


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