Module acap::cos[][src]

Expand description

Structs

Equips any coordinate space with the angular distance metric.

Equips any coordinate space with the cosine distance function.

Error type for failed conversions from angles outside of $[0, \pi]$ to AngularDistance.

Equips any coordinate space with the angular distance metric for pre-normalized (unit magnitude) points.

Equips any coordinate space with the cosine distance function for pre-normalized (unit magnitude) points.

Functions

Compute the angular distance between two points.

Compute the cosine distance between two points.

Compute the cosine similarity between two points.

Compute the angular distance between two points.

Compute the cosine distance between two pre-normalized (unit magnitude) points.

Compute the cosine similarity between two pre-normalized (unit magnitude) points.