A nested container combines a sequence of dense containers as its segments.
Nested containers can help you with partitioning containers into sets, or performing a complex rearrangement of a container. Nested containers are constructed from operations on dense containers or by transforming an existing nested container (see Nested Container Functions). The elements of nested containers may be any of the scalar types (see Scalars) or a user-defined type (see User-defined Types).
Any operation applicable to a scalar (see Scalar Functions) is also applicable to a nested container of such scalars (see Nested Container Element-wise Functions). Any such operations, if defined on a user-defined type, are also applicable to nested containers of the user-defined type. See Nested Container Element-wise Functions for details on these operations.
In addition to element-wise operations, Intel(R) ArBB provides a number of other operations that combine more than one element of the segments of a nested container in a computation (see Reductions and Scans) or operate on a nested container as a whole (see Nested Container Functions).
Classes | |
class | arbb::nested< T > |
A nested container with elements of type T . More... |
Copyright © 2010, Intel Corporation. All rights reserved.