NMath

Using NMath with Microsoft Chart Controls for .NET

In 2007, Microsoft acquired the Dundas chart components, in order to deliver data visualization directly within Microsoft products. In October 2008, they released the Microsoft Chart Controls for .NET, which includes the Dundas ASP.NET and Windows Forms Chart controls. The Chart controls are available as a separate download for .NET 3.5. Beginning in .NET 4.0, the Chart controls are part of the .N...
Read More

Absolute value of complex numbers

Max Hadley from Schlumberger in Southampton, UK came to us with an interesting bug report regarding the MaxAbsValue() and MaxAbsIndex() functions as applied to complex vectors in the NMathFunctions class.  Most of the time these methods worked as expected, but they would intermittently fail to correctly identify the maximum element in large vectors with similar elements. In researching the MKL ...
Read More

NMath and Silverlight

Customers have asked about using NMath from a Silverlight application. NMath uses unmanaged code--specifically, Intel's Math Kernel Library (MKL), an implementation of the BLAS and LAPACK standard. In Silverlight 4.0, you can use NMath in two ways. You can either use JavaScript to talk to the server and have NMath running there, or you can register classes as COM objects on the local machin...
Read More

.NET Curve Fitting Applied to Golf

“I've heard people say putting is 50 percent technique and 50 percent mental. I really believe it is 50 percent technique and 90 percent positive thinking. See… but that adds up to 140 percent, which is why nobody is 100 percent sure how to putt!" - Chi Chi Rodriguez Two retired scientists, self-proclaimed duffers, came to us asking for help with their retirement project: to improve their puttin...
Read More

Quasirandom Points

A quasirandom sequence is a set of n-tuples that fills n-space more uniformly than uncorrelated random points. NMath provides both Sobol and Niederreiter quasirandom number generators for .NET applications. For example, this C# code creates a Niederreiter quasirandom number generator object to generate quasirandom vectors of length 2: int dim = 2; NiederreiterQuasiRandomGenerator nqrg = ne...
Read More
Top