ViennaCL - The Vienna Computing Library  1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector_proxy.hpp File Reference

Proxy classes for vectors. More...

Go to the source code of this file.

Classes

class  viennacl::vector_range< VectorType >
 Class for representing non-strided subvectors of a bigger vector x. More...
 
class  viennacl::vector_range< vector_range< VectorType > >
 
class  viennacl::vector_slice< VectorType >
 Class for representing strided subvectors of a bigger vector x. More...
 
class  viennacl::vector_slice< vector_slice< VectorType > >
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 

Functions

template<typename VectorType , typename NumericT >
void viennacl::copy (const VectorType &cpu_vector, vector_range< vector< NumericT > > &gpu_vector_range)
 
template<typename CPUVECTOR , typename VectorType >
void viennacl::fast_copy (const CPUVECTOR &cpu_vec, vector_range< VectorType > &gpu_vec)
 Transfer from a cpu vector to a gpu vector. Convenience wrapper for viennacl::linalg::fast_copy(cpu_vec.begin(), cpu_vec.end(), gpu_vec.begin());. More...
 
template<typename NumericT , typename VectorType >
void viennacl::copy (vector_range< vector< NumericT > > const &gpu_vector_range, VectorType &cpu_vector)
 
template<typename VectorType , typename CPUVECTOR >
void viennacl::fast_copy (vector_range< VectorType > const &gpu_vec, CPUVECTOR &cpu_vec)
 Transfer from a GPU vector range to a CPU vector. Convenience wrapper for viennacl::linalg::fast_copy(gpu_vec.begin(), gpu_vec.end(), cpu_vec.begin());. More...
 
template<typename VectorType >
vector_range< VectorType > viennacl::project (VectorType const &vec, viennacl::range const &r1)
 
template<typename VectorType >
vector_range< VectorType > viennacl::project (viennacl::vector_range< VectorType > const &vec, viennacl::range const &r1)
 
template<typename VectorType , typename NumericT >
void viennacl::copy (const VectorType &cpu_vector, vector_slice< vector< NumericT > > &gpu_vector_slice)
 
template<typename VectorType , typename NumericT >
void viennacl::copy (vector_slice< vector< NumericT > > const &gpu_vector_slice, VectorType &cpu_vector)
 
template<typename VectorType >
vector_slice< VectorType > viennacl::project (VectorType const &vec, viennacl::slice const &s1)
 
template<typename VectorType >
vector_slice< VectorType > viennacl::project (viennacl::vector_slice< VectorType > const &vec, viennacl::slice const &s1)
 
template<typename VectorType >
vector_slice< VectorType > viennacl::project (viennacl::vector_slice< VectorType > const &vec, viennacl::range const &r1)
 
template<typename VectorType >
vector_slice< VectorType > viennacl::project (viennacl::vector_range< VectorType > const &vec, viennacl::slice const &s1)
 

Detailed Description

Proxy classes for vectors.

Definition in file vector_proxy.hpp.