Data Structures | Functions

viennacl::traits Namespace Reference

Data Structures

struct  tag_of
struct  tag_of< std::vector< T, A > >
struct  tag_of< std::vector< std::vector< T, A >, A > >
struct  tag_of< std::vector< std::map< KEY, DATA, COMPARE, AMAP >, AVEC > >
struct  tag_of< viennacl::vector< T, alignment > >
struct  tag_of< viennacl::matrix< T, F, alignment > >
struct  tag_of< viennacl::matrix_expression< T1, T2, OP > >
struct  tag_of< viennacl::matrix_range< T > >
struct  tag_of< viennacl::compressed_matrix< T, I > >
struct  tag_of< viennacl::coordinate_matrix< T, I > >
struct  tag_of< viennacl::circulant_matrix< T, I > >
struct  tag_of< viennacl::hankel_matrix< T, I > >
struct  tag_of< viennacl::toeplitz_matrix< T, I > >
struct  tag_of< viennacl::vandermonde_matrix< T, I > >

Functions

template<typename VectorType >
void clear (VectorType &vec)
template<typename ScalarType , unsigned int ALIGNMENT>
void clear (viennacl::vector< ScalarType, ALIGNMENT > &vec)
template<typename MatrixType , typename SCALARTYPE >
void fill (MatrixType &matrix, std::size_t row_index, std::size_t col_index, SCALARTYPE value)
template<typename T >
viennacl::ocl::handle< cl_mem > handle (T &obj)
template<typename T >
viennacl::ocl::handle< cl_mem > handle (viennacl::vector_range< T > &obj)
template<typename T >
viennacl::ocl::handle< cl_mem > handle (viennacl::vector_range< T > const &obj)
template<typename T >
viennacl::ocl::handle< cl_mem > handle (viennacl::matrix_range< T > &obj)
template<typename T >
viennacl::ocl::handle< cl_mem > handle (viennacl::matrix_range< T > const &obj)
template<typename MatrixType >
void resize (MatrixType &matrix, size_t rows, size_t cols)
template<typename VectorType >
void resize (VectorType &vec, size_t new_size)
template<typename VectorType >
result_of::size_type
< VectorType >::type 
size (VectorType const &vec)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
size1 (MatrixType const &mat)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
size2 (MatrixType const &mat)
template<typename VectorType >
result_of::size_type
< VectorType >::type 
internal_size (VectorType const &vec)
template<typename VectorType >
result_of::size_type
< VectorType >::type 
internal_size (viennacl::vector_range< VectorType > const &vec)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
internal_size1 (MatrixType const &mat)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
internal_size1 (viennacl::matrix_range< MatrixType > const &mat)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
internal_size2 (MatrixType const &mat)
template<typename MatrixType >
result_of::size_type
< MatrixType >::type 
internal_size2 (viennacl::matrix_range< MatrixType > const &mat)
template<typename T >
result_of::size_type< T >::type start (T const &obj)
template<typename ScalarType , unsigned int ALIGNMENT>
result_of::size_type
< viennacl::vector< ScalarType,
ALIGNMENT > >::type 
start (viennacl::vector< ScalarType, ALIGNMENT > const &v)
template<typename T >
result_of::size_type< T >::type start1 (T const &obj)
template<typename ScalarType , typename F , unsigned int ALIGNMENT>
result_of::size_type
< viennacl::matrix< ScalarType,
F, ALIGNMENT > >::type 
start1 (viennacl::matrix< ScalarType, F, ALIGNMENT > const &v)
template<typename T >
result_of::size_type< T >::type start2 (T const &obj)
template<typename ScalarType , typename F , unsigned int ALIGNMENT>
result_of::size_type
< viennacl::matrix< ScalarType,
F, ALIGNMENT > >::type 
start2 (viennacl::matrix< ScalarType, F, ALIGNMENT > const &v)

Function Documentation

void viennacl::traits::clear ( VectorType &  vec  ) 
void viennacl::traits::clear ( viennacl::vector< ScalarType, ALIGNMENT > &  vec  ) 
void viennacl::traits::fill ( MatrixType &  matrix,
std::size_t  row_index,
std::size_t  col_index,
SCALARTYPE  value 
)
viennacl::ocl::handle<cl_mem> viennacl::traits::handle ( T &  obj  ) 
viennacl::ocl::handle<cl_mem> viennacl::traits::handle ( viennacl::matrix_range< T > const &  obj  ) 
viennacl::ocl::handle<cl_mem> viennacl::traits::handle ( viennacl::vector_range< T > &  obj  ) 
viennacl::ocl::handle<cl_mem> viennacl::traits::handle ( viennacl::vector_range< T > const &  obj  ) 
viennacl::ocl::handle<cl_mem> viennacl::traits::handle ( viennacl::matrix_range< T > &  obj  ) 
result_of::size_type<VectorType>::type viennacl::traits::internal_size ( VectorType const &  vec  ) 
result_of::size_type<VectorType>::type viennacl::traits::internal_size ( viennacl::vector_range< VectorType > const &  vec  ) 
result_of::size_type<MatrixType>::type viennacl::traits::internal_size1 ( MatrixType const &  mat  ) 
result_of::size_type<MatrixType>::type viennacl::traits::internal_size1 ( viennacl::matrix_range< MatrixType > const &  mat  ) 
result_of::size_type<MatrixType>::type viennacl::traits::internal_size2 ( MatrixType const &  mat  ) 
result_of::size_type<MatrixType>::type viennacl::traits::internal_size2 ( viennacl::matrix_range< MatrixType > const &  mat  ) 
void viennacl::traits::resize ( VectorType &  vec,
size_t  new_size 
)
void viennacl::traits::resize ( MatrixType &  matrix,
size_t  rows,
size_t  cols 
)
result_of::size_type<VectorType>::type viennacl::traits::size ( VectorType const &  vec  ) 
result_of::size_type<MatrixType>::type viennacl::traits::size1 ( MatrixType const &  mat  ) 
result_of::size_type<MatrixType>::type viennacl::traits::size2 ( MatrixType const &  mat  ) 
result_of::size_type<viennacl::vector<ScalarType, ALIGNMENT> >::type viennacl::traits::start ( viennacl::vector< ScalarType, ALIGNMENT > const &  v  ) 
result_of::size_type<T>::type viennacl::traits::start ( T const &  obj  ) 
result_of::size_type<viennacl::matrix<ScalarType, F, ALIGNMENT> >::type viennacl::traits::start1 ( viennacl::matrix< ScalarType, F, ALIGNMENT > const &  v  ) 
result_of::size_type<T>::type viennacl::traits::start1 ( T const &  obj  ) 
result_of::size_type<T>::type viennacl::traits::start2 ( T const &  obj  ) 
result_of::size_type<viennacl::matrix<ScalarType, F, ALIGNMENT> >::type viennacl::traits::start2 ( viennacl::matrix< ScalarType, F, ALIGNMENT > const &  v  )