fix comments
This commit is contained in:
parent
fe4f44718e
commit
3b4ccd52a5
10
src/misc.rs
10
src/misc.rs
@ -22,17 +22,17 @@ where
|
|||||||
/// index was calculated with `.iter().position(....` which was horribly
|
/// index was calculated with `.iter().position(....` which was horribly
|
||||||
/// inefficient
|
/// inefficient
|
||||||
pub struct SteppedVector {
|
pub struct SteppedVector {
|
||||||
// Actual data being referenced. HAS to be sorted from minimum to maximum
|
/// Actual data being referenced. HAS to be sorted from minimum to maximum
|
||||||
data: Vec<f64>,
|
data: Vec<f64>,
|
||||||
|
|
||||||
// Minimum value
|
/// Minimum value
|
||||||
min: f64,
|
min: f64,
|
||||||
|
|
||||||
// Maximum value
|
/// Maximum value
|
||||||
max: f64,
|
max: f64,
|
||||||
|
|
||||||
// Since all entries in `data` are evenly spaced, this field stores the step between 2 adjacent
|
/// Since all entries in `data` are evenly spaced, this field stores the
|
||||||
// elements
|
/// step between 2 adjacent elements
|
||||||
step: f64,
|
step: f64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user