Copyright | (c) Johannes Kropp |
---|---|
License | BSD 3-Clause |
Maintainer | Johannes Kropp <jodak932@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
Documentation
Datatype for a holor which is basically a multidimensional array. Sometimes in literature the word tensor is used instead, but this is not correct because a tensor has additional properties that do not apply for multidimensional arrays in general. For an explanation of holors see https://en.wikipedia.org/wiki/Parry_Moon#Holors
Most often a holor is used as the type for a vector or matrix. Holors as row vectors have shape [1,n] and column vectors [m,1]. Matrices are of shape [m,n]. A holor with a single element has shape [1,1]. Note that the length of the shape is always at least two.
The indexing of the holor entries starts with 0 in each dimension.
Sum type of various errors that can be thrown in non trivial algorithms