accelerate-kullback-liebler-0.1.1.0: Kullback-Liebler divergence
Data.Array.Accelerate.KullbackLiebler
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 #
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