powered by
Given Cartesian coordinates of polyspherical data, computes the 0-based indexes at which the Cartesian coordinates for each sphere start and end.
0
comp_ind_dj(d)
A vector of size sum(d) + 1.
sum(d) + 1
vector of size r with dimensions.
r
# 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
Run the code above in your browser using DataLab