Bachelor's degree final project  v1.0
Faculty of Mathematics, University of Barcelona
src/include/permutation.h
Go to the documentation of this file.
00001 
00012 #ifndef PERMUTATION_H
00013 #define PERMUTATION_H
00014 
00015 #include "utils.h"
00016 
00017 /* Function prototypes */
00018 
00019 void permutation_init(size_t n, size_t * const p);
00020 void permutation_vector(size_t n, size_t * const p, double * const x, double * const px);
00021 void swap_bit(size_t i, size_t j, size_t * const x, size_t * const y);
00022 #endif