CVM Class Library

This C++ class library encapsulates concepts of vector and different matrices including square, band, symmetric and hermitian ones in Euclidean space of real and complex numbers. It utilizes BLAS and LAPACK Fortran libraries in order to achieve the best numerical performance possible. Along with basic vector and matrix arithmetic it contains different algorithms including norm computations, elementary transformations, solving of linear systems of kind Ax=b and AX=B, singular value decomposition, matrix rank and determinant computation, non-symmetric and symmetric eigenvalue problem (including Cholesky and Bunch-Kaufman factorization), LU factorization, QR, RQ, LQ and QL factorizations, different linear least square problems solutions, square matrix polynomials, square matrix inversion, pseudo (generalized) inversion and square matrix exponent. All these algorithms are implemented for real and complex numbers. Functional classes, vectors anf matrices are later additions to the library (since ver. 7.0).

Starting from version 8.0 Library implements new features of C++11 Standard and is no longer compatible with older compilers. For example, move constructors deliver better performance by requiring less number of memory allocations and deallocations.

The library is distributed under the Boost Software License, Version 1.0. Current version is 8.1, July 23rd, 2014 (see also history of changes and FAQ page). The following compilers and integrated development environments are currently supported:

For older compilers please use versions 7.0, 5.6.2 and 5.2.

If you want to rebuild Fortran subroutines included into the library, you'll also need Intel Parallel Studio XE 2013 or higher for Win32 and Linux platform (gfortran is also supported under Linux and MingW). The library can be linked with Intel MKL 10.2 or higher, with AMD ACML 4.4.0 or higher and also with native BLAS and LAPACK implementations. Your questions, feature requests and bug reports are very welcome at

Copyright (c) Sergei Nikolaev, 1992-2014. Welcome to my personal page. Logo