### how to use complex no's : culaSparseComplexDouble

Posted:

**Sat Sep 27, 2014 3:06 pm**I need to solve a linear system of equations having complex values. Please guide me to use complex data type with CULA.

GPU Accelerated Linear Algebera

http://www.culatools.com/forums/

Page **1** of **1**

Posted: **Sat Sep 27, 2014 3:06 pm**

I need to solve a linear system of equations having complex values. Please guide me to use complex data type with CULA.

Posted: **Sat Sep 27, 2014 10:11 pm**

found the solution..

culaSparseComplexDouble * z = new culaSparseComplexDouble [ 4 ];

//z[0]={1,0};

z[0].real=0;

z[0].imag=2;

culaSparseComplexDouble * z = new culaSparseComplexDouble [ 4 ];

//z[0]={1,0};

z[0].real=0;

z[0].imag=2;