What and Why
There is some functionality missing that could be more readily available:
- checking for the dimensions of a wave function or an operator or a matrix applied along a single dimension occurs again and again. It would be useful to have such checking at hand.
- There is no possibility to easily form a direct product. Such tensor extensions would be nice.
- an internally used ThrowOnNull template function that takes a shared_ptr<t> and a message and throws a NullPointerException if the ptr is null. Nice shortcut for the code; could be part of wp_exceptions.hpp
- Idea: something that checks that no NaNs or INFs occur. This could be used for example when orthogonalizing states.
</t>
Diff:
Diff:
Diff:
Diff: