Questions tagged [ilnumerics]

ILNumerics is a high performance math library for applications

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Microsoft Visual Studio 2022 (MVS 2022) (ILNumerics problem in C++)

How to use ILNumerics extension in MVS 2022. I already installed but it could not be use in MVS 2022 in C++. Help. I already installed and the ILNumerics extension cannot be used. How to use the ...
Muhammad Adham's user avatar
2 votes
2 answers
62 views

ILNumerics memory corruption when called asynchronously

I am new to ILNumerics and am investigating using it to replace a .Net assembly we created using the MATLAB compiler SDK. I wrote a small sample app that uses some of the MATLAB code converted to ...
SiscoKid's user avatar
1 vote
0 answers
79 views

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 ...
Valery Konopsky's user avatar
1 vote
1 answer
41 views

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<float> z = new float[,] { {1, 2, 3 }, {4, 5, 6 } }; Array<float> x = new float[,] { {-0....
Oliver's user avatar
  • 13
0 votes
1 answer
34 views

Does ILNumerics interp2 only allow square matrix?

I am trying to follow the sample from https://ilnumerics.net/bigdata-array-visualizer.html The code Array<float> smooth = Interpolation.splinen(terrain, ILMath.cell(X1, X2), ILMath.cell(Xn1, ...
user17352413's user avatar
1 vote
1 answer
21 views

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 ...
user17352413's user avatar
1 vote
1 answer
22 views

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 }, { ...
user17352413's user avatar
1 vote
0 answers
102 views

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 (...
pacta_sunt_servanda's user avatar
1 vote
0 answers
87 views

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 :...
pacta_sunt_servanda's user avatar
2 votes
2 answers
116 views

F# and ILNumerics

I have just downloaded the last version of ILNumerics, to be used in my F# project. Is it possible to leverage on this library in F#? I have tried simple computations and it seems very cumbersome (in ...
pacta_sunt_servanda's user avatar
0 votes
0 answers
109 views

Matlab interp3 function in C#.NET

I want to use matlabs interp3 function in c#, or any class, dll ,etc that can do the same thing. I can not use ILnumerics, and also Math.Net numerics, does not the task completely. Can anyone help?
Mohammadrezamc2's user avatar
-1 votes
1 answer
58 views

How to Access correctly to Positions Property in a LinePlot with Ilnumerics?

i would like to access to the coordinate information in a LinePlot, i wanto to use the Property LinePlot.Positions as show in the following code: using System; using System.Collections.Generic; using ...
DonMiguelSanchez's user avatar
1 vote
1 answer
76 views

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 ...
MaCh's user avatar
  • 13
0 votes
1 answer
325 views

Very Slow Compiled Program Execution Time versus Execution Time in Visual Studio (with debugger attached)

I have a C# executable built in Visual Studio 2019 which runs 20 times faster with debugging (F5) than without debugging (CTRL + F5) when run within Visual Studio. This happens with both the Debug ...
Pius Zaleski's user avatar
1 vote
1 answer
3k views

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 ...
mhdv's user avatar
  • 85
0 votes
0 answers
47 views

How to pass the values of file columns to ILNumerics 3D graph?

I am working on a project Online Partial Discharge. I need to show a clear and professional graphs into it. So i Chose IlNumerics for it. Till installation, everything works fine. Now i need to pass ...
G.nt's user avatar
  • 1
1 vote
1 answer
48 views

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 ...
Matt's user avatar
  • 7,022
1 vote
1 answer
133 views

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 ...
Dave R's user avatar
  • 31
1 vote
1 answer
65 views

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 ...
Dave R's user avatar
  • 31
2 votes
1 answer
240 views

C# Using ILnumerics to plot in 3d

I have been trying for hours now to get ILNumerics to work in visual studio(c#) and my question is: How do I install the plugin so I can use it's features?
Samurai's user avatar
  • 189
1 vote
1 answer
83 views

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 ...
PhilMacKay's user avatar
1 vote
1 answer
107 views

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 ...
ISE's user avatar
  • 13
-1 votes
1 answer
1k views

Who has ILNumerics community edition?

Now,the ILNumerics is a commercial version now. but it has a community edition before.where can I get a open-source community edition ?
Daniel Lu's user avatar
2 votes
1 answer
45 views

ILNumerics: compund test for ILLogical: AND two logical conditions

I am trying to create an ILLogical array that selects data between upper and lower limits like this: ILLogical ix = a > limit[0] & a < limit[1] where a and limit are ILArray< double >. I ...
RxJx's user avatar
  • 61
0 votes
1 answer
79 views

ILnumerics trial license error when try to start on another machine

Is it possible to distribute application with ILNumerics interpolation module reference while it is trial? According to current trial License i can distribute for about two weeks to show functionality ...
Евгений Сусликов's user avatar
1 vote
1 answer
74 views

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 ...
Varun Pai's user avatar
-2 votes
2 answers
968 views

Error while opening csv file in C#

I'm stuck here while opening and reading csv file in c# program. Ive just started working upon ILNumerics to display 3D matrix graph, but the Exception rises with "Could not find file 'C:\Users\asd\...
Mikka's user avatar
  • 55
3 votes
1 answer
278 views

Convert C# 'using' keyword to F#

In trying to translate the following C# code to F#, I'm struggling with the 'using' keyword. The following snippet is from the ILNumerics library. How to translate the following? ILRetArray<double&...
professor bigglesworth's user avatar
0 votes
1 answer
480 views

Exception System.OutOfMemoryException was thrown.in linesolve ilnumerics

I have a problem with linesolve in ilnumerics. Here are the code: A = A_damped; // (6691x3000) array D = d_damped; // array size 6691 ILArray<double> AA = A; // AA matrix (3000x6691) so should ...
Cas's user avatar
  • 63
0 votes
1 answer
228 views

Looking for example for plotting Volumetric Slice in Ilnumerics

is there any example for plotting volumetric slice in Ilnumerics use community version. This is an example I got from matlab website: Volumetric slice image example of matlab I have array X, Y, Z as ...
Cas's user avatar
  • 63
1 vote
1 answer
72 views

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 ...
Daniel Wu's user avatar
0 votes
1 answer
107 views

What the meaning of " (!0) " in ILNumerics Library? [duplicate]

What the meaning of " (!0) " in ILNumerics just like this return (!0)ILMathInternal.exp(this.m_mu); and like this, return 0.5 + (!0)ILMathInternal.log(this.m_sigma) + this.m_mu + (!0)...
07012220's user avatar
1 vote
0 answers
33 views

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,...
Jeff Davis's user avatar
  • 1,775
1 vote
1 answer
122 views

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 ...
Jeff Davis's user avatar
  • 1,775
0 votes
3 answers
4k views

How to get the next higher power of 2?

I want transform the following Matlab code to C#: nfft=2^nextpow2(nn); where NEXTPOW2(N) means the next higher power of 2 in Matlab. So how do we achieve the same function by ourselves in C# code or ...
07012220's user avatar
3 votes
1 answer
133 views

ILNumerics ILSurface Adjust Z values

Is there a way to manipulate the range of Z values for a Surface plot in a way that can preserve the original values so I can create a range slider with a min and max values from the GetLimits() ...
Jeff Davis's user avatar
  • 1,775
2 votes
2 answers
444 views

How to clamp array data in ILNumerics

I want to be able to set all the values in an ILArray<T> that are outside of a Min/Max value range to a Min/Max value. Is there an ILNumerics array method that will do this? for example in my ...
Jeff Davis's user avatar
  • 1,775
1 vote
1 answer
87 views

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 ...
Jeff Davis's user avatar
  • 1,775
1 vote
1 answer
73 views

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's user avatar
  • 25
1 vote
1 answer
188 views

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 ...
james's user avatar
  • 25
1 vote
1 answer
97 views

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 ...
Florian Splett's user avatar
1 vote
1 answer
71 views

Calculating SVD in ILnumerics

ILArray<double> CU = new double[256, 256]; ILArray<double> CV = new double[256, 256]; ILArray<double> S = ILMath.svd(matrixC, CU, CV, true, true); While Calculating SVD in ...
Subin Bajracharya's user avatar
0 votes
0 answers
65 views

convert type 'ILNumerics.ILArray<float>' to 'float[*,*]'

ILArray<float> W_wimgr = new float[256, 256]; float[,] ResultantImage = new float[256, 256]; When i Do this ResultantImage = W_wimgr; I got the Error : Error 1 Cannot implicitly convert ...
Subin Bajracharya's user avatar
1 vote
0 answers
563 views

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 ...
user85356's user avatar
1 vote
0 answers
85 views

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?* ...
A191919's user avatar
  • 3,422
1 vote
1 answer
115 views

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 ...
Ralf Hielscher's user avatar
1 vote
1 answer
231 views

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 ...
nik's user avatar
  • 1,712
1 vote
0 answers
195 views

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 ...
Gal's user avatar
  • 21
2 votes
1 answer
83 views

ILArrays as input arguments to BeginInvoke delegate

In my application, I have a background thread that performs calculations and pushes the resultant ILnumerics arrays to the view. I am having issues with ILNumerics arrays getting disposed off when I ...
Neelima's user avatar
  • 243
2 votes
1 answer
110 views

White Patches Appearing in A MouseWheel based Zoom of 2D Images

We are currently using the Zoom functionality on the PlotCube that uses the mousewheel to zoom in and out of a 2-D image plot (TwoDMode=true). We also use the zoom obtained through the zoom selection ...
R. Bovill's user avatar

1
2 3 4 5