MCPcopy Create free account
hub / github.com/audeering/opensmile / vectorFloatCreate

Function vectorFloatCreate

scripts/modeltrain/arff-standardize.c:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69inline vectorFloat vectorFloatCreate(long dim)
70{
71 vectorFloat ret = (vectorFloat)malloc(sizeof(sVectorFloat));
72 if (ret == NULL) return NULL;
73 ret->x = (float *)calloc(1,sizeof(float)*dim);
74 ret->dim = dim;
75 return ret;
76}
77
78inline vectorDouble vectorDoubleCreate(long dim)
79{

Callers 2

getMatrix2DFloatRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected