gam_to_v: map warping function to tangent space at identity
Description
map warping function to tangent space at identity
Usage
gam_to_v(gam, smooth = FALSE)
Value
A numeric array of the same shape as the input array gamma
storing the
shooting vectors of gamma
obtained via finite differences.
Arguments
- gam
Either a numeric vector of a numeric matrix or a numeric array
specifying the warping functions
- smooth
Apply smoothing before gradient