pub fn periodic_peak(parts: &[Stretch], out: [f64; 2]) -> f64Expand description
The peak of out . x over the periodic state of a linear model of two states driven through parts in order, over
and over (each a Stretch). Over a stretch x = x* + e^{a t} (x0 - x*), x* = -a^-1 b, so a period maps x0 to
M x0 + v and the periodic state is (I - M)^-1 v. Within a stretch out . x = y* + c+ e^{(m+d) t} + c- e^{(m-d) t}
(modes), which has at most one turning point, where e^{2 d t} = -c- (m-d) / (c+ (m+d)); the peak is at a stretch’s
end or there. NaN for no stretch.