u <- rep(1/3, 3)
smdtape <- tape_smd("sim", "sqrt", "sph", "ppi",
ytape = u,
usertheta = ppi_paramvec(p = 3),
bdryw = "minsq", acut = 0.01,
verbose = FALSE
)$smdtape
quadratictape_parts(smdtape,
tmat = rbind(u, c(1/4, 1/4, 1/2)))
Run the code above in your browser using DataLab