fvec_max_elem method

int fvec_max_elem(
  1. Pointer<fvec_t> s
)

find the index of the max of a vector

\param s vector to get the index from

\return the index of the maximum element of v

Implementation

int fvec_max_elem(
  ffi.Pointer<fvec_t> s,
) {
  return _fvec_max_elem(
    s,
  );
}