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

Computes the sum of all elements in a given vector of floating-point numbers.

Arguments

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

Returns

  • f64 - The sum of all elements in the input vector