
Numeric.LinearAlgebra.Tensor  Stability  experimental  Maintainer  Alberto Ruiz <aruiz@um.es> 





Description 
Tensor computations. Indices can only be contracted if they are of different Variant type.


Synopsis 




The Tensor type





Constructors   Instances  



:: Coord t   => [Int]  coordinates
 > [t]   > Tensor t   Creates a tensor from a list of dimensions and a list of coordinates.
A positive dimension means that the index is assumed to be contravariant (vectorlike), and
a negative dimension means that the index is assumed to be covariant (like a linear function, or covector). Contractions can only be performed between indices of different type.



Tensor creation utilities



Create an Tensor from a list of parts with a contravariant index (superindex = newIndex Contra).



Create an Tensor from a list of parts with a covariant index (subindex = newIndex Co).



Create a contravariant 1st order tensor from a list of coordinates.



Create a covariant 1st order tensor from a list of coordinates.



Create a 1contravariant, 1covariant 2nd order from list of lists of coordinates.


Index manipulation



Change the Variant nature of all dimensions to the opposite ones.



Make all dimensions covariant.



Make all dimensions contravariant.



Remove the Variant nature of coordinates.


General array operations


module Numeric.LinearAlgebra.Array 

Produced by Haddock version 2.6.0 