Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DISTRHO/Cardinal
/ lvec_zeros
Function
lvec_zeros
deps/aubio/src/lvec.c:69–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
void lvec_zeros(lvec_t *s) {
70
#if HAVE_MEMCPY_HACKS
71
memset(s->data, 0, s->length * sizeof(lsmp_t));
72
#else
73
lvec_set_all (s, 0.);
74
#endif
75
}
76
77
void lvec_ones(lvec_t *s) {
78
lvec_set_all (s, 1.);
Callers
1
aubio_filter_do_reset
Function · 0.85
Calls
1
lvec_set_all
Function · 0.85
Tested by
no test coverage detected