forum.alglib.net http://forum.alglib.net/ |
|
solvers.cs The type or namespace complex could not be found http://forum.alglib.net/viewtopic.php?f=2&t=387 |
Page 1 of 1 |
Author: | bjdphb [ Sat Jun 11, 2011 8:14 pm ] |
Post subject: | solvers.cs The type or namespace complex could not be found |
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 |
Author: | Sergey.Bochkanov [ Sun Jun 12, 2011 5:02 pm ] |
Post subject: | Re: solvers.cs The type or namespace complex could not be fo |
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). |
Author: | bjdphb [ Mon Jun 13, 2011 8:22 pm ] |
Post subject: | Re: solvers.cs The type or namespace complex could not be fo |
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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |