src/IntRank2/IntCSAVec.cc
// Input		ICV   : CSA interaction vector (this)
//                      i     : A CSA interaction index
// Ouput                DI    : The i'th CSA interaction in ICV
// Note                       : Returns a reference to the interaction
Input          ICV   : CSA interaction vector (this)
i     : A CSA interaction index
Ouput                DI    : The i'th CSA interaction in ICV
Note                       : Returns a reference to the interaction
Input ICV : CSA interaction vector ( this ) i : A CSA interaction index Ouput DI : The i ' th CSA interaction in ICV Note : Returns a reference to the interaction
IntCSA IntCSAVec::get(int spin) const
  {
  if(!CheckCI(spin)) ICVfatal(1);		
  return (*this)[spin];				
  }
IntCSA IntCSAVec :: get ( int spin ) const { if ( ! CheckCI ( spin ) ) ICVfatal ( 1 ) ; return ( * this ) [ spin ] ; }
Input          ICV   : CSA interaction vector (this)
i     : A CSA interaction index
Ouput                DI    : The i'th CSA interaction in ICV
Note                       : Returns a reference to the interaction
Input ICV : CSA interaction vector ( this ) i : A CSA interaction index Ouput DI : The i ' th CSA interaction in ICV Note : Returns a reference to the interaction
// Input		ICV	: CSA interaction vector // 			spin	: CSA index // Output		DI	: Return rank 2 CSA interaction // Check CSA exists // Return requested IntCSA