# Single and double derivative of variables

**URL:** https://discourse.paraview.org/t/single-and-double-derivative-of-variables/16639
**Category:** ParaView Support
**Created:** [May 14, 2025, 11:03pm UTC](https://discourse.paraview.org/t/single-and-double-derivative-of-variables/16639 "2025-05-14T23:03:50Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [May 31, 2025, 11:10am UTC](https://discourse.paraview.org/t/single-and-double-derivative-of-variables/16639/27 "2025-05-31T11:10:40Z")

</div>

VMTK is difficult to use within ParaView because pip installation is no longer supported. It should be possible to use it as a Python program within an Anaconda environment. Please refer to the link below.

> [@Calculating double derivatives options](https://discourse.paraview.org/t/calculating-double-derivatives-options/16678/2):
>
> Calculating higher-order precision gradients using vmtk’s vtkvmtkUnstructuredGridGradientFilter in Python is relatively straightforward. For an Anaconda environment, first create a virtual environment and install vmtk using the following commands: conda create -n vmtk python=3.11 conda activate vmtk conda install conda-forge::vmtk Next, you can create a Hessian matrix by applying vtkvmtkUnstructuredGridGradientFilter twice to a variable with a Python program like the one below. However, this …

---

_[View the full topic](https://discourse.paraview.org/t/single-and-double-derivative-of-variables/16639)._
