Documentation
¶
Overview ¶
Package vecmath provides vector math utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CosineSimilarity ¶
CosineSimilarity computes the cosine similarity between two vectors. Returns 0.0 if either vector is zero-length or the lengths differ.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.