// Classical algorithms namespace header file

#ifndef calgos_h

#undef AFX_API
#define AFX_API AFX_EXT_CLASS
#define calgos_h

#include <iostream.h>

#include "complex.h"
#include "bstate.h"
#include "hilbert.h"
#include "gate.h"
#include "gates.h"

namespace CCAlgos
{
	int euclid(int, int);			// Euclid's algorithm
									// finds the gcd of 2 integers
	int coprime(int);				// returns a number coprime
									// and less than n
	int approxdenom(double, int);	// rational approximation
									// very brute force at the moment
									// n*n complexity, really need
									// to do a convergent implementation
};

#endif
