Changeset 1120f86 for src/fvec.h
- Timestamp:
- Apr 21, 2016, 6:21:43 PM (8 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- ae5d58a
- Parents:
- c4d251c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fvec.h
rc4d251c r1120f86 90 90 91 91 */ 92 smpl_t fvec_get_sample( fvec_t *s, uint_t position);92 smpl_t fvec_get_sample(const fvec_t *s, uint_t position); 93 93 94 94 /** write sample value in a buffer … … 106 106 107 107 */ 108 smpl_t * fvec_get_data( fvec_t *s);108 smpl_t * fvec_get_data(const fvec_t *s); 109 109 110 110 /** print out fvec data … … 113 113 114 114 */ 115 void fvec_print( fvec_t *s);115 void fvec_print(const fvec_t *s); 116 116 117 117 /** set all elements to a given value … … 153 153 154 154 */ 155 void fvec_weight(fvec_t *s, fvec_t *weight);155 void fvec_weight(fvec_t *s, const fvec_t *weight); 156 156 157 157 /** make a copy of a vector … … 161 161 162 162 */ 163 void fvec_copy( fvec_t *s, fvec_t *t);163 void fvec_copy(const fvec_t *s, fvec_t *t); 164 164 165 165 /** make a copy of a vector, applying weights to each element … … 170 170 171 171 */ 172 void fvec_weighted_copy( fvec_t *in,fvec_t *weight, fvec_t *out);172 void fvec_weighted_copy(const fvec_t *in, const fvec_t *weight, fvec_t *out); 173 173 174 174 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.