CUSP
Loading...
Searching...
No Matches
array2d.h File Reference

2D array of elements that may reside in "host" or "device" memory space More...

Go to the source code of this file.

Classes

class  cusp::array2d< ValueType, MemorySpace, Orientation >
 The array2d class is a 2D vector container that may contain elements stored in "host" or "device" memory space. More...
 
class  cusp::array2d_view< ArrayView, Orientation >
 The array2d_view is a view of a array2d container. More...
 

Functions

template<typename Iterator , typename Orientation >
array2d_view< typename cusp::array1d_view< Iterator >, Orientation > cusp::make_array2d_view (size_t num_rows, size_t num_cols, size_t pitch, const cusp::array1d_view< Iterator > &values, Orientation)
 
template<typename Array , typename Orientation >
array2d_view< Array, Orientation > cusp::make_array2d_view (const array2d_view< Array, Orientation > &v)
 
template<typename T , class MemorySpace , class Orientation >
array2d_view< typename cusp::array1d_view< typename cusp::array1d< T, MemorySpace >::iterator >, Orientation > cusp::make_array2d_view (cusp::array2d< T, MemorySpace, Orientation > &v)
 
template<typename T , class MemorySpace , class Orientation >
array2d_view< typename cusp::array1d_view< typename cusp::array1d< T, MemorySpace >::const_iterator >, Orientation > cusp::make_array2d_view (const cusp::array2d< T, MemorySpace, Orientation > &v)
 

Detailed Description

2D array of elements that may reside in "host" or "device" memory space

Definition in file array2d.h.