COGNIT is C++ template library of various mathematical routines. It has many routines working with matrices, complex numbers, solving equations, etc.
Application Library - COGNIT uses a few modules from APEAL. Only the header files are needed. You don't have to compile APEAL library or include any source code from APEAL in your project.