Function rustplot::data_parser::vec_sub [] [src]

pub fn vec_sub(vec1: &Vec<f64>, vec2: &Vec<f64>) -> Vec<f64>

Returns a vector with elements with values of the difference between the corresponding elements of the two provided vectors.

vec1 is the vector whos elements will be the minuend.

vec2 is the vector whos elements will be the subtrahend.