Difference between revisions of "Boost"
From ProgrammingExamples
(→Boost Math Library: uBLAS determinant example) |
Daviddoria (Talk | contribs) (Moving BGL to its own page) |
||
Line 21: | Line 21: | ||
== Boost Graph Library (BGL) == | == Boost Graph Library (BGL) == | ||
− | + | The [[Boost/BGL|Boost Graph Library]] is a c++ library for graph theoretic data structures and algorithms. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
=== Wish List === | === Wish List === |
Revision as of 17:12, 15 November 2011
The following examples are frequent use cases of parts of the Boost (http://www.boost.org/) library. Each example includes a CMakeLists.txt file so it can be easily compiled.
- Bidirectional (both ways) map
- Glorified function pointers (function.hpp and bind.hpp)
- Create a histogram (accumulator)
- Matrix
- Multi dimensional array
- Simple command line argument parsing (ProgramOptions)
- Multiple command line argument parsing (ProgramOptions)
- ProgressBar
- Threads
- Threads with member functions
- ThreadCommunication
- Timer
- Signal/slot pattern
- Signal/slot pattern with member functions
- Signal/slot pattern with member classes
- Signal/slot pattern with member classes which have parameters
- Signals2: Signal/slot pattern with type safety
- Signals2: Signal/slot pattern with parameters type safety
Contents
Boost Graph Library (BGL)
The Boost Graph Library is a c++ library for graph theoretic data structures and algorithms.
Wish List
Examples in this section are either shells or something is wrong with them that must be fixed before they can graduate into real examples.
Boost (Generic) Geometry Library
- Compute the distance between two points
- Determine if a point is inside of a polygon (within() function)
- Simplify a polyline
Boost Math Library
uBLAS
- CPP/Boost/Math/uBLAS/determinant Calculating the determinant of a matrix using boost::numeric::lu_factorize
Tools
- brent_find_minima Find a bracketed minimum of a function
- TOMS748 root finding algorithm Find a bracketed root(zero) of a function