src/HSLib/GenOp.cc
// Input		Op    : General operator (this)
// Output		none  : Op WBR set to DBR 
// Note			      : If no DBR exists for Op then
//				one is produced with NEW
//				default basis produced.
Input          Op    : General operator (this)
Output         none  : Op WBR set to DBR
Note                         : If no DBR exists for Op then
one is produced with NEW
default basis produced.
Input Op : General operator ( this ) Output none : Op WBR set to DBR Note : If no DBR exists for Op then one is produced with NEW default basis produced .
void gen_op::set_DBR() const
  {
  if(!WBR) return;				
  if(WBR == DBR) return;			
  if(DBR) { WBR=DBR; return; }			
  matrix mx=WBR->RepBs.convert_back(WBR->RepMx);
  genoprep OpRep(mx,basis(mx.rows()),DBPr);	
  AddRepM(OpRep);				
  SetLimits(MaxReps);				
  }
void gen_op :: set_DBR ( ) const { if ( ! WBR ) return ; if ( WBR == DBR ) return ; if ( DBR ) { WBR = DBR ; return ; } matrix mx = WBR -> RepBs . convert_back ( WBR -> RepMx ) ; genoprep OpRep ( mx , basis ( mx . rows ( ) ) , DBPr ) ; AddRepM ( OpRep ) ; SetLimits ( MaxReps ) ; }
Input          Op    : General operator (this)
Output         none  : Op WBR set to DBR
Note                         : If no DBR exists for Op then
one is produced with NEW
default basis produced.
Input Op : General operator ( this ) Output none : Op WBR set to DBR Note : If no DBR exists for Op then one is produced with NEW default basis produced .
// Nothing if NULL Op // Nothing if WBR already DBR // If DBR exists, set WBR to DBR // Convert WBR mx to DBR mx // New Op representation (DBR) // Add new representation // Impose rep limit on Op