| 67 | } |
| 68 | |
| 69 | inline 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 | |
| 78 | inline vectorDouble vectorDoubleCreate(long dim) |
| 79 | { |
no outgoing calls
no test coverage detected