- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm new to the Intel MKL Library. I can't find arithmetics operations with the complexs numbers defined in mkl_types.h.
I found that the complex structure in the Intel library is:
I'm new to the Intel MKL Library. I can't find arithmetics operations with the complexs numbers defined in mkl_types.h.
I found that the complex structure in the Intel library is:
/* Complex type (single precision). */
typedef
struct _MKL_Complex8 {
float real;
float imag;
} MKL_Complex8;
/* Complex type (double precision). */
typedef
struct _MKL_Complex16 {
double real;
double imag;
} MKL_Complex16;
I can't do for example:
MKL_Complex8 test1;
MKL_Complex8 test2;
test_number1.real=1.0;
test_number1.imag=2.2;
test_number1.real=3.3;
test_number1.imag=4.0;
test_number1 = test_number1 + test_number2;
/*or*/
test_number1+=test_number2;
Thank you.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page