getItemVector method
Get item vector with id
Implementation
Float32List getItemVector(int itemId) {
final vecPtr = calloc.allocate<Float>(dimension * 4);
_factory._getItemVector(_ptr, itemId, vecPtr);
return vecPtr.asTypedList(dimension);
}
Get item vector with id
Float32List getItemVector(int itemId) {
final vecPtr = calloc.allocate<Float>(dimension * 4);
_factory._getItemVector(_ptr, itemId, vecPtr);
return vecPtr.asTypedList(dimension);
}