futhark-0.25.32: An optimising compiler for a functional, array-oriented language.

Safe Haskell | None
Language | GHC2021

Futhark.IR.Mem.IxFunWrapper

Description

Perform index function operations in both algebraic and LMAD representations.

# Documentation

type IxFun num = (Maybe (LMAD num), IxFun num) Source #

iota :: IntegralExp num => Shape num -> IxFun num Source #

permute :: IxFun num -> Permutation -> IxFun num Source #

reshape :: (Eq num, IntegralExp num) => IxFun num -> Shape num -> IxFun num Source #

coerce :: IxFun num -> Shape num -> IxFun num Source #

slice :: (Eq num, IntegralExp num) => IxFun num -> Slice num -> IxFun num Source #

flatSlice :: IntegralExp num => IxFun num -> FlatSlice num -> IxFun num Source #

expand :: IntegralExp num => num -> num -> IxFun num -> IxFun num Source #