Wrapper class for GSL permutation routines. More...
#include <src/gsl_wrappers/gsl_permutation.h>
Public Member Functions | |
permutation (size_t n, bool clear=true) | |
Class constructor for permutation class. | |
permutation () | |
Class constructor for permutation class without prespecified size. | |
~permutation () | |
Class destructor for permutation class. | |
void | resize (size_t n) |
Function that allocates a size to a created permutation object. | |
gsl_permutation * | gslperm_obj () |
Permutation object for interfacing with BLAS and/or GSL C libraries. | |
const gsl_permutation * | gslperm_obj () const |
Const permutation object for interfacing with BLAS and/or GSL C libraries. | |
Private Attributes | |
gsl_permutation * | gsldata |
GSL permutation object. | |
Friends | |
class | matrix |
class | matrix_int |
Wrapper class for GSL permutation routines.
This header file includes the C++ wrapper for the GSL permutation routines. These routines are used to creating and manipulating permutation objects. More informationcan be found in the GSL manual http://www.gnu.org/software/gsl/manual/html_node/Permutations.html These routines are taken from the GSLwrap project. The oblective is to use special features of C++ such as operator overloading to enable a Matlab-like environment for development. The core GSLwrap libraries are freely available from http://sourceforge.net/projects/gslwrap/files/0.2/shrinkwrap/gslwrap-0.2.tar.gz/download Additional information on GSLwrap is available from http://gslwrap.sourceforge.net/ We include the files with this distribution as some additions have been made to the files from GSLwrap for additional functionality.