1 #ifndef VIENNACL_TRAITS_STRIDE_HPP_
2 #define VIENNACL_TRAITS_STRIDE_HPP_
45 typename result_of::size_type< viennacl::vector_base<T> >::type
55 template <
typename NumericT,
typename F>
66 template <
typename NumericT,
typename F>
result_of::size_type< matrix_base< NumericT, F > >::type stride2(matrix_base< NumericT, F > const &s)
Definition: stride.hpp:68
A dense matrix class.
Definition: forwards.h:290
size_type stride2() const
Returns the number of columns.
Definition: matrix.hpp:637
result_of::size_type< viennacl::vector_base< T > >::type stride(viennacl::vector_base< T > const &s)
Definition: stride.hpp:46
This file provides the forward declarations for the main types used within ViennaCL.
result_of::size_type< matrix_base< NumericT, F > >::type stride1(matrix_base< NumericT, F > const &s)
Definition: stride.hpp:57
size_type stride1() const
Returns the number of rows.
Definition: matrix.hpp:635
Common base class for dense vectors, vector ranges, and vector slices.
Definition: forwards.h:205
Generic meta-function for retrieving the size_type associated with type T.
Definition: result_of.hpp:184
A collection of compile time type deductions.
size_type stride() const
Returns the stride within the buffer (in multiples of sizeof(SCALARTYPE))
Definition: vector.hpp:849