Learn R Programming

fdasrvf (version 2.3.6)

to_hilbert_sphere: Projects an SRVF onto the Hilbert sphere

Description

Projects an SRVF onto the Hilbert sphere

Usage

to_hilbert_sphere(qfun, qnorm = get_l2_norm(qfun))

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.

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}\).

Examples

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

Run the code above in your browser using DataLab