Thanks to visit codestin.com
Credit goes to docs.rs

logspace

Function logspace 

Source
pub fn logspace<F>(base: F, a: F, b: F, n: usize) -> Logspace<F> 
where F: Float,
Available on crate feature std only.
Expand description

An iterator of a sequence of logarithmically spaced numbers.

The Logspace has n elements, where the first element is base.powf(a) and the last element is base.powf(b). If base is negative, this iterator will return all negative values.

The iterator element type is F, where F must implement Float, e.g. f32 or f64.

Panics if converting n - 1 to type F fails.