![]() |
Bachelor's degree final project
v1.0
Faculty of Mathematics, University of Barcelona
|
Permutation operation with a vector. More...
#include "permutation.h"
Defines | |
#define | _OPENMP_PERMUTATION_DIMENSION 1e2 |
Minimum value for using the openmp library in permutation. | |
Functions | |
void | permutation_init (size_t n, size_t *const p) |
Initialize a identity vector permutation. | |
void | permutation_vector (size_t n, size_t *const p, double *const x, double *const px) |
Permute the values of the vector x into px based on the vector permutation p. |
Permutation operation with a vector.