Skip to main content

capped

Function capped 

fn capped<R: Scalar>(t: R, bound: R) -> R
Expand description

t with its magnitude capped at bound’s, its sign kept.