compute the sum of all elements of a vector
\param v vector to compute the sum of
\return the sum of v
double fvec_sum( ffi.Pointer<fvec_t> v, ) { return _fvec_sum( v, ); }