emel/lazy/math/geometry
Functions
pub fn dot_product(x: ZList(Float), y: ZList(Float)) -> Float
pub fn euclidean_distance(
x: ZList(Float),
y: ZList(Float),
) -> Float
pub fn nearest_neighbor(
point: ZList(Float),
neighbors: ZList(ZList(Float)),
) -> ZList(Float)