fvec_mul method

void fvec_mul(
  1. Pointer<fvec_t> v,
  2. double s
)

multiply each elements of a vector by a scalar

\param v vector to add constant to \param s constant to scale v with

Implementation

void fvec_mul(
  ffi.Pointer<fvec_t> v,
  double s,
) {
  return _fvec_mul(
    v,
    s,
  );
}