Changeset da01353 for src/mathutils.c


Ignore:
Timestamp:
Nov 17, 2018, 3:15:15 PM (13 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
21067f9
Parents:
195e22e4
Message:

[api] add fvec_mul

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    r195e22e4 rda01353  
    388388}
    389389
     390void
     391fvec_mul (fvec_t *o, smpl_t val)
     392{
     393  uint_t j;
     394  for (j = 0; j < o->length; j++) {
     395    o->data[j] *= val;
     396  }
     397}
     398
    390399void fvec_adapt_thres(fvec_t * vec, fvec_t * tmp,
    391400    uint_t post, uint_t pre) {
Note: See TracChangeset for help on using the changeset viewer.