Liking cljdoc? Tell your friends :D

carocad.frechet


distanceclj/s

(distance P Q dist-fn)

Compute the discrete frechet distance between two curves.

  • P and Q MUST be vectors; as well as each point (Pi, Qi) on them. Example: [[1 2],[3 4]].

  • dist-fn is a function used to evaluate the distance between any two points of P and Q.

Compute the discrete frechet distance between two curves.

- `P` and `Q` MUST be vectors; as well as each point (Pi, Qi)
on them. Example: [[1 2],[3 4]].

- `dist-fn` is a function used to evaluate the distance between any two
points of P and Q.
sourceraw docstring

euclideanclj/s

(euclidean point1 point2)

compute the Euclidean distance between two points. Both points must be N dimensional

compute the Euclidean distance between two points. Both points
must be N dimensional
sourceraw docstring

partial-distanceclj/s

(partial-distance P Q dist-fn)

Compute the partial frechet distance among P and Q. The partial distance is calculated as the frechet distance among R and T, where R and T are the longest continuous sub-curves from P and Q that minimize the frechet distance.

  • P and Q MUST be vectors; as well as each point (Pi, Qi) on them. Example: [[1 2],[3 4]]

  • dist-fn is a function used to evaluate the distance between any two points of P and Q.

WARNING: The partial-frechet distance is not a true mathematical metric. It was created by me to support my thesis work. Use at your own risk 👾

Compute the partial frechet distance among P and Q. The partial distance is
calculated as the frechet distance among R and T, where R and T are the longest
continuous sub-curves from P and Q that minimize the frechet distance.

- `P` and `Q` MUST be vectors; as well as each point (Pi, Qi)
on them. Example: [[1 2],[3 4]]

- `dist-fn` is a function used to evaluate the distance between any two
points of P and Q.

WARNING: The partial-frechet distance is not a true mathematical metric. It
was created by me to support my thesis work. Use at your own risk 👾
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close