act65 / FAT

Functional linear algebra.
MIT License
2 stars 1 forks source link
abstract-algebra functional-programming tensor-decomposition

FAT

Functional Arrays and Tensors. Fatrix:- a matrix of functions.

See this for an introduction and motivation.

What?

A slight modification to matrix algebra.

Traditional dot
a, b  .  e,  f   =  a.e + b.g, a.f + b.h
c, d     g,  h   =  c.e + d.g, c.f + d.h
Functional dot
a, b  .  e,  f   =  a(e) + b(g), a(f) + b(h)
c, d     g,  h   =  c(e) + d(g), c(f) + d(h)

Checkout some examples here.