Wikis > SuanShu

SuanShu is a math library of numerical methods for numerical analysis. It allows all engineers to develop very high quality solutions for mathematical problems very rapidly. You will take less time to produce more elegant, object-oriented code that is better tuned, has fewer bugs and runs faster. SuanShu is an object-oriented, high performance, extensively tested, and professionally documented library of numerical methods. It is a large collection of numerical algorithms so coded such that they are solidly object-oriented, unified and testable. SuanShu has for each mathematical concept, rather than procedure like our competitors’ products, a class for it. More importantly, these classes are designed so that they are very easy-to-use and easy-to-integrate. They can be assembled and connected in many ways to construct more complicated concepts, hence new classes. The built-in and user-defined, old and new, simple and complex classes all conform to the same design standard to ensure that they are compatible. SuanShu is to engineering solution as Lego is to toy model. SuanShu’s core technology is the design standard and this collection of classes. The goal is that the user, who has little programming experience or understanding in mathematics, can quickly put together these classes to create solutions for his many complex problems. For him to assemble our classes to construct an application is as easy as a child assembles Lego pieces to construct a toy robot. Lego has simple pieces like bricks and gears and complex ones like mini-figures. SuanShu has simple classes like matrix and vector, complex ones like regression, and very sophisticated ones like PDE solvers. Using SuanShu, the user will find solving PDE not more difficult or too different from solving zero for equation.



There are a number of ways to use SuanShu.


SuanShu can be used as a library component in a software project. For details please read SuanShu Tutorials.

SuanShu can be used in the .NET environment such as in a C# project or Excel. For details, please read


SuanShu can be used in a similar manner to Matlab/Octave/R/Scilab for research, data analysis and prototyping. For details please read SuanShu Scripting.