NMath

The Importance of Graphing Your Data

In his classic book The Visual Display of Quantitative Information, Edward R. Tufte argued that "graphics can be more precise and revealing than conventional statistical computations". As an example, he described Anscombe's Quartet--four datasets that have identical simple statistical properties, yet appear very different when graphed. These data sets--each consisting of 11 x,y points--were con...
Read More

Clearing a vector

A customer recently asked us for the best method to zero out a vector. We decided to run some tests to find out. Here are the five methods we tried followed by performance timing and any drawbacks. The following tests were performed on a DoubleVector of length 10,000,000. 1) Create a new vector. This isn't really clearing out an existing vector but we thought we should include it for complet...
Read More

Initializing NMath

NMath uses Intel's Math Kernel Library (MKL) internally. This code contains native, optimized code to wring out the best performance possible. There is a one-time delay when the appropriate x86 or x64 native code is loaded. This cost can be easily controlled by the developer by using the NMathKernel.Init() method. Please see Initializing NMath for more details. - Trevor
Read More

CEM Solver at UT Austin

The folks at the Center for Electromechanics at University of Texas at Austin (UT-CEM) are doing some neat simulation projects with power systems, and we were honored to learn that NMath is at the core of their CEM Solver software. CEM Solver demonstrates substantial performance improvements over SimPowerSystems, reducing simulation time for a typical example from 23 minutes down to 30 seconds, fo...
Read More

.NET Math with Microsoft Chart Controls, Revisited

Easy Math Charting In an earlier post, we described how NMath types can be plotted using the Microsoft Chart Controls for .NET, but programmatically constructing Chart objects with data series bound to NMath objects. The latest release of the NMath libraries makes this process much simpler by providing adapter classes which easily construct basic math charts for you from NMath types: NMath 5....
Read More
Top