Closed acroy closed 9 years ago
I guess it would be great if we could move the comments from the tests to the main code, as this would help in generating docs and also keep the test code free from docs. In sense we could have some examples as well in the docs and these examples would act as tests, further helping us to understand.
Yeah, maybe it is possible to cross-link to the docs in the main code? The comments now were just intended to remind us of the purpose of the tests.
I will trying going through the doc packages if we can do the cross-link. Sure, these things will definitely help us in the future :)
Good call. Commutator
/Anticommutator
types would indeed be cool.
This looks good to me, I'll merge it in.
IMHO this is more consistent with
scale
,add
etc. Moreover, I would like to reserveCommutator
andAnticommutator
for lazy (anti)commutators or types representing the respective super-operators.