cheshirekow  v0.1.0
mpblocks::cuda::linalg::RValue< Scalar, Mat > Class Template Reference

expression template for rvalues More...

#include <mpblocks/cuda/linalg/RValue.h>

Inheritance diagram for mpblocks::cuda::linalg::RValue< Scalar, Mat >:
mpblocks::cuda::linalg::Product< Scalar, Exp1, Exp2 >

Public Types

typedef unsigned int Size_t
 

Public Member Functions

__device__ __host__ Size_t cols () const
 return the columns of a matrix expression More...
 
__device__ __host__ Scalar maxCoeff ()
 
__device__ __host__ Scalar norm () const
 
__device__ __host__ Scalar norm_squared () const
 
__device__ __host__ Scale
< Scalar, Mat > 
normalized () const
 
__device__ __host__ Scalar operator() (Size_t i, Size_t j) const
 return the evaluated (i,j)'th element of a matrix expression More...
 
__device__ __host__ Scalar operator[] (Size_t i) const
 return the evaluated i'th element of a vector expression More...
 
__device__ __host__ Size_t rows () const
 return the rows of a matrix expression More...
 
__device__ __host__ Size_t size () const
 return the size for a vector More...
 

Detailed Description

template<typename Scalar, class Mat>
class mpblocks::cuda::linalg::RValue< Scalar, Mat >

expression template for rvalues

Definition at line 41 of file RValue.h.

Member Typedef Documentation

template<typename Scalar, class Mat>
typedef unsigned int mpblocks::cuda::linalg::RValue< Scalar, Mat >::Size_t

Definition at line 44 of file RValue.h.

Member Function Documentation

template<typename Scalar, class Mat>
__device__ __host__ Size_t mpblocks::cuda::linalg::RValue< Scalar, Mat >::cols ( ) const
inline

return the columns of a matrix expression

Definition at line 62 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scalar mpblocks::cuda::linalg::RValue< Scalar, Mat >::maxCoeff ( )
inline

Definition at line 104 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scalar mpblocks::cuda::linalg::RValue< Scalar, Mat >::norm ( ) const
inline

Definition at line 91 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scalar mpblocks::cuda::linalg::RValue< Scalar, Mat >::norm_squared ( ) const
inline

Definition at line 82 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scale< Scalar, Mat > mpblocks::cuda::linalg::RValue< Scalar, Mat >::normalized ( ) const
inline

Definition at line 97 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scalar mpblocks::cuda::linalg::RValue< Scalar, Mat >::operator() ( Size_t  i,
Size_t  j 
) const
inline

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

Definition at line 76 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Scalar mpblocks::cuda::linalg::RValue< Scalar, Mat >::operator[] ( Size_t  i) const
inline

return the evaluated i'th element of a vector expression

Definition at line 69 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Size_t mpblocks::cuda::linalg::RValue< Scalar, Mat >::rows ( ) const
inline

return the rows of a matrix expression

Definition at line 55 of file RValue.h.

template<typename Scalar, class Mat>
__device__ __host__ Size_t mpblocks::cuda::linalg::RValue< Scalar, Mat >::size ( ) const
inline

return the size for a vector

Definition at line 48 of file RValue.h.


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