accelerate-kullback-liebler-0.1.1.0: Kullback-Liebler divergence

Safe HaskellNone
LanguageHaskell2010

Data.Array.Accelerate.KullbackLiebler

Synopsis

Documentation

kullbackLiebler :: Floating e => Acc (Vector e) -> Acc (Vector e) -> Acc (Scalar e) Source #

Assumes input is nonzero

entropy :: Floating e => Acc (Vector e) -> Acc (Scalar e) Source #

Assumes input is nonzero

dropZeroes :: (Eq e, Num (Exp e)) => Acc (Vector e) -> Acc (Vector e) Source #

scale :: Floating e => Acc (Vector e) -> Acc (Vector e) Source #

Doesn't check for negative values

Since: 0.1.1.0