Page 1 of 1

how to use complex no's : culaSparseComplexDouble

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

Re: how to use complex no's : culaSparseComplexDouble

PostPosted: Sat Sep 27, 2014 10:11 pm
by gaurav553
found the solution..
culaSparseComplexDouble * z = new culaSparseComplexDouble [ 4 ];

//z[0]={1,0};
z[0].real=0;
z[0].imag=2;

:) :) :)