From 5cde13f21d36c7224b0e13d11c4b49379ae5210d Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 6 Oct 2016 10:38:45 +0900 Subject: Imported Upstream version 1.61.0 Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90 Signed-off-by: DongHun Kwak --- doc/html/boost/mpi/scan.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'doc/html/boost/mpi/scan.html') diff --git a/doc/html/boost/mpi/scan.html b/doc/html/boost/mpi/scan.html index f1daf88e08..eefe71e04b 100644 --- a/doc/html/boost/mpi/scan.html +++ b/doc/html/boost/mpi/scan.html @@ -4,7 +4,7 @@ Function scan - + @@ -42,25 +42,19 @@ void scan(const communicator & comm, const T * in_values, int n, T * out_values, Op op);
-

Description

+

Description

scan is a collective algorithm that combines the values stored by each process with the values of all processes with a smaller rank. The values can be arbitrarily combined, specified via a function object op. The type T of the values may be any type that is serializable or has an associated MPI data type. One can think of this operation as a gather to some process, followed by an std::prefix_sum() over the gathered values using the operation op. The ith process returns the ith value emitted by std::prefix_sum().

When the type T has an associated MPI data type, this routine invokes MPI_Scan to perform the reduction. If possible, built-in MPI operations will be used; otherwise, scan() will create a custom MPI_Op for the call to MPI_Scan.

-
-+
-- -

Parameters:

-+
-- -- cgit v1.2.3

comm