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
1
vote
1 answer

How to make a manual coloring in ILNumerics?

I make some boxes with ILNumerics (right side of the picture). This boxes have different properties for each of them, as you can see at the left side. Actually, I want to coloring the boxes as I defined. The color itself depend on the "Delta Rho",…
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

Refresh/ update ILNumerics Plot

I want to update/ refresh a graph created with ILNumerics. I do not understand how to manipulate the data set, after the plot is created. Here, http://ilnumerics.net/line-plots.html a simple example is given to plot two data sets. Now (for example,…
Thomas
  • 67
  • 7
1
vote
1 answer

How to reverse the axis in ILNumerics

I want to reverse the Y axis in ILLinePlot from top to bottom (from descending become ascending). My result is like this: here is the code: scene.Add(new ILPlotCube { new ILLinePlot(ILMath.tosingle(ZDistance["1,0;:"]), …
ehmind
  • 265
  • 3
  • 10
1
vote
0 answers

Linear equation solving leads to program exit (x64)

I have some problem with linear equation solving. I have two matrices: A and B. The dimension of system is 24 ("A" is 24x24 matrix). Then i call "ILMath.linsolve(A, B)", the program is closing unexpectedly without any exceptions or messages. I…
Chrysalis
  • 11
  • 3
1
vote
2 answers

Support for basic datatypes in H5Attributes?

I am trying out the beta hdf5 toolkit of ilnumerics. Currently I see H5Attributes support only ilnumerics arrays. Is there any plan to extend it for basic datatypes (such as string) as part of the final release? Does ilnumerics H5 wrappers provide…
Neelima
  • 243
  • 1
  • 8
1
vote
1 answer

How to visualize XY, XZ and YZ plane views using an ILPlotCube object?

I'm working on a c# application that uses an ilpanel to show a 3d ILgroup of ILTriangles. I'm trying to set up three buttons each one of them should modify the ilplotcube orientation in order to show a x-y plane view, x-z plane view and y-z view.…
xanz
  • 221
  • 3
  • 10
1
vote
1 answer

Is there any limitation of size in ILArray? (ILNumerics)

I try to made a large matrix using ILArray. ILArray distanceAll = ILMath.zeros(111561, 111561); But it produce error. It said "Arithmetic operation resulted in an overflow." So, is there a limitation of the size in ILArray? Is it because I…
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

Plot 3D with specific x and y ILNumerics

I have a 3D array, I want to plot it as a surface in ILNumerics. Here is my code: ILArray plot = ILMath.tosingle(hasil); var scene = new ILScene(); ILColormap cm = new ILColormap(Colormaps.Jet); ILArray
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

How to add ILContourPlot to custom Z-axis location in ILPlotCube

I have three 2D-arrays that all have same X and Y coordinates but different values. Each of these arrays represent a temperature of a room in certain height (eg. array1 = 10m, array2 = 5m, array3= 3m). I have created a ILPlotCube that has three…
skutzi
  • 77
  • 6
1
vote
1 answer

Adding a slider to ILNumerics Plot

I'd like to make use of an ILNumerics 3D plot but I would like to add a slider control. The slider would be responsible for filtering values on the backing data set so I can visualize my data under certain conditions. Basically, user moves slider…
Dave
  • 2,386
  • 1
  • 20
  • 38
1
vote
1 answer

How to delete rows or column in ILArray like Matlab, ILNumerics

In ILArray of ILNumerics library, is there any shortcut to delete the row or columns like matlab? Something like this (in matlab): A(:,2)=[]; A(2,:)=[]; Since the ILNumerics is very similar with Matlab, I curious about this. Does anyone know?
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

ILNumerics: ILMath.ridge_regression

is there anyone know how to use ridge_regression in ILMath function? I try to read the documents and search in several website, but I can't find the example. Here is the method: public static ILMath..::..ILRidgeRegressionResult
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

iLNumerics isn't displaying my 3d plot - the plot remains 2d

The code is this: //we need to render locations. ILArray ourPositions = ourSimulator.getStars(); var scene = new ILScene(); var plotCube = scene.Add(new ILPlotCube(twoDMode: false)); var ourPosBuffer…
1
vote
0 answers

ILNumerics, LinePlot, CreateTicksAuto

I'm trying to scale the xaxis of an LinePlot. Every value of x has to be divided by 50, because the data is from a measurment of 50hz. The xRange is about [0,ca.7000], and shall be [0,1/50,2/50,...,7000/50] as scaled x-axis. Sadly, I cannot post an…
1
vote
0 answers

ILShapes not drawn when added as a children to ILScreenObject

I am generating image plot by setting the surface plot in 2d mode. I am trying to draw the overlay crosshair as an ILScreenObject and move it to jog/navigate through the surface points along the wireframe. But any shapes I add to the ILScreenObject…
Neelima
  • 243
  • 1
  • 8