construct
pub fn seg1<T: Float>(range: [T; 2], a: Fn1<T>) -> Fn1<T>
Uses a range to pick a segment of a curve.