- Timestamp:
- Nov 17, 2018, 3:15:15 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 21067f9
- Parents:
- 195e22e4
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mathutils.c
r195e22e4 rda01353 388 388 } 389 389 390 void 391 fvec_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 390 399 void fvec_adapt_thres(fvec_t * vec, fvec_t * tmp, 391 400 uint_t post, uint_t pre) { -
src/mathutils.h
r195e22e4 rda01353 193 193 */ 194 194 void fvec_add (fvec_t * v, smpl_t c); 195 196 /** multiply each elements of a vector by a scalar 197 198 \param v vector to add constant to 199 \param s constant to scale v with 200 201 */ 202 void fvec_mul (fvec_t * v, smpl_t s); 195 203 196 204 /** remove the minimum value of the vector to each elements
Note: See TracChangeset
for help on using the changeset viewer.