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

expression template for sum of two expressions More...

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

Inheritance diagram for mpblocks::cuda::linalg2::Transpose< Scalar, ROWS, COLS, Exp >:
mpblocks::cuda::linalg2::RValue< Scalar, COLS, ROWS, Transpose< Scalar, ROWS, COLS, Exp > >

Public Member Functions

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

Private Attributes

Exp const & m_A
 

Detailed Description

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

expression template for sum of two expressions

Definition at line 36 of file Transpose.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file Transpose.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::Transpose< Scalar, ROWS, COLS, Exp >::me ( ) const
inline

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

Definition at line 58 of file Transpose.h.

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

return the evaluated i'th element of a vector expression

Definition at line 50 of file Transpose.h.

Member Data Documentation

template<typename Scalar , Size_t ROWS, Size_t COLS, class Exp >
Exp const& mpblocks::cuda::linalg2::Transpose< Scalar, ROWS, COLS, Exp >::m_A
private

Definition at line 39 of file Transpose.h.


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