Implements the action of a Hamiltonian whose matrix consists of a sum of tridiagonal matrices. More...
#include <TridiagonalHamiltonian.h>
Public Types | |
typedef Base::Tridiagonal | Tridiagonal |
typedef Base::Tridiagonals | Tridiagonals |
Public Member Functions | |
TridiagonalHamiltonian (const Tridiagonals &hOverIs) | |
Generic constructor. | |
TridiagonalHamiltonian (const Tridiagonal &hOverI) | |
Implements the action of a Hamiltonian whose matrix consists of a sum of tridiagonal matrices.
with the s being all described by Tridiagonal <RANK>
objects.
Such a class can be constructed with either a list of Tridiagonal <RANK>
objects, or only one such object when the above sum consists of only one term.
RANK | arity of the Hilbert space |
IS_TIME_DEPENDENT | governs time-dependence & the composition of the class @ compile time |
Implements Hamiltonian <RANK,ONE_TIME>
when IS_TIME_DEPENDENT=true
OR Hamiltonian <RANK,NO_TIME>
when IS_TIME_DEPENDENT=false
Definition at line 77 of file TridiagonalHamiltonian.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 87 of file TridiagonalHamiltonian.h.