This function converts curves or multidimesional functional data to SRVF
Usage
curve_to_q(beta, scale = TRUE)
Value
a numeric array of the same shape as the input array beta storing the
SRVFs of the original curves.
Arguments
beta
either a matrix of shape \(n \times T\) describing curve or
multidimensional functional data in \(R^n\), where \(n\) is the dimension
and \(T\) is the number of time points
scale
scale curve to unit length (default = TRUE)
References
Srivastava, A., Klassen, E., Joshi, S., Jermyn, I., (2011).
Shape analysis of elastic curves in euclidean spaces. Pattern Analysis and M
achine Intelligence, IEEE Transactions on 33 (7), 1415-1428.