Bachelor's degree final project  v1.0
Faculty of Mathematics, University of Barcelona
Defines | Functions
src/permutation.c File Reference

Permutation operation with a vector. More...

#include "permutation.h"
+ Include dependency graph for permutation.c:

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.

Detailed Description

Permutation operation with a vector.

Author:
Joan
Date:
20/01/2014 (start)
Version:
1.0