| NumericPrelude-0.0: An experimental alternative hierarchy of numeric type classes | Contents | Index |
|
Algebra.NormedSpace.Sum | Portability | requires multi-parameter type classes | Stability | provisional | Maintainer | numericprelude@henning-thielemann.de |
|
|
|
|
|
Description |
Abstraction of normed vector spaces
|
|
Synopsis |
|
class (Real a, C a v) => C a v where | |
|
|
Documentation |
|
class (Real a, C a v) => C a v where |
The super class is only needed to state the laws
v == zero == norm v == zero
norm (scale x v) == abs x * norm v
norm (u+v) <= norm u + norm v
| | Methods | | | Instances | C Double Double | C Float Float | C Int Int | C Integer Integer | (C a, C a v0, C a v1) => C a (v0, v1) | (C a, C a v0, C a v1, C a v2) => C a (v0, v1, v2) | (Ord a, C a v) => C a (T v) | (C a, C a v) => C a [v] | (Ord i, Eq a, Eq v, C a, C a v) => C a (Map i v) |
|
|
|
Produced by Haddock version 0.7 |