Function indxvec::tof64

source · []
pub fn tof64<T>(s: &[T]) -> Vec<f64> where
    T: Copy,
    f64: From<T>, 
Expand description

Helper function to copy and cast entire &[T] to Vec. Like the standard .to_vec() method but also recasts to f64 end type