# Uses of Interface
org.apache.lucene.util.quantization.ScalarQuantizedVectorSimilarity

Packages that use ScalarQuantizedVectorSimilarity
Package
Description
org.apache.lucene.util.quantization
Provides quantization methods for scaling vector values to smaller data types and possibly fewer dimensions

## Uses of ScalarQuantizedVectorSimilarity in org.apache.lucene.util.quantization

Classes in org.apache.lucene.util.quantization that implement ScalarQuantizedVectorSimilarity
Modifier and Type
Class
Description
`static class`
`ScalarQuantizedVectorSimilarity.DotProduct`
Calculates dot product on quantized vectors, applying the appropriate corrections
`static class`
`ScalarQuantizedVectorSimilarity.Euclidean`
Calculates euclidean distance on quantized vectors, applying the appropriate corrections
`static class`
`ScalarQuantizedVectorSimilarity.MaximumInnerProduct`
Calculates max inner product on quantized vectors, applying the appropriate corrections
Methods in org.apache.lucene.util.quantization that return ScalarQuantizedVectorSimilarity
Modifier and Type
Method
Description
`static ScalarQuantizedVectorSimilarity`
ScalarQuantizedVectorSimilarity.`fromVectorSimilarity(VectorSimilarityFunction sim, float constMultiplier, byte bits)`
Creates a `ScalarQuantizedVectorSimilarity` from a `VectorSimilarityFunction` and the constant multiplier used for quantization.