Functions | |
double | skalar (const int n, const double x[], const double y[], const MPI::Intracomm &icomm) |
double skalar | ( | const int | n, |
const double | x[], | ||
const double | y[], | ||
const MPI::Intracomm & | icomm | ||
) |
Computes the parallel scalar product of two double vectors. One vecctor has to be accumulated the other one has to be distributed.
[in] | n | length of the vectors |
[in] | x | vector |
[in] | y | vector |