fvec_mean method

double fvec_mean(
  1. Pointer<fvec_t> s
)

compute the mean of a vector

\param s vector to compute mean from \return the mean of v

Implementation

double fvec_mean(
  ffi.Pointer<fvec_t> s,
) {
  return _fvec_mean(
    s,
  );
}