aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested.hs
blob: 0de3884afd2eec8605800ae3aa7b31cbc57bc365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{-# LANGUAGE ExplicitNamespaces #-}
module Data.Array.Nested (
  -- * Ranked arrays
  Ranked,
  IxR(..),
  rshape, rindex, rindexPartial, rgenerate, rsumOuter1,
  rtranspose,
  -- ** Lifting orthotope operations to 'Ranked' arrays
  rlift,

  -- * Shaped arrays
  Shaped,
  IxS(..),
  KnownShape(..), SShape(..),
  sshape, sindex, sindexPartial, sgenerate, ssumOuter1,
  stranspose,
  -- ** Lifting orthotope operations to 'Shaped' arrays
  slift,

  -- * Mixed arrays
  Mixed,
  IxX(..),
  KnownShapeX(..), StaticShapeX(..),
  mgenerate,

  -- * Array elements
  Elt(mshape, mindex, mindexPartial, mlift),
  Primitive(..),

  -- * Inductive natural numbers
  module Data.INat,

  -- * Further utilities / re-exports
  type (++),
  VU.Unbox,
) where

import qualified Data.Vector.Unboxed as VU

import Data.Array.Mixed
import Data.Array.Nested.Internal
import Data.INat