📄 readme
字号:
SparseLib++ v. 1.6: Numerical Sparse Matrix Classes in C++SparseLib++ is a C++ class library for efficient sparse matrix computationsacross various computational platforms. The software package consists of matrix objects representing several sparse storage formats currently in use (in this release: compressed row, compressed column and coordinate formats), providing basic functionality for managing sparse matrices, together with efficient kernel mathematical operations (e.g. sparse matrix-vector multiply).Routines based on the Sparse BLAS are used to enhance portability and performance. Included in the package are various preconditioners commonly used in iterative solvers for linear systems of equations. The focus is on computational support for iterative methods, but the sparse matrix objects presented here can be used on their own.Version 1.6 has been updated to adhere to the latest ANSI C++ standards, including complex(> class, iostreams, and updated MV++ library. 1) More About SparseLib++------------------------i) User's Guide and man-style pages are available via WWW: http://gams.cam.nist.gov/acmd/Staff/RPozo/sparselib++.htmlii) Code examples are in ./testing/*.cc2) Installing SparseLib++ library ----------------------------------You'll need to build the following three libraries ./lib/libmv.a MV++ basic matrix/vector library ./lib/libsparselib.a sparse matrix library ./lib/libspblas.a sparse BLAS libraryi) cd to root directory where SparseLib++ will be installedii) edit makefile.def to specify your specify your particular C++ compileriii) type "make sp". ("make" by itself will provide a list of options.)3) Testing SparseLib++----------------------i) cd to SparseLib++ root dirii) "make test" will run a test suites and leave their output in ./testing/sp_test.out. 4) Package components---------------------i) SparseLib++ and Sparse BLAS include files are in ./includeii) SparseLib++ and Sparse BLAS libraries are in ./libiii) Lower-level Fortran-compatible Matrix/Vector library (MV++)is in ./lib/libmv.a5) Help!--------Questions, comments, suggestions, etc. can be sent to pozo@cam.nist.gov.6) #include <std/disclaimer.h>------------------------------Be aware that SparseLib++ has been tested with GNU g++ 2.6.3, and 2.7.0together with Sun C++ (CC) v. 4.0.1. and may not necessarily work with earlierversions of these compilers. To find out the version of your compileruse "g++ -v" or "CC -V foo".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -