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 use ILMath.invert function?

In ILNumerics, I want to inverting a matrix A. The result is matrix B. Here is my code: ILArray data = ILSpecialData.sinc(50, 50); ILArray data2 = ILMath.zeros(50, 50); ILMath.invert(data, data2); The method…
ehmind
  • 265
  • 3
  • 10
1
vote
1 answer

How to filter for specific objects in a HDF5 file

Learning the ILNumerics HDF5 API. I really like the option to setup a complex HDF5 file in one expression using C# object initializers. I created the following file: using (var f = new H5File("myFile.h5")) { f.Add(new H5Group("myTopNode") { …
user492238
  • 4,094
  • 1
  • 20
  • 26
1
vote
1 answer

Plotting cubes on 3d axes

I am new to ILNumerics and 3d plotting. I need to construct pyramidal cubes that have a 3d rotation. I need solid Cubes having a specific color on the co-ordinate axes. Can someone kindly provide me the code? I have tried with…
1
vote
1 answer

How to dynamically add points on the ILNumerics form?

I want to dynamically calculate elements of Array and after each iteration put those points on the ILNumerics form. Is it possible? UPDATE: this is my code. Initialize N: private const int N = 20000000; This is a function that store data in array…
Server Khalilov
  • 408
  • 2
  • 5
  • 20
1
vote
1 answer

ILNumerics -- Major grid lines visibility from back face

I would like to show (major) grid lines from all six faces of the plot cube regardless of the camera position. By default the lines are only visible when viewing the front side of the plot cube face (not visible when looking through the back side…
JRS
  • 1,438
  • 2
  • 16
  • 26
1
vote
1 answer

Change number of ticks on axis

Using ILNumerics 3.3.3.0 I want to change the number of ticks on a particular axis to be every 1.0 units instead of every 5.0 units. Can this be done in automatic mode?
JRS
  • 1,438
  • 2
  • 16
  • 26
1
vote
1 answer

ILNumerics plot 2d chart

Hello I have 2d matrix data saved in the ILArray < double >. This matrix represents the weights of the neural network from one neuron and i want to see how the weights looks with ilnumerics. Any idea how can i do this? I find many examples for 3d…
Cospel
  • 493
  • 1
  • 14
  • 32
1
vote
1 answer

Allocating uninitialized array in ILNumerics

I would like to allocate an array in ILNumerics C# that isn't initialized to any values. I know I am going to write over every entry in the array so it doesn't need to be initialized. This will help with a computationally intensive task. Do I need…
1
vote
1 answer

ilNumerics keeps flipping my matrix to 3x4 causing the plot to become wonky. How do I fix this?

I have the following code (Test only right now) PlotPoint[] starLocations = new PlotPoint[4]; starLocations[0] = new PlotPoint(9,-2,1); starLocations[1] = new PlotPoint(-3,6,1); starLocations[2] = new PlotPoint(4,2,-3); starLocations[3] = new…
1
vote
1 answer

integer division using ilnumerics

I didn't expect a result of 1's: ILArray test = ILMath.ones(20, 20); test = test / 2; I thought the result would be 0's. If ILNumerics uses the Intel IPP library then I believe 1's is the result the IPP library would return for integer…
1
vote
1 answer

ilnumerics axis label positions messed up in manual mode & label position property not working

i tried to configure my own custom y-axis for a little more advanced axis (norm probability plot, for the result look at the linked png) : http://img5.fotos-hochladen.net/uploads/labelmisaligned2cd86m4qov.png the tick mode is set to 'manual'. I want…
André L.
  • 21
  • 2
1
vote
0 answers

Ilnumeric Plotcube custom axis scaling

I am very new to Ilnumeric. I see two scaling modes for the axis in a plot: log and linear. Is there any easy (or complicated) way to get the axis and data) to be displayed in an arbitrary way (in 2D)? For example, I want to display the data on a…
André L.
  • 21
  • 2
1
vote
1 answer

Invert Colormap in ILNumerics

Is it possible to invert a colormap in ILNumerics? i am using the Jet colour map at the moment and would like to invert it so blue is at the top and red at the bottom, how can i do this without inverting the z value of all points? This is my code: …
bolt19
  • 1,963
  • 4
  • 32
  • 41
1
vote
1 answer

Plotcube with a fixed display area and customized double-click-handler

I need a Plotcube with fixed display area and a double click handler that restores this view. For that I derived a class from ILPlotcude and put the following code for setting the limits in its constructor: : float max = 1000f; Limits.YMax =…
1
vote
2 answers

Bug in ilmath.min(a,b)?

if I use the ilmath.min() function with just two 1x1 double (other datatypes not checked) matrices it returns the maximum value instead of the minimum. Everything works fine if the size of the the matrices are bigger than 1x1. Please confirm that…