Copyright | (c) Artur M. Brodzki 2018 |
---|---|
License | BSD3 |
Maintainer | artur@brodzki.org |
Stability | experimental |
Portability | Windows/POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- This module provides convenient constructors that generate a n-vector (tensor with n upper indices with finite or infinite size).
- Finitely-dimensional n-vectors provide much greater performance than infinitely-dimensional
Synopsis
- fromIndices :: (Num a, Unbox a, Multilinear t a) => String -> [Int] -> ([Int] -> a) -> t a
- const :: (Num a, Unbox a, Multilinear t a) => String -> [Int] -> a -> t a