powered by
Computes the \(L^2\) norm of an SRVF
get_l2_norm(qfun)
A numeric value storing the \(L^2\) norm of the SRVF.
A function that takes a numeric vector \(s\) of values in \([0, 1]\) as input and returns the values of the SRVF at \(s\).
q <- curve2srvf(beta[, , 1, 1]) get_l2_norm(q)
Run the code above in your browser using DataLab