pub fn valr<'a,I,T>(y: I) -> Box<Iterator<Item=(f64,f64)>+'a>
where I: IntoIterator<Item=&'a T>+'a,
    T: Into<f64>+Copy+'a
{
    Box::new((0..).into_iter().zip(y).map(|(x,&y)| (x.into(),y.into())))
}
/// data from an iterator of references plotted against index.
/// Like `zip`, the reference type can be anything that converts to `f64`
data from an iterator of references plotted against index.
Like `zip`, the reference type can be anything that converts to `f64`
data from an iterator of references plotted against index . Like ` zip ` the reference type can be anything that converts to ` f64 `
pub fn valr<'a,I,T>(y: I) -> Box<Iterator<Item=(f64,f64)>+'a>
where I: IntoIterator<Item=&'a T>+'a,
    T: Into<f64>+Copy+'a
{
    Box::new((0..).into_iter().zip(y).map(|(x,&y)| (x.into(),y.into())))
}
pub fn valr < ' a , I , T > ( y : I ) -> Box < Iterator < Item = ( f64 , f64 ) > + ' a > where I : IntoIterator < Item = & ' a T > + ' a , T : Into < f64 > + Copy + ' a { Box :: new ( ( 0 .. ) . into_iter ( ) . zip ( y ) . map ( | ( x , & y ) | ( x . into ( ) , y . into ( ) ) ) ) }
data from an iterator of references plotted against index.
data from an iterator of references plotted against index .
y
I
y
I