ProxN-0.0.1: Proximity sets in N dimensions

Data.ProxN.VecN

Documentation

class (Peano n, Applicative (VecN n), Functor (VecN n)) => VecNClass n whereSource

Associated Types

data VecN n :: * -> *Source

Methods

distance2 :: Num a => VecN n a -> VecN n a -> aSource

vecCartProd :: VecN n [a] -> [VecN n a]Source

fromList :: [a] -> Maybe (VecN n a)Source

Instances