Help language development. Donate to The Perl Foundation
eigenstates - expose the eigenstates of an object
use eigenstates; say eigenstates(1|2|3); # 1 2 3 say eigenstates(42); # 42
The eigenstates distribution exports a single subroutine called
eigenstates that returns a list of a eigenstates of an object. For all objects except
Junctions, that's a list with the given object. For a
Junction, it returns the internal values (aka "eigenstates") as a List.
Elizabeth Mattijsen [email protected]
Source can be located at: https://github.com/lizmat/eigenstates . Comments and Pull Requests are welcome.
Copyright 2020 Elizabeth Mattijsen
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.