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

What is the best way to hierarchically traverse a scene graph (aka ILScene)?

I found that one can dive into deeper levels by tracking the Childs property of an ILGroup node (or find parent nodes via the Parent property on any ILNode object). The enumerator on ILScene gives a "flattened" version of the whole scene graph.…
profix898
  • 21
  • 1
1
vote
0 answers

Does the ILNumerics asin() function give incorrect results for complex values?

I have run into this issue on Community Edition (version 2.14), but recently I have installed a trial version of ILNumerics ver. 6.0.127 and see that the issue still persists. The code below describes the problem: I start with the Matlab asin(z)…
1
vote
1 answer

control contour plot X and Y axis in ILNumerics

When using Surface, I can pass a grid for X and Y axis to the constructor: Array z = new float[,] { {1, 2, 3 }, {4, 5, 6 } }; Array x = new float[,] { {-0.5f, 0, 0.5f }, }; Array y = new float[,] { {-10,…
Oliver
  • 13
  • 4
1
vote
1 answer

How can I filter rows based on multiple criteria from an array in IlNumerics

I would like get rows based on multiple constraints. One criteria works perfect like A[A[full, 0] % 3 == 0, full]; But when I add a second criteria I get a compiler error. What is the correct way of doing this? Array A = new double[,] { …
1
vote
1 answer

how to find rows in IlNumerics array

I want to retrieve a subset from a matrix A based on it's value. For example, from matrix A (see below), I want to get the rows where the first column value equals 9 Expected output: { 9, 12, 21 }, { 9, 13, 23 }, { 9, 14, 24 }, Array A =…
1
vote
0 answers

kriging approximation with ILNumerics F#

I need to estimate a multivariate function, known from discrete scattered data. I am using ILNumerics interpolation toolbox for that. I have the following code to test the library from F#: let inline (!) (x :RetArray<'T>) =…
1
vote
0 answers

F# Interpolation

I am trying to use ILNumerics from F#. It seems quite difficult. I would like to replicate this example What I have so far is the following code: open ILNumerics open type ILMath let inline (!) (x :RetArray<'T>) = Array<'T>.op_Implicit(x) let…
1
vote
1 answer

ILNumerics V5: 3d plot gets distorted when rotate or pan

I have an problem: My 3d plot gets distorted, if I rotate or pan the plot. I know this behaviour is intended to show the user the most at all times, but it looks silly, so I want an orthogonal view or Axes which are equally long. Earth distorted. I…
MaCh
  • 13
  • 4
1
vote
1 answer

How to properly plot 3D surface with ZXYPositions in ilNumerics?

What I want to achieve? I'm working on an evolutionary algorithm finding min/max of non-linear functions. I have fully functional WPF application, but there's one feature missing: 3D plots. What is the problem? To accomplish this I've started with…
mhdv
  • 85
  • 11
1
vote
1 answer

ILNumerics: Returns unexpected minimum when optimizing a function

I am running a trial of ILNumerics (newest version as of posting) but get the wrong minimum when running a Optimization.fmin optimizer. The minimum should be at f(-5.218) = -3.342 with search bounds at -10 <= x <= 10. private void Compute() { …
Matt
  • 7,004
  • 11
  • 71
  • 117
1
vote
1 answer

How to change the zoom centerpoint in an ILNumerics scene viewed with a camera

I would like to be able to zoom into an ILNumerics scene viewed by a camera (as in scene.Camera) with the center point of the zoom determined by where the mouse pointer is located when I start spinning the mouse scroll wheel. The default zoom…
Dave R
  • 31
  • 4
1
vote
1 answer

Updating z-values for ILNumerics ILSurface

I'm a new ILNumerics Visualization Engine user and I'm still coming up to speed on how to use it well. I've searched extensively for how to update the z-values of an ILSurface and read the posts, but I'm still not clear on how to do this. I'm able…
Dave R
  • 31
  • 4
1
vote
1 answer

Array Visualizer Expression Evaluation error: Unsupported debug session type

While working with Visual Studio Community and a trial version of ILNumerics Array visualizer, I cannot get the visualizer to evaluate any expression. I tried on multiple projects, including fresh new ones from basic templates. Every time, I get an…
PhilMacKay
  • 865
  • 2
  • 10
  • 22
1
vote
1 answer

ILNumerics hide PlotCube

I have a scene with two different PlotCubes, which have to be displayed individually. What is the best procedure to hide and show the PlotCubes. I have tried with remove, but this seems to alter the PlotCube-objects. The code-lines…
ISE
  • 13
  • 2
1
vote
1 answer

Do ILNumerics .NET Visualization Engine support the following features regarding 3D surface chart?

I would like to know whether the following features are supported in .NET Visualization Engine of ILNumerics Draw a 3D Surface Plot Layout a wireframe over the Surface Plot Draw a scatter plot over the Surface Plot Color the surface using custom…
Varun Pai
  • 11
  • 2