comp_ind_dj {polykde} | R Documentation |
Index of spheres on a polysphere
Description
Given Cartesian coordinates of polyspherical data, computes
the 0
-based indexes at which the Cartesian coordinates for each
sphere start and end.
Usage
comp_ind_dj(d)
Arguments
d |
vector of size |
Value
A vector of size sum(d) + 1
.
Examples
# Example on (S^1)^3
d <- c(1, 1, 1)
comp_ind_dj(d = d)
comp_ind_dj(d = d) + 1
# Example on S^1 x S^2
d <- c(1, 2)
comp_ind_dj(d = d)
comp_ind_dj(d = d) + 1
[Package polykde version 1.1.4 Index]