New version removes most of the previous limitations
(no limits on ranks, works for other dimensions than 3)
makes Tensor an instance of class Eq and Num and
introduces few operations for multiplication:
(*) - outer product
(<*>) - inner product with one bound ("sqeezed" multiplication)
(<<*>>) - inner product with two bounds
Jan
On Sat, 9 Oct 1999, Jan Skibinski wrote:
>
> I have posted a sketchy design of module Tensor:
> http://www.numeric-quest.com/haskell/Tensor.html
>
> It has some limitations, which are clearly listed, but
> it works well for 3D space. I would appreciate your
> comments for improvements.
>
> Jan
>