#include <chemistry/qc/mbptr12/pairiter.h>
Public Member Functions | |
| MOPairIter (int nI, int nJ) | |
| void | start () |
| Start the iteration. | |
| void | next () |
| Move to the next pair. | |
| operator int () const | |
| Returns nonzero if the iterator currently holds valid data. | |
| int | ij () const |
| current composite index | |
| int | i () const |
| current index 1 | |
| int | j () const |
| current index 2 | |
| int | ij (int i, int j) const |
| returns an ij given i and j. | |
| int | nij () const |
| int sc::fastpairiter::MOPairIter< PSymm >::ij | ( | int | i, | |
| int | j | |||
| ) | const |
returns an ij given i and j.
It is slow, don't use it if you don't have to. i is assumed >= j, if necessary (i.e. when PSymm is AntiSymm or Symm). there's no error checking.