Constructs a metric object that contains the necessary functions for Riemannian operations.
Arguments
- log
A function representing the Riemannian logarithmic map. This function should accept a
dppMatrix
(the reference point) and anotherdppMatrix
(the matrix whose logarithm is to be computed), and it outputs adspMatrix
(the tangent image).- exp
A function representing the Riemannian exponential map. This function should accept a
dppMatrix
(the reference point) and adspMatrix
(the matrix whose exponential is to be computed) and return adppMatrix
(the image on the manifold).- vec
A function representing the vectorization operation for tangent spaces. This function should accept a
dppMatrix
(the reference point) and adspMatrix
(the tangent image) and return a vector (the vectorized image).- unvec
A function representing the inverse of the vectorization operation. This function should accept a
dppMatrix
(the reference point) and a vector (the vectorized image), and it returns adspMatrix
(the tangent image).