void fvec_copy(const fvec_t *s, fvec_t *t)
make a copy of a vector
smpl_t * fvec_get_data(const fvec_t *s)
read data from a buffer
void fvec_set_sample(fvec_t *s, smpl_t data, uint_t position)
write sample value in a buffer
void fvec_rev(fvec_t *s)
revert order of vector elements
fvec_t * new_fvec(uint_t length)
fvec_t buffer creation function
void del_fvec(fvec_t *s)
fvec_t buffer deletion function
void fvec_weight(fvec_t *s, const fvec_t *weight)
apply weight to vector
void fvec_weighted_copy(const fvec_t *in, const fvec_t *weight, fvec_t *out)
make a copy of a vector, applying weights to each element
void fvec_zeros(fvec_t *s)
set all elements to zero
void fvec_print(const 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 fvec_get_sample(const fvec_t *s, uint_t position)
read sample value in a buffer
smpl_t * data
data vector of length fvec_t.length
uint_t length
length of buffer
unsigned int uint_t
unsigned integer
float smpl_t
short sample format (32 or 64 bits)