accelerate-utility-1.0.0.1: Utility functions for the Accelerate framework

Safe HaskellNone
LanguageHaskell98

Data.Array.Accelerate.Utility.Ord

Documentation

argmin :: (Elt a, Elt b, Ord a) => Exp (a, b) -> Exp (a, b) -> Exp (a, b) Source #

argminimum :: (Slice sh, Shape sh, Elt a, Elt b, Ord a) => Acc (Array sh (a, b)) -> Acc (Scalar (a, b)) Source #

argmax :: (Elt a, Elt b, Ord a) => Exp (a, b) -> Exp (a, b) -> Exp (a, b) Source #

argmaximum :: (Slice sh, Shape sh, Elt a, Elt b, Ord a) => Acc (Array sh (a, b)) -> Acc (Scalar (a, b)) Source #