cheshirekow  v0.1.0
mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp > Class Template Reference

expression template for rvalues More...

#include <mpblocks/cuda/linalg2/LValue.h>

Public Member Functions

template<Size_t i, Size_t j>
__device__ __host__ Scalar & me ()
 return a mutable reference to the (i,j)th element of the matrix expression More...
 
template<Size_t i, Size_t j>
__device__ __host__ Scalar const & me () const
 return an immutable reference to the (i,j)th element of the matrix expression More...
 
__device__ __host__
AssignmentIterator< Scalar,
ROWS, COLS, 0, 1, Exp > 
operator<< (Scalar x)
 return an assignment iterator More...
 
template<typename Exp2 >
__device__ __host__ LValue
< Scalar, ROWS, COLS, Exp > & 
operator= (RValue< Scalar, ROWS, COLS, Exp2 > const &B)
 assignment More...
 
template<Size_t i>
__device__ __host__ Scalar & ve ()
 return a mutable reference to the i'th element of the vector expression More...
 
template<Size_t i>
__device__ __host__ Scalar const & ve () const
 return an immutable reference to the i'th element of the vector expression More...
 

Detailed Description

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
class mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >

expression template for rvalues

Definition at line 36 of file LValue.h.

Member Function Documentation

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
template<Size_t i, Size_t j>
__device__ __host__ Scalar& mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::me ( )
inline

return a mutable reference to the (i,j)th element of the matrix expression

Definition at line 61 of file LValue.h.

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
template<Size_t i, Size_t j>
__device__ __host__ Scalar const& mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::me ( ) const
inline

return an immutable reference to the (i,j)th element of the matrix expression

Definition at line 70 of file LValue.h.

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
__device__ __host__ AssignmentIterator<Scalar,ROWS,COLS,0,1,Exp> mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::operator<< ( Scalar  x)
inline

return an assignment iterator

Definition at line 91 of file LValue.h.

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
template<typename Exp2 >
__device__ __host__ LValue<Scalar,ROWS,COLS,Exp>& mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::operator= ( RValue< Scalar, ROWS, COLS, Exp2 > const &  B)
inline

assignment

Definition at line 78 of file LValue.h.

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
template<Size_t i>
__device__ __host__ Scalar& mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::ve ( )
inline

return a mutable reference to the i'th element of the vector expression

Definition at line 43 of file LValue.h.

template<typename Scalar, Size_t ROWS, Size_t COLS, class Exp>
template<Size_t i>
__device__ __host__ Scalar const& mpblocks::cuda::linalg2::LValue< Scalar, ROWS, COLS, Exp >::ve ( ) const
inline

return an immutable reference to the i'th element of the vector expression

Definition at line 52 of file LValue.h.


The documentation for this class was generated from the following file: