Safe Haskell | None |
---|
Metric spaces are mathematical structures that have a notion of distance between objects. See wikipedia for more information: https://en.wikipedia.org/wiki/Metric_space
- class HasRing s => MetricSpace s where
- class (Module m, MetricSpace m) => Norm m where
Documentation
class HasRing s => MetricSpace s whereSource
We assume that the MetricSpace on s is compatible with the ordering on s
Floating r => MetricSpace (L2 [r]) |
class (Module m, MetricSpace m) => Norm m whereSource
(Module m, MetricSpace m) => Norm m |