forum.alglib.net

ALGLIB forum
It is currently Sat Apr 27, 2024 5:35 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  [ 3 posts ] 
Author Message
 Post subject: solvers.cs The type or namespace complex could not be found
PostPosted: Sat Jun 11, 2011 8:14 pm 
Offline

Joined: Sat Jun 11, 2011 8:08 pm
Posts: 2
Hello,

this is my first time using AGLIB. I'm very grateful for its existence, since other math libraries cost money.

That said I need to get it to work first.

I have a project where I need to solve for many parametric equations simultaneously. My plan is to use rmatrixsolve in the solvers.cs file. I've included it into my project. When I try to debug, the compiler is overwhelmed with more than a hundred errors from solvers.cs, all of them the same:

"The type or namespace 'complex' could not be found..."

I've included the dll aglib2 into my project. Also linalg.cs just in case. This hasn't resolved the problem.

Thanks,

Ben


Top
 Profile  
 
 Post subject: Re: solvers.cs The type or namespace complex could not be fo
PostPosted: Sun Jun 12, 2011 5:02 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 906
You should include either alglibnet2.dll or all .cs files from src folder. Not both at the same time.

I think that the best is to remove alglibnet2.dll and to include all .cs files to your project. All of them, not just several ones. If it does not help, post again with complete error log (you can attach it as ZIP file).


Top
 Profile  
 
 Post subject: Re: solvers.cs The type or namespace complex could not be fo
PostPosted: Mon Jun 13, 2011 8:22 pm 
Offline

Joined: Sat Jun 11, 2011 8:08 pm
Posts: 2
Thanks, that did it. I included all of the .cs files and it worked.

Now I have another question, does alglib have functions for solving systems of nonlinear equations? I've found only functions for handling systems of linear equations.

Thanks again


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 333 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