MADNESS 0.10.1
|
permutations in physisists notation: <ij | kl> = (ik | jl), loop over ik<jl More...
Public Member Functions | |
permutation (int i, int j, int k, int l) | |
std::vector< permutation > | make_all_eri_permutations () const |
std::vector< permutation > | make_all_tau_permutations () const |
<\tau_{ij} | \tau_{kl}> = <\tau_{ji} | \tau_{lk}> = <\tau_{kl} | \tau_{ij}>= <\tau_{lk} | \tau_{ji}> | |
bool | operator!= (const permutation &other) const |
bool | operator< (const permutation &other) const |
bool | operator== (const permutation &other) const |
Static Public Member Functions | |
static std::vector< permutation > | remove_duplicates (std::vector< permutation > v) |
Public Attributes | |
int | i |
int | j |
int | k |
int | l |
permutations in physisists notation: <ij | kl> = (ik | jl), loop over ik<jl
std::vector<permutation> all_permutations; for (int ik=0; ik<npair(); ++ik) { for (int jl=ik; jl<npair(); ++jl) { auto [i,k]=ij_to_i_and_j(ik); auto [j,l]=ij_to_i_and_j(jl); permutation p(i,j,k,l); auto perms=p.make_all_permutations(); for (const auto& p:perms) all_permutations.push_back(p); int number_of_unique_permutations=perms.size(); print("ij, kl, i, j, k, l",ik,jl," -- ", i,j,k,l," - ",perms.size(),perms); } }
|
inline |
|
inline |
References i, j, k, l, and remove_duplicates().
|
inline |
<\tau_{ij} | \tau_{kl}> = <\tau_{ji} | \tau_{lk}> = <\tau_{kl} | \tau_{ij}>= <\tau_{lk} | \tau_{ji}>
References i, j, k, l, and remove_duplicates().
Referenced by madness::MP3::compute_mp3_ef(), and madness::MP3::compute_mp3_ef_with_permutational_symmetry().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
int madness::permutation::i |
Referenced by make_all_eri_permutations(), make_all_tau_permutations(), operator<(), and operator==().
int madness::permutation::j |
Referenced by make_all_eri_permutations(), make_all_tau_permutations(), operator<(), and operator==().
int madness::permutation::k |
Referenced by make_all_eri_permutations(), make_all_tau_permutations(), operator<(), and operator==().
int madness::permutation::l |
Referenced by make_all_eri_permutations(), make_all_tau_permutations(), operator<(), and operator==().