summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Tensor.hs
blob: 27747ac9ed5d445d96a04a86baac676539478222 (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
-----------------------------------------------------------------------------
-- |
-- Module      :  Data.Packed.Tensor
-- Copyright   :  (c) Alberto Ruiz 2007
-- License     :  GPL-style
--
-- Maintainer  :  Alberto Ruiz <aruiz@um.es>
-- Stability   :  experimental
-- Portability :  portable
--
-- Basic tensor operations
--
-----------------------------------------------------------------------------

module Data.Packed.Tensor (
    -- * Construction
    Tensor, tensor, scalar,
    -- * Manipulation
    IdxName, IdxType(..), IdxDesc(..), structure, dims, coords, parts,
    tridx, withIdx, raise,
    -- * Operations
    addT, mulT,
    -- * Exterior Algebra
    wedge, dual, leviCivita, innerLevi, innerAT, niceAS,
    -- * Misc
    liftTensor, liftTensor2
) where


import Data.Packed.Internal.Tensor