#include "assignment.hpp"
#include "detail/iterator.hpp"
Go to the source code of this file.
|
template<class V > |
temporary_proxy< vector_range< V > > | shark::blas::subrange (vector_expression< V > &data, typename V::size_type start, typename V::size_type stop) |
| Return a vector_range on a specified vector, a start and stop index. Return a vector_range on a specified vector, a start and stop index. The resulting vector_range can be manipulated like a normal vector. If the specified range falls outside that of of the index range of the vector, then the resulting vector_range is not a well formed Vector Expression and access to an element outside of index range of the vector is undefined. More...
|
|
template<class V > |
vector_range< typename const_expression< V >::type > | shark::blas::subrange (vector_expression< V > const &data, typename V::size_type start, typename V::size_type stop) |
| Return a const vector_range on a specified vector, a start and stop index. Return a const vector_range on a specified vector, a start and stop index. The resulting const vector_range can be manipulated like a normal vector. If the specified range falls outside that of of the index range of the vector, then the resulting vector_range is not a well formed Vector Expression and access to an element outside of index range of the vector is undefined. More...
|
|
template<class V > |
temporary_proxy< vector_range< V > > | shark::blas::subrange (temporary_proxy< V > data, typename V::size_type start, typename V::size_type stop) |
|
template<class T > |
temporary_proxy< dense_vector_adaptor< T > > | shark::blas::adapt_vector (std::size_t size, T *data) |
| Converts a chunk of memory into a vector of a given size. More...
|
|
template<class T , std::size_t N> |
temporary_proxy< dense_vector_adaptor< T > > | shark::blas::adapt_vector (T(&array)[N]) |
| Converts a C-style array into a vector. More...
|
|