Difference between revisions of "Boost"
From ProgrammingExamples
Daviddoria (Talk | contribs) (→Visualization) |
Daviddoria (Talk | contribs) (→Boost Examples) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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. | 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. | ||
+ | == Boost Examples == | ||
+ | * [[CPP/Boost/LexicalCast|lexical_cast - a replacement for std::stringstream]] | ||
* [[CPP/Boost/Bimap|Bidirectional (both ways) map]] | * [[CPP/Boost/Bimap|Bidirectional (both ways) map]] | ||
* [[CPP/Boost/Function|Glorified function pointers (function.hpp and bind.hpp)]] | * [[CPP/Boost/Function|Glorified function pointers (function.hpp and bind.hpp)]] | ||
+ | * [[CPP/Boost/ClassFunctionPointer|Function pointers to class functions]] | ||
* [[CPP/Boost/Histogram|Create a histogram (accumulator)]] | * [[CPP/Boost/Histogram|Create a histogram (accumulator)]] | ||
* [[CPP/Boost/Numeric/Matrix|Matrix]] | * [[CPP/Boost/Numeric/Matrix|Matrix]] | ||
Line 21: | Line 24: | ||
== Boost Graph Library (BGL) == | == Boost Graph Library (BGL) == | ||
− | + | The Boost Graph Library is a c++ library for graph theoretic data structures and algorithms. There are several examples here: [[Boost/BGL|Boost Graph Library Examples]] | |
− | + | ||
− | + | === 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 == |
+ | * [[CPP/Boost/Geometry/DistanceBetweenPoints|Compute the distance between two points]] | ||
+ | * [[CPP/Boost/Geometry/PointInPolygon|Determine if a point is inside of a polygon (within() function)]] | ||
+ | * [[CPP/Boost/Geometry/Simplify|Simplify a polyline]] | ||
+ | * [[CPP/Boost/Geometry/CoordinateConversion|Convert between spherical and Cartesian coordinates]] | ||
− | + | == Boost Iterators == | |
− | * [[CPP/Boost/ | + | * [[CPP/Boost/Iterators/IndirectIterator|Access a collection of pointers as if it were a collection of objects]] |
− | + | ||
− | + | ||
− | === | + | == Boost Math Library == |
+ | === uBLAS === | ||
+ | * [[CPP/Boost/Math/uBLAS/determinant]] Calculating the determinant of a matrix using boost::numeric::lu_factorize | ||
+ | === Tools === | ||
+ | * [[CPP/Boost/Math/Tools/brent_find_minima|brent_find_minima]] Find a bracketed minimum of a function | ||
+ | * [[CPP/Boost/Math/Tools/TOMS748|TOMS748 root finding algorithm]] Find a bracketed root(zero) of a function | ||
− | + | == Heap == | |
− | + | * [[CPP/Boost/Heap/IndirectCompare|Indirect heap]] Sort a heap by values in a property map | |
− | == | + | |
− | + | ||
− | * [[CPP | + |
Latest revision as of 15:36, 12 May 2015
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.
Contents
Boost Examples
- lexical_cast - a replacement for std::stringstream
- Bidirectional (both ways) map
- Glorified function pointers (function.hpp and bind.hpp)
- Function pointers to class functions
- 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
Boost Graph Library (BGL)
The Boost Graph Library is a c++ library for graph theoretic data structures and algorithms. There are several examples here: Boost Graph Library Examples
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
- Convert between spherical and Cartesian coordinates
Boost Iterators
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
Heap
- Indirect heap Sort a heap by values in a property map