Changeset 633400d for src/mathutils.h
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (5 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mathutils.h
r5b46bc3 r633400d 118 118 void fvec_ishift (fvec_t * v); 119 119 120 /** push a new element to the end of a vector, erasing the first element and 121 * sliding all others 122 123 \param in vector to push to 124 \param new_elem new_element to add at the end of the vector 125 126 In numpy words, this is equivalent to: in = np.concatenate([in, [new_elem]])[1:] 127 128 */ 129 void fvec_push(fvec_t *in, smpl_t new_elem); 130 120 131 /** compute the sum of all elements of a vector 121 132 … … 182 193 */ 183 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); 184 203 185 204 /** remove the minimum value of the vector to each elements … … 302 321 uint_t aubio_next_power_of_two(uint_t a); 303 322 323 /** return the log2 factor of the given power of 2 value a */ 324 uint_t aubio_power_of_two_order(uint_t a); 325 304 326 /** compute normalised autocorrelation function 305 327
Note: See TracChangeset
for help on using the changeset viewer.