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
0
votes
1 answer

Plot a simple ILNumerics surface specified by X, Y, Z coordinates?

I want to draw an ILNumerics 3D surface by specifying the corners of the surface. In the code below I call these corners point0, point1, point2, and point3. The code below doesn't work and I don't know why. Also, I don't understand why I need…
arnold_w
  • 59
  • 9
0
votes
1 answer

How to achieve similar functionality to Matlab's fill3 function and output to SVG in ILNumerics

I am trying to achieve something similar to Matlab's fill3 function in ILNumerics and output to an SVG file. fill3 allows you to plot 3d shapes with a solid fill color and specify an edge color for the shapes that you are plotting. The code that I…
0
votes
1 answer

ILNumerics plot with 3 coordinates

I have 3 arrays of Rx, Ry, Rz of type float. I'm trying to plot a surface with following code: ILArray y = Ry ILArray x = Rx ILArray z = Rz ILArray Z = ILMath.zeros(x.S[0], x.S[1],…
Max Plakhuta
  • 310
  • 2
  • 14
0
votes
1 answer

Can't use Optimization functions with ilnumerics in c#

If I am right, there is a optimization toolbox in ilnumerics. After I successfully installed ilnumerics in my project I tried to write some examples from http://ilnumerics.net/media/ILNumericsOptimizationToolboxDocumentation.pdf in it. However…
0
votes
1 answer

Fixed color level (Z axis) in ILPlotCube. (ILNumerics)

I want to show some plot in a player. I want to show it with the same scale of Z axis, so the color will change automatically (instead of min & max value). Here is my function. private void PlaySaturationButton_Click(object sender, EventArgs…
ehmind
  • 265
  • 3
  • 10
0
votes
1 answer

How to set common datarange for multiple ILContourPlot?

I have a ILPlotCube that has three different ILContourPlot. this.scene = new ILScene(); ILPlotCube pc = new ILPlotCube(twoDMode: false); ILArray TA = tempRoom.GetILArray("TA"); ILContourPlot cpa = new ILContourPlot(TA, create3D: false) {new…
skutzi
  • 77
  • 6
0
votes
1 answer

Why ploting data in ILNumerics produce the result that is not symmetry? (2D Plot)

I have ILNumerics code like this: var scene = new ILScene(); ILColormap cm = new ILColormap(Colormaps.Hot); ILArray data = cm.Data; data[":;0"] = ILMath.pow(data[":;0"], 3.0f); cm.Data = data; …
ehmind
  • 265
  • 3
  • 10
0
votes
1 answer

ILNumerics mkl_custom dll not found

We have two applications that use ILNumerics and have run into the same issue with both. We use the mkl_custom.dll and during development the application runs fine. The dll in use during development sits in the bin32 folder automatically generated…
0
votes
1 answer

Dynamic Array from .txt, display with ILNumerics

I would like to display data from .txt file (thousands of points [x,y,z] no exact length) in 3D by ILNumerics. 1) How to use StreamReader to choose only some data (e.g. all where y = <200,300>) and save them to Array 2) Then I would like to use…
Jurid
  • 1
  • 1
0
votes
2 answers

ILNumerics: no ilpanel

Dear stackoverflow community, i'm absolutly new in programming in c#, especially using ILNumerics. The Problem is: i cannot get an ilpanel. The installation of ILNumerics into the project works without problems, ILNumerics.3.3.3.0 and…
0
votes
1 answer

ILNumeric InArray parameters get disposed after first use

I found the InArray parameters of my function will be disposed after the first use. For example: static ILArray UpdateU( ILInArray sigmaK, ILInArray uK, ILInArray vK, ILInArray t,…
zhengbli
  • 702
  • 5
  • 24
0
votes
1 answer

ilnumerics matrix multiplication operator

Ilnumerics is great, and I really like it. However, the matrix multiplication operator * is set to ILMath.multiplyElem, the element wise multiplication. I wonder why not make it ILMath.multiply, the normal matrix multiplication which is consistent…
0
votes
1 answer

Changing the axis range dynamically doesnt refresh the lineplot but only the axis labels

I am trying to change the axes Min and Max properties to show only the plot points that lie in a particular range. say If I have lineplot whose X values are ranging from 0 to 100, I want to display only the values that are greater than 50.However I…
Neelima
  • 243
  • 1
  • 8
0
votes
1 answer

Return drawing in initial state (ilnumerics)

I use ilnumerics library by math's graph drawing. After using of "zoom in", "zoom out" features, there is no possibility to return graph in initial state (only not elegant way, in my opinion, to redraw it). I used methods like "PerformAutoScale",…
0
votes
1 answer

remove ILArray<> elements

Using ILNumerics, I am trying to take the first n number of columns of an ILArray<> in the most efficient way possible. using(ILScope.Enter(inframe) { ILArray frame = ILMath.check(inframe); int[] dims = frame.Size.ToIntArray();…
john.dennis
  • 56
  • 2
  • 7