-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template based native complex trees #244
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty line only :-)
@@ -185,6 +185,20 @@ void math_utils::apply_filter(double *out, double *in, const MatrixXd &filter, i | |||
#endif | |||
} | |||
|
|||
void math_utils::apply_filter(ComplexDouble *out, ComplexDouble *in, const MatrixXd &filter, int kp1, int kp1_dm1, double fac) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a bit of documentation to the new functions you have itroduced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will put it in the "FourComponents" PR
@@ -122,6 +122,47 @@ template <int D> void testDifferentiationABGV(double a, double b) { | |||
delete mra; | |||
} | |||
|
|||
template <int D> void testDifferentiationCplxABGV(double a, double b) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation put it in the "FourComponents" PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OK to me but maybe Stig should also have a look.
- Some more documentation would help, at least for the new functions
- The time-evolution part could at this point be rewritten exploiting the native complex number. But I will ask Evgueni :-)
- You should rebase this PR (it should be an easy rebase...)
I cannot pull this branch to my machine to test it (or branch from it)... |
Define trees with a template that can be double (default) or ComplexDouble = std::complex.
The template defines the type of the coefficients.
Under development! (compiles, but not yet fully tested)
Everything is put and updated in the FourComponents PR