Safe Haskell | None |
---|
Documentation
paramWith :: (C sh, Value val) => T p (T tag sh) -> (forall parameters. (Storable parameters, C parameters) => (p -> parameters) -> (T parameters -> val (T tag sh)) -> a) -> aSource
offsetCode :: C sh => T (Shape sh) -> T (Index sh) -> CodeGenFunction r (Value Size)Source
computeSize :: C sh => T (Shape sh) -> CodeGenFunction r (Value Size)Source
C sh => Storable (T tag sh) | |
(~ * tag ShapeTag, C sh) => C (T tag sh) | |
(~ * tag ShapeTag, C sh) => Indexed (T tag sh) | |
(C sh, StructFields (Struct sh)) => C (T tag sh) | |
C sh => C (T tag sh) | |
Decompose tag sh => Decompose (T tag sh) | |
(~ * tag ShapeTag, ~ * sh Z) => Scalar (T tag sh) | |
(~ * tag ShapeTag, C sh) => C (T tag sh) |
!tail :. !head |
(Decompose tag sh, Decompose s) => Decompose tag (:. sh s) | |
(Eq tail, Eq head) => Eq (:. tail head) | |
(Ord tail, Ord head) => Ord (:. tail head) | |
(Read tail, Read head) => Read (:. tail head) | |
(Show tail, Show head) => Show (:. tail head) | |
(Compose sh, ~ * (Composed sh) (T (Tag (Composed sh)) (Unwrap (Composed sh))), Compose s) => Compose (:. sh s) | |
(C ix0, Single i) => C (:. ix0 i) |
loadMultiValue :: C sh => Value (Ptr (Struct (Struct sh))) -> CodeGenFunction r (T (T tag sh))Source