get_l2_norm: Computes the L^2 norm of an SRVF

View source: R/refactoring.R

get_l2_normR Documentation

Computes the L^2 norm of an SRVF

Description

Computes the L^2 norm of an SRVF

Usage

get_l2_norm(qfun)

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.

Value

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

Examples

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

fdasrvf documentation built on Nov. 5, 2025, 5:51 p.m.