multilinear-0.5.0.0: Comprehensive and efficient (multi)linear algebra implementation.

Copyright(c) Artur M. Brodzki 2018
LicenseBSD3
Maintainerartur@brodzki.org
Stabilityexperimental
PortabilityWindows/POSIX
Safe HaskellNone
LanguageHaskell2010

Multilinear.Tensor

Contents

Description

  • This module provides convenient constructors that generate a arbitrary finitely- or infinitely-dimensional tensors.
  • Finitely-dimensional tensors provide much greater performance than inifitely-dimensional
Synopsis

Generators

generate Source #

Arguments

:: (Num a, Unbox a) 
=> (String, [Int])

Upper indices names (one character per index) and its sizes

-> (String, [Int])

Lower indices names (one character per index) and its sizes

-> ([Int] -> [Int] -> Tensor a)

Generator function (f [u1,u2,...] [d1,d2,...] returns a tensor element at t [u1,u2,...] [d1,d2,...])

-> Tensor a

Generated tensor

Generate tensor composed of other tensors