fvec_set_all method

void fvec_set_all(
  1. Pointer<fvec_t> s,
  2. double val
)

set all elements to a given value

\param s vector to modify \param val value to set elements to

Implementation

void fvec_set_all(
  ffi.Pointer<fvec_t> s,
  double val,
) {
  return _fvec_set_all(
    s,
    val,
  );
}