pub fn vector_range_float(vector: Vec<f64>) -> f64
Expand description

Calculates the range of a given vector of 64-bit floating-point numbers, which is the difference between the maximum and minimum values in the vector.

Arguments

  • vector - A vector of 64-bit floating-point numbers

Returns

  • f64 - The range of the input vector, calculated as the difference between the maximum and minimum values