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

expression template for subset of a matrix expression More...

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

Inheritance diagram for mpblocks::cuda::linalg2::View< i, j, ROWS, COLS, Scalar, Exp >:
mpblocks::cuda::linalg2::RValue< Scalar, ROWS, COLS, View< i, j, ROWS, COLS, Scalar, Exp > >

Public Types

typedef unsigned int Size_t
 

Public Member Functions

template<Size_t i2, Size_t j2>
__device__ __host__ Scalar me () const
 return the evaluated (j,i)'th element of a matrix expression More...
 
template<Size_t i2>
__device__ __host__ Scalar ve () const
 return the evaluated i'th element of a vector expression More...
 
__device__ __host__ View (Exp const &A)
 
- Public Member Functions inherited from mpblocks::cuda::linalg2::RValue< Scalar, ROWS, COLS, View< i, j, ROWS, COLS, Scalar, Exp > >
__device__ __host__ Scalar me ()
 return the evaluated (i,j)'th element of a matrix expression More...
 
__device__ __host__ Scalar ve ()
 return the evaluated i'th element of a vector expression More...
 

Protected Attributes

Exp const & m_A
 

Detailed Description

template<Size_t i, Size_t j, Size_t ROWS, Size_t COLS, typename Scalar, class Exp>
class mpblocks::cuda::linalg2::View< i, j, ROWS, COLS, Scalar, Exp >

expression template for subset of a matrix expression

Definition at line 36 of file View.h.

Member Typedef Documentation

template<Size_t i, Size_t j, Size_t ROWS, Size_t COLS, typename Scalar , class Exp >
typedef unsigned int mpblocks::cuda::linalg2::View< i, j, ROWS, COLS, Scalar, Exp >::Size_t

Definition at line 40 of file View.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file View.h.

Member Function Documentation

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

return the evaluated (j,i)'th element of a matrix expression

Definition at line 62 of file View.h.

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

return the evaluated i'th element of a vector expression

Definition at line 54 of file View.h.

Member Data Documentation

template<Size_t i, Size_t j, Size_t ROWS, Size_t COLS, typename Scalar , class Exp >
Exp const& mpblocks::cuda::linalg2::View< i, j, ROWS, COLS, Scalar, Exp >::m_A
protected

Definition at line 43 of file View.h.


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