ILNumerics

Uses your system voice; voice and rate in settings.

Snapshot

≈ 5 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

ILNumerics is an open-source domain specific language (DSL) for the implementation of numerical algorithms on the .NET platform and the core of the ILNumerics mathematical development platform / class library. It serves as algebra system for .NET developers, focussing on prototyping of algorithms and their robust implementation into distribution-ready applications using general purpose programming languages (GPL) as C# and Visual Basic. ILNumerics integrates into Visual Studio and aims at supporting the creation of technical applications in commercial and academic environments.

ILNumerics is an open-source domain specific language (DSL) for the implementation of numerical algorithms on the .NET platform and the core of the ILNumerics mathematical development platform / class library. It serves as algebra system for .NET developers, focussing on prototyping of algorithms and their robust implementation into distribution-ready applications using general purpose programming languages (GPL) as C# and Visual Basic. ILNumerics integrates into Visual Studio and aims at supporting the creation of technical applications in commercial and academic environments.

History

ILNumerics started in 2006 as an open source project, originating from Technische Universität Berlin. In 2007 ILNumerics won the BASTA! Innovation Award 2007 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, 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. In 2026 the numerical core of the development platform was open-sourced into the ILNumerics.ONAL (Open Numerical Algorithm Language) project and published on GitHub. It serves as a standard implementation and remains to be maintained by ILNumerics. The ONAL standard aims at providing a vendor-neutral, mature and future-proof foundation for numerical algorithm development on .NET. The language was designed to focus on user friendly semantic and functionality while strictly excluding any performance related aspects. Algorithms written in ILNumerics.ONAL remain independent and functioning without proprietary vendor support, while allowing ONAL compatible compilers effortless automatic acceleration.

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). The array classes are fully compatible with the array features of Matlab and numpy, including internal storage order, subarray creation, expansion, and advanced indexing. 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# is officially recommended. 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 WPF and Windows Forms applications. Hardware accelerated drawing is available via OpenGL. A fully featured software renderer is provided for legacy hardware, based on GDI+, SkiaSharp and SVG.

IDE integration

ILNumerics integrates into 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. Linear algebra routines rely on processor specific optimized versions of LAPACK and BLAS. ILNumerics arrays utilize the unmanaged heap for storing data. This way, the size of ILNumerics arrays is not limited by the CLR and interoperability with 3rd party libraries is improved. While these optimizations are suitable to bring algorithms performance on par with unmanaged languages, ILNumerics auto-parallelization adds significant advantage on a higher level of program granularity. The ability to auto-distribute whole array expressions onto parallel computing resources at runtime and the specific approach of ILNumerics in identifying parallel potential beyond simple loop bodies gains unique execution efficiency – at the same time removing optimization burden from the programmer.

See also

List of numerical-analysis software List of numerical libraries

References

External links

Article about Math Libraries for .NET at MSDN

Text derived from https://en.wikipedia.org/w/index.php?oldid=1364948220 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

10 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.