![]() |
Bachelor's degree final project
v1.0
Faculty of Mathematics, University of Barcelona
|
Permutation basic function header file. More...
#include "utils.h"
Go to the source code of this file.
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. | |
void | swap_bit (size_t i, size_t j, size_t *const x, size_t *const y) |
Swap two values from vector x to y. |
Permutation basic function header file.
This file contains the header for basic operation and function of permutations