Struct optimization_engine::constraints::Simplex [−][src]
pub struct Simplex { /* fields omitted */ }
Expand description
A simplex with level $\alpha$ is a set of the form $\Delta_\alpha^n = \{x \in \mathbb{R}^n {}:{} x \geq 0, \sum_i x_i = \alpha\}$, where $\alpha$ is a positive constant.
Implementations
Trait Implementations
Project onto $\Delta_\alpha^n$ using Condat’s fast projection algorithm.
See: Laurent Condat. Fast Projection onto the Simplex and the $\ell_1$ Ball. Mathematical Programming, Series A, Springer, 2016, 158 (1), pp.575-585. ⟨10.1007/s10107-015-0946-6⟩.
Auto Trait Implementations
impl RefUnwindSafe for Simplex
impl UnwindSafe for Simplex
Blanket Implementations
Mutably borrows from an owned value. Read more