void lvec_ones(lvec_t *s)
set all elements to ones
void lvec_zeros(lvec_t *s)
set all elements to zero
void del_lvec(lvec_t *s)
lvec_t buffer deletion function
lsmp_t lvec_get_sample(lvec_t *s, uint_t position)
read sample value in a buffer
lvec_t * new_lvec(uint_t length)
lvec_t buffer creation function
void lvec_set_all(lvec_t *s, smpl_t val)
set all elements to a given value
void lvec_set_sample(lvec_t *s, lsmp_t data, uint_t position)
write sample value in a buffer
void lvec_print(const lvec_t *s)
print out lvec data
lsmp_t * lvec_get_data(const lvec_t *s)
read data from a buffer
Buffer for real data in double precision.
uint_t length
length of buffer
lsmp_t * data
data array of size [length]
unsigned int uint_t
unsigned integer
float smpl_t
short sample format (32 or 64 bits)
double lsmp_t
long sample format (64 bits or more)