21 #ifndef _AUBIO__FVEC_H
22 #define _AUBIO__FVEC_H
smpl_t fvec_get_sample(fvec_t *s, uint_t position)
read sample value in a buffer
void fvec_zeros(fvec_t *s)
set all elements to zero
void fvec_weight(fvec_t *s, fvec_t *weight)
apply weight to vector
float smpl_t
short sample format (32 or 64 bits)
void fvec_rev(fvec_t *s)
revert order of vector elements
void fvec_print(fvec_t *s)
print out fvec data
void fvec_set_all(fvec_t *s, smpl_t val)
set all elements to a given value
void fvec_ones(fvec_t *s)
set all elements to ones
smpl_t * data
data vector of length fvec_t.length
unsigned int uint_t
unsigned integer
void fvec_set_sample(fvec_t *s, smpl_t data, uint_t position)
write sample value in a buffer
void fvec_copy(fvec_t *s, fvec_t *t)
make a copy of a vector
uint_t length
length of buffer
smpl_t * fvec_get_data(fvec_t *s)
read data from a buffer
void del_fvec(fvec_t *s)
fvec_t buffer deletion function
fvec_t * new_fvec(uint_t length)
fvec_t buffer creation function