|
My Project
|
#include <iostream>#include <mpi.h>Macros | |
| #define | HEADER_DEBUG |
Functions | |
| void | MinMaxD (const int n, const double x[], double &min, int &kmin, double &max, int &kmax) |
| void | PivotD (const int n, double x[]) |
| #define HEADER_DEBUG |
| void MinMaxD | ( | const int | n, |
| const double | x[], | ||
| double & | min, | ||
| int & | kmin, | ||
| double & | max, | ||
| int & | kmax | ||
| ) |
| void PivotD | ( | const int | n, |
| double | x[] | ||
| ) |
Exchanges global minimum and maximum of the global vector x .
| [in] | n | number of elements of vector x (of my process) |
| [in,out] | x | local vector (double) on my process |
1.8.11