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
2
votes
2 answers

What version of Hdf5 is used in ILNumerics?

I am building some evaluations with the trial version of ILNumerics and I would like to know which Hdf5 library version is deployed with ILNumerics for Windows. VisualStudio intellisense isn't helping me find a library version method or property.…
dme
  • 21
  • 1
2
votes
1 answer

How to get the current min and max values of x and y axes in ILNumerics?

I'm displaying a simple 2D Line Plot in ILNumerics using a plot cube. I would like to be able to fix and save the current X- and Y-Axis limits after the user zoomed into the graph. Hence, I tried to receive the upper and lower limits of the axes…
Tim
  • 47
  • 5
2
votes
1 answer

Scattered data interpolation in ILNumerics

I'm looking for a way to visualize scattered data with interpolation on a heatmap. Matlab's griddata function solves this with nearest, linear and cubic interpolation by internally using Delaunay triangulation. Does ILNumerics have a scattered data…
Jostein Topland
  • 990
  • 8
  • 16
2
votes
1 answer

How to configure the scale label position in ILNumerics?

I draw some lines with ILLinePlot. Then I rotate the cube (with the intention to change the position of the Y scale label that starts from the top): Rotation = Matrix4.Rotation(new Vector3(1, 0, 0), ILMath.pif), It produces results like this.…
ehmind
  • 265
  • 3
  • 10
2
votes
1 answer

How do I add rows/columns to a matrix in ilnumerics?

In Matlab this takes my two 1x102 variables (in1 and in2) and makes one that's 2x102 (out). out = [in1 in2] When I try this in VB/ILnumerics - with two well-formed 1x102 inputs - the output is 2x1 with both values being 0. I'm doing it in VB like…
kznh
  • 35
  • 4
2
votes
0 answers

How to import into memory large data files, in .NET, using ILNumerics?

What is the recommended way to allocate large array in ILNumerics, reading large (>1 GB or >>1 GB) CSV file? I am aware of the ILMath.csvread static class, is there a better way to handle multiple types on a single line? For example I may want to…
2
votes
2 answers

ILNumerics multiply complex with matrix

I m looking at ILNumerics to translate some matlab code into c#. How would I multiply a complex and a double? Simplified description: In Matlab: A=[1 2 3] i*A*A' Returns a complex number. How would I do the same in ILNumerics: …
nik
  • 1,672
  • 2
  • 17
  • 36
2
votes
1 answer

Operating over C# ILNumerics Vector

After some research I have settled on ILNumerics for a Linear Algebra package in C#. However I have having some issues working on ranges of the vector. I would like to modify the values in a Vector with a type of moving window, applying a function…
C Mars
  • 2,909
  • 4
  • 21
  • 30
2
votes
1 answer

How to calculate the inverse of a matrix with ILNumerics ILMath in c#?

Sorry for this (extremely basic) question. I just decided today to try ILNumerics for my relatively simply algorithms that basically refer to simplistic algebra operations and relatively basic optimizations. My first impression is simply that, -…
Aykut Saribiyik
  • 775
  • 1
  • 6
  • 15
2
votes
1 answer

ILMath function to arrange values given start, end and step size?

I am trying to get an array linearly spaced given the step size. For Example arange(10,15,0.5) = 10.5, 11, 11.5, 12, 12.5, 13, 13.5, 14, 14.5,15 arange(10, 15, 1) = 11, 12, 13, 14 There is linspace function that accepts only number of elements to…
Neelima
  • 243
  • 1
  • 8
2
votes
1 answer

Not Getting Same Results Between Matlab's and ILNumeric's Region functions

I'm trying to convert some code from Matlab into ILNumerics and everything was working find until I needed to fold an array. Like so: MatLab's original Version: d1 = data(1:2:end,:); % test code. d2 = data(end:-2:2,:); % test code. data = […
Kabua
  • 889
  • 8
  • 19
2
votes
1 answer

Make a solid box (cube) in ILNumerics

I want to make a solid box with ILNumerics. As I read in the documentation website, there is only a way to make a sphere object. I want a box (cube). I just read this thread: ILNumerics plot a plane at specific location . Then I have an idea to make…
ehmind
  • 265
  • 3
  • 10
2
votes
2 answers

Type Inference Causes Null References

I'm using the ILNumerics library for a project, but I found that variables declared with "var" will sometimes change value in the middle of computation, for example: // A is a matrix var x = A[full, 0]; double xNorm = (double)norm(x); The x is…
zhengbli
  • 702
  • 5
  • 24
2
votes
1 answer

How to load big CSV file in ILArray for 3d plotting?

I have several files in csv format with scientific data to examine plotting them in 3D. The file content is organized as datetime, frequency in Hz and intensity in dB as in this example: 2014-03-15 18:00:00, 19700000.0, -30.19 2014-03-15 18:00:00,…
MarioCannistra
  • 275
  • 3
  • 12
2
votes
1 answer

Element-wise operations on real and imaginary data of fcomplex array?

I have a array of type ILArray thats comes as an output from FFT function. I want to further perform some math operations on the real and imaginary parts. For example: complexArray.realPart * 2 + complexArray.imaginaryPart * 4 ???
Neelima
  • 243
  • 1
  • 8
1 2
3
15 16