FlatIndex constructor

FlatIndex(
  1. int dim, {
  2. VectorMetric defaultMetric = VectorMetric.l2sq,
})

Implementation

FlatIndex(this.dim, {this.defaultMetric = VectorMetric.l2sq})
    : _data = Float32List(0);