Questions tagged [ilnumerics]

ILNumerics is a high performance math library for applications

ILNumerics is a high performance math library for applications. It simplifies the implementation of all kinds of numerical algorithms in convenient, familiar syntax - optimized to the speed of C and FORTRAN.

The library provides:

  • Development tools for Visual Studio
  • Visualization engine
  • Computing engine

.NET is well known for its efficient and automatic garbage collection. However, while being sufficient for most business scenarios, mathematical applications bring more specific requirements to the memory management. Without special care, the runtime - in particular, the garbage collector - would cause a serious performance hit even for middle sized problems. Therefore, ILNumerics introduces a sophisticated memory management which saves the time in GC and therefore roughly doubles the execution speed. This is achieved by:

  • Value semantics for function parameters.
  • After a function has returned, all garbage is cleaned up immediately.
  • Memory is recycled for subsequent array allocations.
  • Lazy array copies - using memory on write access only.
  • Array operations are done in-place whenever possible.

(all text taken from the website)

230 questions
3
votes
1 answer

How to convert ILArray into double[,] array?

How convert ILArray into double[,] array I have ILArray A want to use A.ToArray(), but don't know how to use it I need to get a double[,] System.Array.
valerabm
  • 31
  • 3
3
votes
2 answers

Performance of ILNumerics of simple math operations over vectors vs system array and Math.NET

I am recently doing some studies on numerical algorithms in C#. Therefore I did some experiments in search for the most suitable math library for .NET. One thing I do very often is to evaluate objective functions, which usually are functions that…
doraemon
  • 403
  • 6
  • 15
3
votes
1 answer

ILScene in WindowsFormsHost

I am trying to host an ILPanel in a WindowsFormsHost Control in WPF. Here's my code: XAML:
metacircle
  • 2,438
  • 4
  • 25
  • 39
3
votes
0 answers

Ilnumerics Ilpanel not activating when compiled in a winform into a dll when loaded into matlab

I want to compile a winform written in c# in visual-studio 2012 to a dll which I then load into matlab 2013a. Using the matlab .net interface I want to then interact with the winform, listening to its events and passing it data via a set of…
Philliproso
  • 1,278
  • 1
  • 9
  • 16
3
votes
1 answer

3D surface coloring with 4th dimension marking special values

I want to create a 3D surface graph as shown in the picture. I am using ILNumerics, recent RC from the website. So far I could create the surface (the data are only for testing) using this code: using System; using System.Drawing; using…
user492238
  • 4,094
  • 1
  • 20
  • 26
2
votes
2 answers

ILNumerics memory corruption when called asynchronously

I am new to ILNumerics and am investigating using it to replace a .Net assembly we created using the MATLAB compiler SDK. I wrote a small sample app that uses some of the MATLAB code converted to ILNumerics. The process was relatively simple, and I…
SiscoKid
  • 49
  • 5
2
votes
2 answers

F# and ILNumerics

I have just downloaded the last version of ILNumerics, to be used in my F# project. Is it possible to leverage on this library in F#? I have tried simple computations and it seems very cumbersome (in F#). I would like to set up a constrained (or…
2
votes
1 answer

C# Using ILnumerics to plot in 3d

I have been trying for hours now to get ILNumerics to work in visual studio(c#) and my question is: How do I install the plugin so I can use it's features?
Samurai
  • 189
  • 10
2
votes
1 answer

ILNumerics: compund test for ILLogical: AND two logical conditions

I am trying to create an ILLogical array that selects data between upper and lower limits like this: ILLogical ix = a > limit[0] & a < limit[1] where a and limit are ILArray< double >. I get an ILArgumentException about "Nonscalar logical to bool…
RxJx
  • 61
  • 2
2
votes
2 answers

How to clamp array data in ILNumerics

I want to be able to set all the values in an ILArray that are outside of a Min/Max value range to a Min/Max value. Is there an ILNumerics array method that will do this? for example in my 1000,1000 range array values range from 1 to 2000 but…
Jeff Davis
  • 1,755
  • 2
  • 11
  • 14
2
votes
1 answer

ILArrays as input arguments to BeginInvoke delegate

In my application, I have a background thread that performs calculations and pushes the resultant ILnumerics arrays to the view. I am having issues with ILNumerics arrays getting disposed off when I trigger the view update function with…
Neelima
  • 243
  • 1
  • 8
2
votes
1 answer

White Patches Appearing in A MouseWheel based Zoom of 2D Images

We are currently using the Zoom functionality on the PlotCube that uses the mousewheel to zoom in and out of a 2-D image plot (TwoDMode=true). We also use the zoom obtained through the zoom selection rectangle functionality, again provided by…
R. Bovill
  • 31
  • 4
2
votes
1 answer

ILnumerics c# draw line

How can I add line, like I drew in Paint with ILNumerics? My scene is building with that code: ilPanel1.Scene = new ILScene() { new ILPlotCube(twoDMode: false) { new ILSurface(func, xmin: (float)xmin, …
Andrey Saleba
  • 2,167
  • 4
  • 20
  • 27
2
votes
1 answer

how to get a Moore-Penrose generalized inverse by ilnumerics

is it possible to get Moore-Penrose generalized inverse of a matrix A by ilnumerics? and what the pinv means in ilnumerics? pinv mean inverse a matrix ?
07012220
  • 85
  • 1
  • 7
2
votes
1 answer

How to change ILNumerics plot marker type?

I have set of random generated points in 3D Scene, and in runtime I want to change the type of point markers to, for example, triangles, as in the picture: Is it possible? How can I achieve this? Also I need change color for some points. Scene…
Bibliarij
  • 43
  • 8
1
2
3
15 16