void fvec_print(const fvec_t *s)
print out fvec data
void fvec_zeros(fvec_t *s)
set all elements to zero
float smpl_t
short sample format (32 or 64 bits)
void fvec_weight(fvec_t *s, const fvec_t *weight)
apply weight to vector
void fvec_rev(fvec_t *s)
revert order of vector elements
void fvec_set_all(fvec_t *s, smpl_t val)
set all elements to a given value
smpl_t * fvec_get_data(const fvec_t *s)
read data from a buffer
void fvec_copy(const fvec_t *s, fvec_t *t)
make a copy of a 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
smpl_t fvec_get_sample(const fvec_t *s, uint_t position)
read sample value in a buffer
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
uint_t length
length of buffer
void del_fvec(fvec_t *s)
fvec_t buffer deletion function
fvec_t * new_fvec(uint_t length)
fvec_t buffer creation function