forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 8:24 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: complex_1d_array
PostPosted: Sat Mar 08, 2014 11:17 am 
Offline

Joined: Sat Mar 08, 2014 11:14 am
Posts: 1
Hey,

i have a very simple question, but i don?t get it:

How can i use the setcontent-command in combination with the complex_1d_array?

In case of a real_1d_array it works very well, i use:

...
Code:
alglib::real_1d_array y;
      y.setcontent(44, E_M);

....

But

...
Code:
alglib::complex_1d_array c_array;
     c_array.setcontent(10, k);  //k is an any array

...

doesn?t work. How can I pass the values of a "normal" complex array in the complex_1d_array? I use MVS 2012.

Thanks a lot,
Meister Proppper


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group