|
PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Eigen adaptors for ranges. More...
Go to the source code of this file.
Namespaces | |
| namespace | pbat |
| The main namespace of the library. | |
| namespace | pbat::common |
| Common functionality. | |
Functions | |
| template<CContiguousArithmeticRange R> | |
| auto | pbat::common::ToEigen (R &&r) -> Eigen::Map< Eigen::Vector< std::ranges::range_value_t< R >, Eigen::Dynamic > const > |
| Map a range of scalars to an eigen vector of such scalars. | |
| template<std::ranges::random_access_range R> | |
| auto | pbat::common::Slice (R &&r) |
| Slice view over a range for Eigen advanced indexing. | |
Eigen adaptors for ranges.