Skip to main content

project

Function project 

Source
pub fn project<S: Scalar>(x: &mut [S], bounds: &[Option<(S, S)>])
Expand description

Project x onto the feasible box defined by bounds.