Learn R Programming

polykde (version 1.1.7)

interp_polysph: 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)

Value

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

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.

Examples

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

Run the code above in your browser using DataLab