Namespace providing traits-information as well as generic wrappers to common routines for vectors and matrices such as size() or clear()
More...
|
template<typename VectorType > |
void | clear (VectorType &vec) |
| Generic routine for setting all entries of a vector to zero. This is the version for non-ViennaCL objects. More...
|
|
template<typename ScalarType , unsigned int AlignmentV> |
void | clear (viennacl::vector< ScalarType, AlignmentV > &vec) |
| Generic routine for setting all entries of a vector to zero. This is the version for ViennaCL objects. More...
|
|
template<typename T > |
viennacl::context | context (T const &t) |
| Returns an ID for the currently active memory domain of an object. More...
|
|
viennacl::context | context (viennacl::backend::mem_handle const &h) |
| Returns an ID for the currently active memory domain of an object. More...
|
|
template<typename MatrixType , typename NumericT > |
void | fill (MatrixType &matrix, vcl_size_t row_index, vcl_size_t col_index, NumericT value) |
| Generic filler routine for setting an entry of a matrix to a particular value. More...
|
|
template<typename T > |
viennacl::backend::mem_handle & | handle (T &obj) |
| Returns the generic memory handle of an object. Non-const version. More...
|
|
template<typename T > |
viennacl::backend::mem_handle const & | handle (T const &obj) |
| Returns the generic memory handle of an object. Const-version. More...
|
|
template<typename T > |
viennacl::backend::mem_handle::ram_handle_type & | ram_handle (T &obj) |
| Generic helper routine for extracting the RAM handle of a ViennaCL object. Non-const version. More...
|
|
template<typename T > |
viennacl::backend::mem_handle::ram_handle_type const & | ram_handle (T const &obj) |
| Generic helper routine for extracting the RAM handle of a ViennaCL object. Const version. More...
|
|
template<typename T > |
viennacl::memory_types | active_handle_id (T const &obj) |
| Returns an ID for the currently active memory domain of an object. More...
|
|
template<typename T > |
bool | row_major (T const &) |
|
template<typename NumericT > |
bool | row_major (matrix_base< NumericT > const &A) |
|
template<typename LHS , typename RHS , typename OP > |
bool | row_major (matrix_expression< LHS, RHS, OP > const &proxy) |
|
template<typename MatrixType > |
void | resize (MatrixType &matrix, vcl_size_t rows, vcl_size_t cols) |
| Generic resize routine for resizing a matrix (ViennaCL, uBLAS, etc.) to a new size/dimension. More...
|
|
template<typename VectorType > |
void | resize (VectorType &vec, vcl_size_t new_size) |
| Generic resize routine for resizing a vector (ViennaCL, uBLAS, etc.) to a new size. More...
|
|
template<typename MatrixType > |
vcl_size_t | size1 (MatrixType const &mat) |
| Generic routine for obtaining the number of rows of a matrix (ViennaCL, uBLAS, etc.) More...
|
|
template<typename MatrixType > |
result_of::size_type< MatrixType >::type | size2 (MatrixType const &mat) |
| Generic routine for obtaining the number of columns of a matrix (ViennaCL, uBLAS, etc.) More...
|
|
template<typename VectorType > |
vcl_size_t | size (VectorType const &vec) |
| Generic routine for obtaining the size of a vector (ViennaCL, uBLAS, etc.) More...
|
|
template<typename NumericT > |
vcl_size_t | internal_size (vector_base< NumericT > const &vec) |
| Helper routine for obtaining the buffer length of a ViennaCL vector. More...
|
|
template<typename NumericT > |
vcl_size_t | internal_size1 (matrix_base< NumericT > const &mat) |
| Helper routine for obtaining the internal number of entries per row of a ViennaCL matrix. More...
|
|
template<typename NumericT > |
vcl_size_t | internal_size2 (matrix_base< NumericT > const &mat) |
| Helper routine for obtaining the internal number of entries per column of a ViennaCL matrix. More...
|
|
template<typename NumericT > |
vcl_size_t | ld (matrix_base< NumericT > const &mat) |
| Helper routine for obtaining the internal number of entries per row of a ViennaCL matrix. More...
|
|
template<typename NumericT > |
vcl_size_t | nld (matrix_base< NumericT > const &mat) |
|
template<typename LHS > |
vcl_size_t | size (vector_expression< LHS, const int, op_matrix_diag > const &proxy) |
|
template<typename LHS > |
vcl_size_t | size (vector_expression< LHS, const unsigned int, op_row > const &proxy) |
|
template<typename LHS > |
vcl_size_t | size (vector_expression< LHS, const unsigned int, op_column > const &proxy) |
|
template<typename T > |
result_of::size_type< T >::type | start (T const &obj) |
|
template<typename ScalarType , unsigned int AlignmentV> |
result_of::size_type< viennacl::vector< ScalarType, AlignmentV > >::type | start (viennacl::vector< ScalarType, AlignmentV > const &) |
|
template<typename T > |
result_of::size_type< T >::type | start1 (T const &obj) |
|
template<typename ScalarType , typename F , unsigned int AlignmentV> |
result_of::size_type< viennacl::matrix< ScalarType, F, AlignmentV > >::type | start1 (viennacl::matrix< ScalarType, F, AlignmentV > const &) |
|
template<typename T > |
result_of::size_type< T >::type | start2 (T const &obj) |
|
template<typename ScalarType , typename F , unsigned int AlignmentV> |
result_of::size_type< viennacl::matrix< ScalarType, F, AlignmentV > >::type | start2 (viennacl::matrix< ScalarType, F, AlignmentV > const &) |
|
template<typename T > |
result_of::size_type< viennacl::vector_base< T > >::type | stride (viennacl::vector_base< T > const &s) |
|
template<typename NumericT > |
result_of::size_type< matrix_base< NumericT > >::type | stride1 (matrix_base< NumericT > const &s) |
|
template<typename NumericT > |
result_of::size_type< matrix_base< NumericT > >::type | stride2 (matrix_base< NumericT > const &s) |
|
Namespace providing traits-information as well as generic wrappers to common routines for vectors and matrices such as size() or clear()