Skip to main content

advance

Function advance 

pub fn advance(state: State, push_right: bool) -> State
Expand description

One Euler step of the dynamics under a push to the right (true) or left.