| spd.interpolate | R Documentation |
Function smoothly interpolates between two SPD matrices x and y.
The interpolation is parametrized by t, where t=0 returns x,
t=1 returns y, and t=.5 returns the mean of x and y
spd.interpolate(x, y, t, method = "euclidean", ...)
x, y |
Symmetric, positive-definite matrices |
t |
Interpolation parameter in |
method |
Type of interpolation (see details) |
Allowable distance measures are
"euclidean": Euclidean interpolation (1-t)x + ty
"logeuclidean": Euclidean interpolation in the tangent space.
"riemannian": Interpolation along the geodesic path from x to y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.