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 scale the x and y-axis after update, configure, and refresh the ILLinePlot?

If update the line plot in ILPanel1 from the other function and the x & y-axis display range becomes too small, how can scale the x and y-axis at the other ILPanel1? For example, the following code: private void Button1_Click(object sender,…
Daniel Wu
  • 11
  • 1
1
vote
0 answers

How to control mouse movement and be able to move the ILNumerics ILColorbar at the same time

The ILColorBar has a property called Movable. If set to false you can't move the colorbar on the surface. If set to true and you have written custom events for the mouse movement (MouseDown, MouseUp, MouseLeave, MouseMove) these don't fire. But…
Jeff Davis
  • 1,755
  • 2
  • 11
  • 14
1
vote
1 answer

How do I add a units label to a ILNumerics Colorbar

I would like to display the units in text for the values displayed on the colorbar. I have a colorbar added to my ILSurface and I'd like to show my units in text on the color bar along with the range. Edit: I want to display text at the bottom of…
Jeff Davis
  • 1,755
  • 2
  • 11
  • 14
1
vote
1 answer

ILMath matrix loading

I am just getting started with ILNumerics. I'm not that familiar with all the ILMath matrix array functions. I created a custom color map that I am using with a ILSurface plot and am manually converting it into an array for use in the ILColormap()…
Jeff Davis
  • 1,755
  • 2
  • 11
  • 14
1
vote
1 answer

How to control the position of the origin in ILPlotCube?

When I plot data with ILPlotCube, the (0,0) origin is displayed with some offset (margin/gap) from the x and y axes. How can I remove this offset?
james
  • 25
  • 4
1
vote
1 answer

Programmatically applying zoom on ILNumerics ILPlotCube

I have two images and plot them as surfaces. I am zooming on one image by drawing a zoom rectangle, using the built-in functionality of ILPlotCube. How can I apply the resulting zoom settings to the second image programmaticall, i.e.: without…
james
  • 25
  • 4
1
vote
1 answer

ILNumerics: Export part of a scene as image without affecting original scene

I have created a Scene with ILNumerics that consists of 3 PlotCubes and a Colorbar. Screenshot of the ILPanel I wanted to add a method that exports the scene as an image in two ways, the first being the screenshot you see above. The second export is…
1
vote
1 answer

Calculating SVD in ILnumerics

ILArray CU = new double[256, 256]; ILArray CV = new double[256, 256]; ILArray S = ILMath.svd(matrixC, CU, CV, true, true); While Calculating SVD in ILnumerics,I am not getting the Correct Value of S as compare to…
1
vote
0 answers

ILNumerics unable to read mat file of -v7 format

I know ILNumerics handles mat file saved using -v6 or -v7.3 option quite nicely but anyone knows how to make it recognize files saved using -v7 option? The -v7 option by default uses compression and hence ILNumerics will give me a message saying it…
user85356
  • 11
  • 1
1
vote
0 answers

ILNumerics do not contain Optimiation?

I have error Error "The name 'Optimization' does not exist in the current context". But i installed ILNumerics from NuGet and it does not contains Optimization. Why?* * using…
A191919
  • 3,422
  • 7
  • 49
  • 93
1
vote
1 answer

Unexpected OutOfMemoryException in ILNumerics

The following VB .net code gives me an out of memory exception. Does anybody knows why? Dim vArray As ILArray(Of Double) = ILMath.rand(10000000) Using ILScope.Enter(vArray) For i As Integer = 1 To 100 vArray = ILMath.add(vArray, vArray) …
1
vote
1 answer

Excel DNA with ILNumerics

I have used ILNumerics via Excel DNA in Excel successfully for some time. Now I wrote a new function which uses the linsolve function from ILNumerics (which needs the mkl_custom.dll) and I cannot build this into an XLL. My custom function works in…
nik
  • 1,672
  • 2
  • 17
  • 36
1
vote
0 answers

Add ILPoints to ILPlotCube from user input (by mouse)

I am new to ILNumerics, and I have a problem with some simple activity. I want to add Points to the Plot on user mouse input. User clicked for example point 5,4 on the plot, and this point have to draw on this position. I had some problems to…
Gal
  • 21
  • 2
1
vote
0 answers

how to set ILArray2D matrix to specific value?

the code as following: ILLogical isevanescent = abs(f) / abs(kx) < c; SIGk[isevanescent] = new fcomplex(0, 0); where SIGk is ILArray type with 2D size,and isevanescent is ILLogical type with tha same size. I want to set SIGk element to zero when…
07012220
  • 85
  • 1
  • 7
1
vote
1 answer

How to use ILNumerics function csvread to load complex array from a csv file

I want to load a csv format data file with function csvread. The data is in complex format. For example, it looks like "36.151-202.64i,236.74+2.1788i,26.234+201.94i, ...." When I call csvread with ILNumerics, I can only first column data. All other…
Hai
  • 11
  • 3