PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
Permute.h File Reference

Permutation of values in-place. More...

#include <concepts>
#include <iterator>

Go to the source code of this file.

Namespaces

namespace  pbat
 The main namespace of the library.
 
namespace  pbat::common
 Common functionality.
 

Functions

template<std::random_access_iterator TValuesBegin, std::random_access_iterator TValuesEnd, std::random_access_iterator TPermutationBegin>
void pbat::common::Permute (TValuesBegin vb, TValuesEnd ve, TPermutationBegin pb)
 Permute the values in-place according to the permutation.
 

Detailed Description

Permutation of values in-place.

Author
Quoc-Minh Ton-That (tonth.nosp@m.at.q.nosp@m.uocmi.nosp@m.nh@g.nosp@m.mail..nosp@m.com)
Date
2025-05-05