Learn R Programming

fdasrvf (version 2.3.6)

get_l2_norm: Computes the \(L^2\) norm of an SRVF

Description

Computes the \(L^2\) norm of an SRVF

Usage

get_l2_norm(qfun)

Value

A numeric value storing the \(L^2\) norm of the SRVF.

Arguments

qfun

A function that takes a numeric vector \(s\) of values in \([0, 1]\) as input and returns the values of the SRVF at \(s\).

Examples

Run this code
q <- curve2srvf(beta[, , 1, 1])
get_l2_norm(q)

Run the code above in your browser using DataLab