Skip to main content

time_vector

Function time_vector 

Source
pub fn time_vector(t0: f64, dt: f64, n: usize) -> Vec<f64>
Expand description

Generate a linearly spaced time vector from t0 to t0 + (n-1)*dt. (Same as linspace_time but with explicit start time.)