proj home

Files   Classes   Functions   Hierarchy  

permutationfunc.h

Go to the documentation of this file.
00001 #ifndef PERMUTATIONFUNC_H
00002 #define PERMUTATIONFUNC_H
00003 
00004 #include <typedefs.h>
00005 
00046 class permutationfunc
00047 {
00048 public:
00049 
00052   permutationfunc
00053   (
00054     uintc * fop_,
00055     uintc N_,
00056     uintc dim_
00057   ) : fop(fop_), N(N_), dim(dim_) {}
00058 
00060   uintc * fop;
00062   uintc N;
00064   uintc dim;
00065 
00067   uintc * fi(uintc i) const
00068     { return fop + dim*i; }
00069 
00071   void ik(uint * x, uintc i, uintc k) const;
00074   uintc ik(bool & found, uintc i, uintc k) const;
00076   uintc inverse(bool & found, uintc * x) const;
00077 
00080   void writeBinaryOperator(bool & result, uint * mat) const;
00081 };
00082 
00083 
00084 #endif
00085 
00086 

Generated on Fri Mar 4 00:49:28 2011 for Chelton Evans Source by  doxygen 1.5.8