#include <mpi.h>
Go to the source code of this file.
|
double | scalar (const unsigned int N, const double x[], const double y[]) |
|
double | par_scalar (const unsigned int N, const double x[], const double y[], const MPI::Intracomm &icomm) |
|
double par_scalar |
( |
const unsigned int |
N, |
|
|
const double |
x[], |
|
|
const double |
y[], |
|
|
const MPI::Intracomm & |
icomm |
|
) |
| |
Parameter constructor
- Parameters
-
[in] | N | number of vector elements |
[in] | x | vector |
[in] | y | vector |
- Returns
- resulting Euclidian inner product <x,y>
double scalar |
( |
const unsigned int |
N, |
|
|
const double |
x[], |
|
|
const double |
y[] |
|
) |
| |
Parameter constructor
- Parameters
-
[in] | N | number of vector elements |
[in] | x | vector |
[in] | y | vector |
- Returns
- resulting Euclidian inner product <x,y>