In compositional geometry, powering replaces the product of a vector by a
scalar (scaling) and is defined as the closed powering of the components by
a given scalar.
See Also
Other operations in the simplex:
arithmetic,
closure(),
perturbation(),
scalar()
x <- as_composition(c(1, 2, 3))
y <- as_composition(c(1, 2, 1))
## Perturbationperturbation(x, y)
x + y
## Poweringpowering(y, 2)
y * 2## Scalar productscalar(x, y)