forum.alglib.net

ALGLIB forum
It is currently Tue Nov 29, 2022 3:07 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  [ 2 posts ] 
Author Message
 Post subject: C# in Visual Studio install and usage for newbie
PostPosted: Thu May 09, 2013 12:50 am 
Offline

Joined: Thu May 09, 2013 12:34 am
Posts: 2
Hello,

I have been hacking my way thru c# in Visual Studio Express 2012. I have a pretty good project almost done, controlling a camera and doing the image processsing (using FreeImage).

I added a reference to alglibnet2 to my project. I added interpolation.cs also.

I get about 150 errors, most of them about names or namespaces not existing:
Quote:
The type name 'apobject' does not exist in the type 'alglib'


Any help would be appreciated. I'm sure it's something simple an expert would know.

Also, once I get it installed properly, what "using" command do i use? i.e., how do i invoke the methods?

Thanks,
Dan


Top
 Profile  
 
 Post subject: Re: C# in Visual Studio install and usage for newbie
PostPosted: Thu May 09, 2013 6:14 pm 
Offline

Joined: Thu May 09, 2013 12:34 am
Posts: 2
So I added all the alglib packages (.cs files, e.g., fasttransforms.cs, dataanalysis.cs...)

The Build errors go away, but i still don't see how to call any of the methods. Meaning there is no alglib option for autocomplete when i type "using" at the beginning of a .cs file (again, in VS Express 2012)...

ok, alglib is available inside the class methods in the autocomplete. Then a . after gives all the functions. So it is working!

Can someone explain how this works? Why don't i need a using statement?

Thanks,
Dan


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group