Using ILNnumerics with c++\cli #ilnumerics - c++-cli

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

Related

Upgrading from Esri.Arcgis.Client 10.2.x to Arcgis.Runtime.100.x

Hello fellow arcgis developers.
I am about to migrate from old Arcgis.Client .Net to Arcgis.Runtime .Net.
And looking at the documentation I cant find what corresponding namespaces they are now using in the Arcgis.Runtime 100.x.
Now when running Arcgis.Client i have these all namespace i need to change for the corresponding in Arcgis.Runtime 100.13 and as i mentioned could not find in the documentation:
using ESRI.ArcGIS.Client.Local;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Symbols;
using ESRI.ArcGIS.Client.Tasks;
using ESRI.ArcGIS.Client.Toolkit.DataSources;
using ESRI.ArcGIS.Client.Geometry;
I have been looking at this guide but I dont mention the namepaces above.
https://developers.arcgis.com/net/reference/migrate-to-100-x-from-10-2-x/
It’s not a 1:1 but most namespaces are under Esri.ArcGISRuntime.* instead of Esri.ArcGIS.Client.*. Let intellisense and auto complete in Visual Studio help you discover them. Also not all classes are 1:1 so they might be named different or use a completely different and improved approach now

Prolog Connect to vb.net

Hi everyone I am developing an expert system for our thesis. But the problem is that i don't know where to start. My professor suggested to make Prolog as my back end and use another language for the user interface. I am planning to use vb.net for the front end, is it possible that vb.net can connect to Prolog.
please help.
You can use C# interface for SWI-Prolog written by Uwe Lesta :
Test cases are running against SWI-Prolog version 6.6.5.
Sources are available on https://github.com/SWI-Prolog/contrib-swiplcs
binaries on http://www.lesta.de/prolog/swiplcs/download/index.htm
Hopefully completely Unicode capable (Thanks to wchars functions).
A lot of code cleanup.
Libpl is an internal class now.
It works also with F# so I think it will work with VB.Net
Normally if you find a .Net based prolog language version then your issue is automatically solved for reason of the common language runtime. It will produce the same IL weither you build the back end from Prolog or from any other .Net language. Therefore you can call your back end produced dlls from any other .Net based front end technology.
I have looked up some .Net based prolog languages and found out:
Prolog .Net here and here
P# here
tutProlog which offers a .Net based version here
Planet: a research .Net based prolog project here

Is mocking functionality available for Microsoft Fakes?

With the inclusion of Microsoft Fakes in Visual Studio 11, I thought it would be worth to look into again, since I did not find Moles mature enough last i checked. The documentation is still sparse, but I cannot find any reference to mocks, i.e. the ability to set up and verify expectations on the faked objects.
Does anyone know if this is currently included (as a feature in the library) or will be?
It is not included currently, but we are considering something in this area.
Although they are not included, you can use stubs to hack in the same behavior. In your stub you can capture whether the method was called and the parameters that were called. Of course, by the time you start doing that you're almost hand rolling your own mocks.
In the meantime I'd suggest Moq or RhinoMocks. I find the syntax simpler and I'm not a fan of the generated code that Microsoft Fakes uses anyhow. Try renaming a method on one of your fakes using a refactoring tool. It's not possible because your fake is a generated class, not an instance of the interface you are stubbing.

VBx Language, What is this?

In Ironpython site exists references to a language called VBx using DLR. But i can't find any reference to this in google. Where is it?
Edit: Is a Implement of Visual Basic 6.0 in DLR? if yes is so cool. Is more expected for people using VB6 yet and can't migrate because big frameworks.
From this mailing list post:
VBx was an implementation of Visual Basic on the DLR. It was first meant
to be in Silverlight, but the VB team decided they'd rather put VB.NET in
Silverlight rather than build a new implementation up from scratch. So, VBx
is on hold.
Apparently it's an implementation of VB in the DLR:
http://www.mail-archive.com/users#lists.ironpython.com/msg05933.html
Straight from the mouth of Paul Vick (long time VB architect)
What is VBx?
VBx was one of the four language implementations that were originally driving the design of the DLR, the other three being IronPython (from which the DLR was extracted in the first place), IronRuby and Managed JavaScript.
VBx was intended to be a dynamic version of Visual Basic.NET or a .NET version of Visual Basic 6, whichever way you want to look at it. It was primarily intended as a testbed for the flexibility of the DLR, secondarily as a testbed for a more dynamic version of VB.NET and tertiarily (is that a word?) as a scripting language for Silverlight. It has fulfilled its primary goal and the designers of VB.NET decided that they want to pursue goals two and three within the existing VB.NET language, rather than producing yet another slightly different incompatible version of VB. (You already have VB.NET, VB, VBA and VBScript.)
Managed JavaScript was also abandoned, the team was folded into the IE team and is responsible for the ECMAScript 5 engine in IE 9.

calculus engine in vb?

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.