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