vp-tree-0.1.0.1: Vantage Point Trees
Safe HaskellNone
LanguageHaskell2010

Data.VPTree.TestData

Synopsis

Documentation

data P Source #

Constructors

P !Double !Double 

Instances

Instances details
Eq P Source # 
Instance details

Defined in Data.VPTree.TestData

Methods

(==) :: P -> P -> Bool #

(/=) :: P -> P -> Bool #

Show P Source # 
Instance details

Defined in Data.VPTree.TestData

Methods

showsPrec :: Int -> P -> ShowS #

show :: P -> String #

showList :: [P] -> ShowS #

Generic P Source # 
Instance details

Defined in Data.VPTree.TestData

Associated Types

type Rep P :: Type -> Type #

Methods

from :: P -> Rep P x #

to :: Rep P x -> P #

NFData P Source # 
Instance details

Defined in Data.VPTree.TestData

Methods

rnf :: P -> () #

type Rep P Source # 
Instance details

Defined in Data.VPTree.TestData

type Rep P = D1 ('MetaData "P" "Data.VPTree.TestData" "vp-tree-0.1.0.1-EcwP6uYkoBw2ZyJEMHHmtu" 'False) (C1 ('MetaCons "P" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double)))

(.+.) :: P -> P -> P Source #

distp :: P -> P -> Double Source #

gaussMix :: PrimMonad m => Double -> Double -> Double -> Double -> Prob m P Source #

binary mixture of isotropic 2d normal distribs

binDisk :: PrimMonad m => Double -> Double -> P -> P -> Prob m P Source #