menu
lunr package
documentation
vector.dart
Vector
similarity method
similarity method
dark_mode
light_mode
similarity
method
double
similarity
(
dynamic
otherVector
)
Implementation
double similarity(otherVector) => magnitude() != 0 ? dot(otherVector) / magnitude() : 0;
lunr package
documentation
vector
Vector
similarity method
Vector class