ILNumerics
Developer(s) | ILNumerics |
---|---|
Stable release |
v4.12
/ November 11, 2016 |
Written in | C#, Visual Basic |
Operating system | .NET Framework / Mono, Windows |
Platform | IA-32, x86-64 |
Type | Technical computing, Mathematical software |
License | Proprietary |
Website |
ilnumerics |
ILNumerics is a mathematical class library for Common Language Infrastructure (CLI) developers and a domain specific language (DSL) for the implementation of numerical algorithms on the .NET platform. While algebra systems with graphical user interfaces focus on prototyping of algorithms, implementation of such algorithms into distribution-ready applications is done using development environments and general purpose programming languages (GPL). ILNumerics is an extension to Visual Studio and aims at supporting the creation of technical applications based on .NET.
History
ILNumerics started in 2006 as an open source project, originating from the Technical University of Berlin.[1] In 2007 ILNumerics won the BASTA! Innovation Awards 2007[2] as most innovative .NET project in Germany, Switzerland and Austria. After 6 years of open source development, the project added a closed source, proprietary license in 2011, aiming business and academic developers at the same time. The project quickly gained popularity (download numbers and engagement at stackoverflow.com,[3][4][5] download counts from website not available). The .NET framework was selected as a managed foundation, since earlier attempts on the Java platform had been abandoned due to technical limitations. Similarly, the .NET framework has not been designed with the focus on requirements of technical application development. ILNumerics added interfaces to popular codes (LAPACK, FFTW), complex numbers and generic mult-dimensional array classes. In 2010 graphical capabilities have been added. Efforts to increase the performance of the technology were introduced in 2011. At the same time, a company was founded to continue the development. The technological goal is to establish the .NET framework as a feasible alternative to unmanaged languages for numeric computing.
Syntax
ILNumerics implements base functionality frequently needed for application development in technical areas: N-dimensional arrays, complex numbers, linear algebra, FFT and plotting controls (2D and 3D). Higher level functionality is provided by toolboxes for interpolation, optimization, statistics, HDF5 and machine learning. The ILNumerics DSL is embedded into .NET. Computational algorithms are formulated using any CLI language. However, only C# and Visual Basic are officially supported. Due to the strong type system of the .NET framework algorithms created with ILNumerics are strongly typed. This deviates from the syntax of alternatives, which are often weakly typed and therefore easier to adopt.
Graphics
A scene graph is used in ILNumerics to realize graphical output. Interactive 2D and 3D plots are used in Windows Forms applications. Hardware accelerated drawing is available via OpenGL. A software renderer is provided for legacy hardware, based on GDI+ and SVG.
IDE integration
ILNumerics is distributed as an extension to Visual Studio. It adds a tool window to the IDE for the graphical inspection of mathematical objects while stepping through user code.
Performance
Since ILNumerics comes as a CLI assembly, it targets Common Language Infrastructure (CLI) applications. Just like Java - those frameworks are often criticized for not being suitable for numerical computations. Reasons are the memory management by a garbage collector, the intermediate language execution and deficient optimizations by the compilers involved. ILNumerics approaches these limitations by performing loop unrolling, removal of bound checks on array accesses and cache optimizations. Further speed-up is gained by the auto-management of the memory of large array objects. Numerical operations are parallelized on multicore systems. Linear algebra routines rely on processor specific optimized versions of LAPACK and BLAS.
Alternatives
Some algebraic systems come with compiler extensions for native code/C code generation. One example here is Matlab's Compiler. In conjunction with the .NET Builder of the same vendor it is possible to interface .NET applications. Other projects aim the .NET platform, namely: dnanalytics, NMath, NAG and Visual Numerics' IMSL. A list of alternatives on other platforms include NumPy/SciPy, R and the Julia, all of which require their own compiler infrastructure to be installed and distributed. Library extensions exist for C++ and JavaScript with IT++, Boost and Numeric.js.
See also
References
- ↑ "Centre for Entrepreneurship: Steckbrief ILNumerics". Entrepreneurship.tu-berlin.de. Retrieved 2016-01-28.
- ↑ BASTA! Innovation Award 2007
- ↑ ilnumerics. "NuGet Gallery | ILNumerics 4.8.0". Nuget.org. Retrieved 2016-01-28.
- ↑ "Newest 'ilnumerics' Questions". Stack Overflow. Retrieved 2016-01-28.
- ↑ "ILNumerics Ultimate VS extension". Visualstudiogallery.msdn.microsoft.com. Retrieved 2016-01-28.