fvec_clamp method

void fvec_clamp(
  1. Pointer<fvec_t> in_1,
  2. double absmax
)

clamp the values of a vector within the range -abs(max), abs(max)

\param in vector to clamp \param absmax maximum value over which input vector elements should be clamped

Implementation

void fvec_clamp(
  ffi.Pointer<fvec_t> in_1,
  double absmax,
) {
  return _fvec_clamp(
    in_1,
    absmax,
  );
}