You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
376 B
C++
31 lines
376 B
C++
#ifndef __AMSCPPPERM1_HPP__
|
|
#define __AMSCPPPERM1_HPP__
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
|
|
|
|
namespace ams
|
|
{
|
|
namespace perm
|
|
{
|
|
|
|
//Buffer operations
|
|
|
|
|
|
//Permutation class
|
|
class permutation
|
|
{
|
|
public:
|
|
int dim;
|
|
int *data;
|
|
|
|
permutation();
|
|
~permutation();
|
|
};
|
|
|
|
}; //end namespace perm
|
|
}; //end namespace ams
|
|
|
|
#endif |