simplex_normalize: Normalize a nonnegative vector so that it lies in the...

Description Usage Arguments

Description

Normalize a nonnegative vector so that it lies in the probability simplex

Usage

1

Arguments

p

vector the vector


PhilChodrow/compositional-complexity documentation built on May 8, 2019, 1:33 a.m.