Dense Containers

Dense containers are represented by the arbb::dense class template.

Dense containers provide storage for contiguous regular data whose size can vary at runtime. Dense containers can be one, two, or three-dimensional. The dimension determines the number of scalars required to index an element. The elements of dense containers may be instances of any scalar types or a user-defined type.

Any operation applicable to a scalar (see Scalar Functions) is also applicable to a dense container of such scalars (see Dense Container Element-wise Functions). If defined on a user-defined type, the operations are also applicable to dense containers of the user-defined type. See Dense Container Element-wise Functions for details on these operations.

In addition to element-wise operations, Intel(R) ArBB provides operations that combine more than one element of a dense container in a computation (see Reductions and Scans) or operate on a dense container as a whole (see Dense Container Functions).

See Also

Dense Container Element-wise Functions
Scalar Functions
Reductions and Scans
Dense Container Functions

Classes

class  arbb::dense< T, D >
 A dense container of dimensionality D with elements of type T. More...

Functions

template<typename T >
void arbb::expect_size (const dense< T, 1 > &container, std::size_t width)
template<typename T >
void arbb::expect_size (const dense< T, 2 > &container, std::size_t width, std::size_t height)
template<typename T >
void arbb::expect_size (const dense< T, 3 > &container, std::size_t width, std::size_t height, std::size_t depth)
template<typename T , std::size_t D>
void arbb::expect_size (const dense< T, D > &container, const array< std::size_t, D > &size)

Function Documentation

template<typename T >
void arbb::expect_size ( const dense< T, 1 > &  container,
std::size_t  width 
) [inline]
template<typename T >
void arbb::expect_size ( const dense< T, 2 > &  container,
std::size_t  width,
std::size_t  height 
) [inline]
template<typename T >
void arbb::expect_size ( const dense< T, 3 > &  container,
std::size_t  width,
std::size_t  height,
std::size_t  depth 
) [inline]
template<typename T , std::size_t D>
void arbb::expect_size ( const dense< T, D > &  container,
const array< std::size_t, D > &  size 
) [inline]

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.