The closest point of the space to theta. Idempotent up to tolerance, and
its output always satisfies contains().
Examples
s <- simplex_region(vertices = diag(3))
project(s, c(2, -1, 0))
#> [1] 1 0 0
The closest point of the space to theta. Idempotent up to tolerance, and
its output always satisfies contains().
s <- simplex_region(vertices = diag(3))
project(s, c(2, -1, 0))
#> [1] 1 0 0