#include <dist_list.h>
Collaboration diagram for dist_list< A >:

Public Member Functions | |
| int | get_global_size () const |
| Returns the total size of list. | |
| A & | at (int index) |
| Local access to data. | |
| const A & | at (int index) const |
| Constant local access to data. | |
| int | get_begin_index (int rank) const |
| Computes the first index. | |
| int | get_end_index (int rank) const |
| Computes the (last + 1) index. | |
| int | get_local_size (int rank) const |
| Computes the local size. | |
| dist_list (int list_size_) | |
| Makes an empty list. | |
| dist_list (int array_size_, const A *array_) | |
Makes an list by distributing the list on master process. | |
| template<typename F> | |
| dist_list (const F &f, int list_size_) | |
Makes an list by generating with func. | |
| dist_list (const dist_list< A > &as) | |
| Copy constructor. | |
| dist_list< A > & | operator= (const dist_list< A > &as) |
| The assignment operator. | |
| ~dist_list () | |
Friends | |
| class | list_skeletons |
Definition at line 50 of file dist_list.h.
|
||||||||||
|
Makes an empty list.
Definition at line 89 of file dist_list.tpp. References skeleton::init(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Makes an list by distributing the
Definition at line 97 of file dist_list.tpp. References dist_list< A >::get_begin_index(), dist_list< A >::get_local_size(), skeleton::init(), skeleton::procs, skeleton::rank, and TAG_DISTRIBUTE. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Makes an list by generating with
Definition at line 123 of file dist_list.tpp. References dist_list< A >::at(), and skeleton::init(). Here is the call graph for this function: ![]() |
|
||||||||||
|
Copy constructor.
Definition at line 136 of file dist_list.tpp. References dist_list< A >::at(), and skeleton::init(). Here is the call graph for this function: ![]() |
|
|||||||||
|
Definition at line 178 of file dist_list.tpp. |
|
||||||||||
|
Constant local access to data.
Definition at line 39 of file dist_list.tpp. |
|
||||||||||
|
Local access to data.
Definition at line 32 of file dist_list.tpp. Referenced by list_skeletons::accumulate(), list_skeletons::cataj(), dist_list< A >::dist_list(), list_skeletons::map(), list_skeletons::map_ow(), list_skeletons::mapindex(), list_skeletons::mapindex_ow(), dist_list< A >::operator=(), list_skeletons::prescan(), list_skeletons::prescan_ow(), list_skeletons::prescanr(), list_skeletons::prescanr_ow(), list_skeletons::print(), list_skeletons::reduce(), list_skeletons::scan(), list_skeletons::scanr(), list_skeletons::shiftl(), list_skeletons::shiftl_ow(), list_skeletons::shiftr(), list_skeletons::shiftr_ow(), list_skeletons::zip(), list_skeletons::zip_reduce(), list_skeletons::zipwith(), list_skeletons::zipwith_reduce(), and list_skeletons::zipwithindex(). |
|
||||||||||
|
Computes the first index.
Definition at line 46 of file dist_list.tpp. References skeleton::procs. Referenced by dist_list< A >::dist_list(), list_skeletons::gather(), and list_skeletons::print(). |
|
||||||||||
|
Computes the (last + 1) index.
Definition at line 60 of file dist_list.tpp. References skeleton::procs. Referenced by list_skeletons::print(). |
|
|||||||||
|
Returns the total size of list.
Definition at line 25 of file dist_list.tpp. Referenced by list_skeletons::map(), list_skeletons::mapindex(), list_skeletons::prescan(), list_skeletons::prescanr(), list_skeletons::scan(), list_skeletons::scanr(), list_skeletons::zip(), list_skeletons::zip_reduce(), list_skeletons::zipwith(), list_skeletons::zipwith_reduce(), and list_skeletons::zipwithindex(). |
|
||||||||||
|
Computes the local size.
Definition at line 74 of file dist_list.tpp. References skeleton::procs. Referenced by dist_list< A >::dist_list(), list_skeletons::gather(), and list_skeletons::print(). |
|
||||||||||
|
The assignment operator.
Definition at line 147 of file dist_list.tpp. References dist_list< A >::at(), dist_list< A >::global_size, and skeleton::init(). Here is the call graph for this function: ![]() |
|
|||||
|
Definition at line 52 of file dist_list.h. |
1.4.4