splinepy.helpme.mapper.Mapper.gradient#
- Mapper.gradient(queries, nthreads=None)[source]#
Map gradient field into the physical domain
Gradient is in form
\[J^k_i = \frac{\partial f^k}{\partial x_i}\]See class documentation for more details.
- Parameters:
queries ((n, para_dim) array-like) – Points for evaluation
nthreads (int) – Threads used for calculation
- Returns:
gradient
- Return type:
(n, dim, para_dim) np.ndarray