Cadabra
Computer algebra system for field theory problems
Public Member Functions | Public Attributes | List of all members
Perm Class Reference

#include <Permutations.hh>

Public Member Functions

template<class iterator >
void find (iterator start1, iterator end1, iterator start2, iterator end2)
 Find the permutation that takes [start1, end1> to [start2, end2>. More...
 
template<class iterator >
void apply (iterator start1, iterator end1)
 Apply the permutation 'perm' on the given range. More...
 

Public Attributes

std::vector< int > perm
 

Member Function Documentation

◆ apply()

template<class iterator >
void Perm::apply ( iterator  start1,
iterator  end1 
)

Apply the permutation 'perm' on the given range.

◆ find()

template<class iterator >
void Perm::find ( iterator  start1,
iterator  end1,
iterator  start2,
iterator  end2 
)

Find the permutation that takes [start1, end1> to [start2, end2>.

This will be available in 'perm' afterwards.

Member Data Documentation

◆ perm

std::vector<int> Perm::perm

The documentation for this class was generated from the following file: