Replies: 1 comment
-
Hi @E-Stroem, Good question, I haven't thought about adding complex functions! One of the goals for the 2019 year is to add basic math methods that work on all backends. Like I'm not too familiar with the standard complex methods, do you have a reference or list to some that might be handy? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there a way to use C complex numbers and math inside an OCCA kernel?
E.g. the following C code in OCCA kernel:
double complex z1 = 1.0 + 2.0 * I
double complex z2 = 1.0 + 2.0 * I
double complex z3 = z1*z2;
and equivalent creal and cimag functions
Best regards,
E-Stroem
Beta Was this translation helpful? Give feedback.
All reactions