-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New types for independent and dependent quantities
Addresses issue #7. This is mostly a proof of concept, does not work very well. Complex numbers may not currently work (at a first glance, it looks impossible to have Complex{IndependentMeasurement}, see for example log(::Complex{T}) which internally has log(convert(T,2))::T which cannot be true). As a work around, complex numbers may be forced to Complex{DependentMeasurement}, which however defeats the purpose of this change. Still TODO: implement specific methods for `result` function with `IndependentMeasurement`-only arguments, which will greatly improve performance.
- Loading branch information
Showing
6 changed files
with
167 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.