how to use complex no's : culaSparseComplexDouble

General discussion for CULA. Use this forum for questions, examples, feedback, and feature requests.

how to use complex no's : culaSparseComplexDouble

Postby gaurav553 » 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.
gaurav553
 
Posts: 2
Joined: Mon Jul 21, 2014 12:08 am

Re: how to use complex no's : culaSparseComplexDouble

Postby gaurav553 » 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;

:) :) :)
gaurav553
 
Posts: 2
Joined: Mon Jul 21, 2014 12:08 am


Return to General CULA Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron