cheshirekow  v0.1.0
mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 > Class Template Reference

expression template for product expressions More...

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

Inheritance diagram for mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >:
mpblocks::cuda::linalg2::RValue< Scalar, ROWS, COLS, Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 > >

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__ Product (Exp1 const &A, Exp2 const &B)
 
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, ROWS, COLS, Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 > >
__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

Exp1 const & m_A
 
Exp2 const & m_B
 

Detailed Description

template<typename Scalar, Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1, class Exp2>
class mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >

expression template for product expressions

Definition at line 76 of file Product.h.

Constructor & Destructor Documentation

template<typename Scalar , Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1 , class Exp2 >
__device__ __host__ mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >::Product ( Exp1 const &  A,
Exp2 const &  B 
)
inline

Definition at line 84 of file Product.h.

Member Function Documentation

template<typename Scalar , Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1 , class Exp2 >
template<Size_t i, Size_t j>
__device__ __host__ Scalar mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >::me ( ) const
inline

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

Definition at line 107 of file Product.h.

template<typename Scalar , Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1 , class Exp2 >
template<Size_t i>
__device__ __host__ Scalar mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >::ve ( ) const
inline

return the evaluated i'th element of a vector expression

Definition at line 92 of file Product.h.

Member Data Documentation

template<typename Scalar , Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1 , class Exp2 >
Exp1 const& mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >::m_A
private

Definition at line 79 of file Product.h.

template<typename Scalar , Size_t ROWS, Size_t COLS, Size_t COMMON, class Exp1 , class Exp2 >
Exp2 const& mpblocks::cuda::linalg2::Product< Scalar, ROWS, COLS, COMMON, Exp1, Exp2 >::m_B
private

Definition at line 80 of file Product.h.


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