package vpt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

A point.

val dist : t -> t -> float

dist should be a distance function: symmetric, zero and the diagonal and verifying the triangular inequality. Be _very_ careful with the implementation of your metric (dist x x = 0.0, NaN is not a proper distance, etc).

OCaml

Innovation. Community. Security.