marco-michel / TimeEvolver

A Progam for Time Evolution With Improved Error Bound
MIT License
6 stars 0 forks source link

In branch vectorObservable, unify classes "observable" and "vectorObservable" #16

Closed sebastian-zell closed 1 year ago

sebastian-zell commented 1 year ago

Reorganize structure s.t. instead of arrays, only one observable-class is used both in core and for output.

The standard-constructor of TimeEvolver should take a vector of observables. There should still be another constructor that takes arrays as observables. It should function in such a way that it creates observables and then calls the first-mentioned constructor.

The new class should have its own file in the core.

Also one should check if there is too much copying/creating of matrices.

marco-michel commented 1 year ago

Solved with the removal of the observable class in 6619ffa.