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

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

Multilinear.NForm

Contents

Description

  • This module provides convenient constructors that generates n-forms (tensors with n lower indices with finite or infinite size).
  • Finitely-dimensional n-forms provide much greater performance than infinitely-dimensional
Synopsis

Generators

fromIndices Source #

Arguments

:: (Num a, Unbox a, Multilinear t a) 
=> String

Indices names (one characted per index)

-> [Int]

Indices sizes

-> ([Int] -> a)

Generator function

-> t a

Generated N-form

Generate N-form as function of its indices

const Source #

Arguments

:: (Num a, Unbox a, Multilinear t a) 
=> String

Indices names (one characted per index)

-> [Int]

Indices sizes

-> a

N-form elements value

-> t a

Generated N-form

Generate N-form with all components equal to v