Feature Overview
O
2scl is a C++ class library for object-oriented numerical programming. It includes
- Classes based on numerical routines from GSL and CERNLIB
- Vector and matrix classes which are fully compatible with
gsl_vector
and gsl_matrix , yet offer indexing with operator
[] and other object-oriented features
- CERNLIB-based classes which are completely rewritten in C++
- Classes which require function inputs are designed to accept (public or private) member functions, even if they are virtual.
- Classes use templated vector types, which allow the use of user-specified object-oriented vectors or C-style arrays.
- Highly compatible - Recent versions have been tested on Linux (32- and 64-bit systems, with Intel and AMD chips), Windows XP with Cygwin, and MacOSX.
- Free! O2scl is provided under Version 3 of the GNU Public License (see License Information for more).
- Two sub-libraries
-
Thermodynamics of ideal and nearly-ideal particles with quantum statistics
-
Equations of state for finite density relevant for neutron stars
This is a beta version. The library should install and test successfully, and most of the classes are ready for production use. Some of the interfaces may change slightly in future versions. There are a few classes which are more experimental, and this is clearly stated at the top of the documentation for these classes.
Quick Reference to User's Guide
- Sub-libraries
- Add-on library: There is also a related library,
O2scl_ext,
which has a separate source distribution.