Code Search for Developers
 
 
  

debug-RandomAutomorphism.C from Magnus at Krugle


Show debug-RandomAutomorphism.C syntax highlighted

#include <iostream>
#include "RandomAutomorphism.h"
#include "FreeGroup.h"


main( )
{
  FreeGroup F;

  cout << "Enter a free group:" << endl << flush;

  Chars errMesg = cin >> F;

  if ( errMesg.length() > 0 ) {
	 cout << errMesg << endl << endl;
	 exit;
  }
  else cout << "\n\nYou typed:\n" << F << endl << endl;

  RandomAutomorphism ra(F,1995);

  for ( int i = 0; i < 20; i++ ) {
    cout << ra.getGeneratingVector( 10 ) << endl;
  }

  return 1;
}




See more files for this project here

Magnus

Magnus is a special purpose mathematical package for Infinite Group Theory computations

Project homepage: http://sourceforge.net/projects/magnus
Programming language(s): C,C++
License: other

  debug-AbelianGroup.C
  debug-AbelianInfinitenessProblem.C
  debug-EquationParser.C
  debug-MSCGConjugacyProblem.C
  debug-MSCGroup.C
  debug-MSCGroup.data
  debug-MSCGroup.testout
  debug-RandomAutomorphism.C
  debug-RandomMSCGroup.C
  debug-RandomPrimitiveElement.C
  debug-TietzeTrekker.C
  test-SymmetricRelators.C