accelerate-arithmetic-1.0.0.1: Linear algebra and interpolation using the Accelerate framework

Safe HaskellNone
LanguageHaskell98

Data.Array.Accelerate.Arithmetic.Interpolation

Synopsis

Documentation

bisect :: (Slice ix, Shape ix, Ord a, Elt a) => Vector ix a -> Scalar ix a -> Scalar ix (Int, Int) -> Scalar ix (Int, Int) Source #

lookupInterval :: (Slice ix, Shape ix, Ord a, Elt a) => Vector ix a -> Scalar ix a -> Scalar ix Int Source #

type Interpolator13 a = (a, a) -> (a, a) -> (a, a) -> (a, a) -> a -> a Source #

One node before index 0 and three nodes starting from index 0.

sampleBasisFunctions13 :: (Slice ix, Shape ix, Ord a, Num a) => Interpolator13 (Exp a) -> Vector Z a -> Vector ix a -> Rows ix a Source #