src/IntRank2/IntGVec.cc
// Input		IGV   : Electron G interaction vector (this)
//                      i     : A Electron G interaction index
// Ouput                DI    : The i'th Electron G interaction in IGV
// Note                       : Returns a reference to the interaction
Input          IGV   : Electron G interaction vector (this)
i     : A Electron G interaction index
Ouput                DI    : The i'th Electron G interaction in IGV
Note                       : Returns a reference to the interaction
Input IGV : Electron G interaction vector ( this ) i : A Electron G interaction index Ouput DI : The i ' th Electron G interaction in IGV Note : Returns a reference to the interaction
IntG IntGVec::get(int spin) const
  {
  if(!check_spin(spin)) IGVfatal(1);		
  return (*this)[spin];				
  }
IntG IntGVec :: get ( int spin ) const { if ( ! check_spin ( spin ) ) IGVfatal ( 1 ) ; return ( * this ) [ spin ] ; }
Input          IGV   : Electron G interaction vector (this)
i     : A Electron G interaction index
Ouput                DI    : The i'th Electron G interaction in IGV
Note                       : Returns a reference to the interaction
Input IGV : Electron G interaction vector ( this ) i : A Electron G interaction index Ouput DI : The i ' th Electron G interaction in IGV Note : Returns a reference to the interaction
// Input		IGV	: Electron G interaction vector // 			spin	: G index // Output		DI	: Return rank 2 Electron G interaction // Check G exists // Return requested IntG