fromFloats

Creates a FloatVectorValues from a list of float arrays.

Return

a FloatVectorValues instance

Parameters

vectors

the list of float arrays

dim

the dimension of the vectors