permutation.cpp File Reference
#include "permutation.h"
#include <algorithm>
Include dependency graph for permutation.cpp:

Namespaces

 mpqc
 The top-level namespace for all Massively Parallel Quantum Chemistry package.
 
 mpqc::detail
 

Functions

void mpqc::detail::swap (Formula &formula)
 swap bra with ket More...
 
void mpqc::detail::swap_internal (Formula &formula, bool right_size=true)
 swap inside bra or ket More...
 
void mpqc::detail::swap_external (Formula &formula, bool right_size=true)
 swap between bra and ket More...
 
std::vector< Formula > mpqc::detail::permutations_chemical (const Formula &formula)
 return unique permutation of ( p q | r s ) More...
 
std::vector< Formula > mpqc::detail::permutations_physical (const Formula &formula)
 return unique permutation of < p q | r s > More...
 
std::vector< Formula > mpqc::permutations (const Formula &formula)