bamos / block

An intelligent block matrix library for numpy, PyTorch, and beyond.
Apache License 2.0
297 stars 33 forks source link

Added Tridiagonal block creation #16

Closed bamos closed 5 years ago

bamos commented 5 years ago

From @dutta-alankar:

Tridiagonal block matrices are quite frequent in Physics and Engineering problems like for example Hamiltonians are Tridiagonal in Quantum Mechanics. Its therefore pretty handy to have a function ready made for the purpose