calculus engine in vb? - vb.net

is there an easy to use library or engine for .NET that does calculus?

I posted an early version of some code I used in one of my classes in an answer to this thread:
Generated methods for polynomial evaluation (my answer includes classes for symbolic differentiation)
If I know exactly what you're looking for, I could try to post an updated version.

Google is suggesting you look through Wikipedia's list of free libraries that can do automatic differentiation, and see if any have a .NET or COM wrapper. EDIT: High-Performance Mark has pointed out that it appears you need symbolic differentiation, in which case these libraries won't help.
If you are keen, you possibly could create a .NET wrapper for one of the C++ libraries.

Related

Using ILNnumerics with c++\cli #ilnumerics

I'm looking for a numerical package that I can call from managed C++\CLI. ILNumerics is aimed at .NET development, so I would assume it can be used with / from C++\CLI.
However I cannot find any reference to this effect.
So can I use ILNumerics with C++\CLI? If so, where do I find typical resources and examples?
If not, is there a numerics package that is compatible with C++\Cli that can be called and integrated as straightforward as with C#? I have a difficult time finding one that is.
Thanks, Jan

How to do load/library

In the past, using REBOL/Command, this worked fine. Now, I'm trying to load/library a .dll that I compiled and there is no /library refinement for load any longer. What is the equivalent in Rebol 3? Do I have to make an 'extension and import it?
Yes, Rebol 3 does not currently contain a Rebol 2-like DLL interface, which was limited and did not offer many useful options to wrap libraries, and e.g. callbacks were very limited too. Rebol 3 solved the situation by introducing an extension mechanism, which involves a little bit of a C code.
There was also some initiative to bring in improved Rebol 2-like DLL interface in form of a Rebol 3 extension, but the project did not work out yet, although after the ReCode conference, someone was claiming, it will come.
What you could also use is Red/System: it is a Rebol-like language, but very close to C level, so rather easy to wrap things around. Kaj De Vos created some examples, which show how to write an Rebol 3 extension as Red/System DLL.
Since this was answered, some versions of Rebol3 eg. Atronix, have the foreign function library compiled in so that you can
make library! %some.dll
See https://github.com/zsx/r3/blob/atronix/make/tests/ms-drives.r for an example on windows, and https://github.com/zsx/c2r3/blob/master/demos/gtk-demos/gtk-demo.reb for a comprehensive linux example.

How can we use python module in vb.net

I want to use the python module imaplib, email in vb.net to read the gmail email with attachments. How can i use the python module in vb.net
Presuming you already looked at Brad's suggestion and didn't find it quite satisfying there is a .Net module for handling python, although this seems like the inverse of what you're looking for.
The only way that you could realistically use a Python library in .NET is to use IronPython. It is possible to embed IronPython in a C# app and the best explanation of that is in the book IronPython in Action.
However, this introduces a lot of layers in an application and may not be the wisest way to go unless you can make use of a general scripting language in your app.

Objective-C implementation of Shape Context algorithm (Image Matching)?

There is a very cool sounding technique called Shape Context matching, which can be used in an Image Recognition application to match an "unknown image" against a known "image library." There are numerous descriptions of the concept documented on the web (mostly all variations of the same original paper), for example: http://www.eecs.berkeley.edu/Research/Projects/CS/vision/shape/sc_digits.html
I found a JAVA implementation and a MATLAB implementation of the algorithm described in the paper, but I cannot find an objective-c implementation. Anyone know if there is any objective-c code out there, anywhere, implementing these techniques? I sure would like to take advantage of it, rather than trying to write that stuff myself!
Here you can find an interesting c++ implementation (for non-commercial usage, didn't check it yet.. see the downloads):
http://www.umiacs.umd.edu/~zhengyf/PointMatching.htm
I'm currently searching for a Java implementation of the algorithm. Could you please provide a link to the implementation you found?
The original matlab code can be downloaded at:
www.eecs.berkeley.edu/Research/Projects/CS/vision/shape/sc_digits.html
I also found a C# implementation:
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7465&lngWId=10
Take a look at OpenCV. It is implemented in C so it can be used in obj-c pretty easily.

Zune API ZuneCore.dll

I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#.
Has anybody tried this and had any luck?
Dave
May be an old question, but this link might help: http://zunelcd.codeplex.com/ If you download the source for this project one of the class libraries is a decent API for communicating with the Zune Software.
i just found out about this -> http://soapitstop.com/blogs/fleamarket/archive/2008/03/03/read-the-zune-collection-in-net-from-zune-s-own-api.aspx but it seems a bit outdated Initialize method now takes some parameters and i dont know what to put there!
Try adding a reference to it from a .NET project in Visual Studio. Perhaps this namespace will appear magically: MicrosoftZuneLibrary