1 #ifndef VIENNACL_TRAITS_STRIDE_HPP_
2 #define VIENNACL_TRAITS_STRIDE_HPP_
44 typename result_of::size_type< viennacl::vector_base<T> >::type
53 template<
typename NumericT>
63 template<
typename NumericT>
result_of::size_type< matrix_base< NumericT > >::type stride1(matrix_base< NumericT > const &s)
size_type stride2() const
Returns the number of columns.
result_of::size_type< viennacl::vector_base< T > >::type stride(viennacl::vector_base< T > const &s)
This file provides the forward declarations for the main types used within ViennaCL.
size_type stride() const
Returns the stride within the buffer (in multiples of sizeof(NumericT))
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
size_type stride1() const
Returns the number of rows.
Common base class for dense vectors, vector ranges, and vector slices.
result_of::size_type< matrix_base< NumericT > >::type stride2(matrix_base< NumericT > const &s)
Generic meta-function for retrieving the size_type associated with type T.
A collection of compile time type deductions.