to_hilbert_sphere {fdasrvf}R Documentation

Projects an SRVF onto the Hilbert sphere

Description

Projects an SRVF onto the Hilbert sphere

Usage

to_hilbert_sphere(qfun, qnorm = sqrt(get_l2_inner_product(qfun, 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.

qnorm

A numeric value specifying the L^2 norm of the SRVF. Defaults to \sqrt{\langle q, q \rangle}.

Value

A function that takes a numeric vector s of values in [0, 1] as input and returns the values of the SRVF projected onto the Hilbert sphere.

Examples

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

[Package fdasrvf version 2.3.1 Index]