interp_polysph: Interpolation on the polysphere

View source: R/sreps.R

interp_polysphR Documentation

Interpolation on the polysphere

Description

Creates a sequence of points on the polysphere linearly interpolating between two points extrinsically.

Usage

interp_polysph(x, y, ind_dj, N = 10)

Arguments

x

a vector of size sum(d) + r with the begin point.

y

a vector of size sum(d) + r with the end point.

ind_dj

0-based index separating the blocks of spheres that is computed with comp_ind_dj.

N

number of points in the sequence. Defaults to 10.

Value

A matrix of size c(N, sum(d) + r) with the interpolation.

Examples

interp_polysph(x = c(1, 0), y = c(0, 1), ind_dj = comp_ind_dj(d = 1))

polykde documentation built on April 16, 2025, 1:11 a.m.