cheshirekow  v0.1.0
mpblocks::cuda::linalg::Normalize< Scalar, Exp > Class Template Reference

expression template for difference of two matrix expressions More...

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

Inheritance diagram for mpblocks::cuda::linalg::Normalize< Scalar, Exp >:
mpblocks::cuda::linalg::RValue< Scalar, Normalize< Scalar, Exp > >

Public Types

typedef unsigned int Size_t
 
- Public Types inherited from mpblocks::cuda::linalg::RValue< Scalar, Normalize< Scalar, Exp > >
typedef unsigned int Size_t
 

Public Member Functions

__device__ __host__ Size_t cols () const
 return the columns of a matrix expression More...
 
__device__ __host__ Normalize (Exp const &A)
 
__device__ __host__ Scalar operator() (Size_t i, Size_t j) const
 return the evaluated (j,i)'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...
 
- Public Member Functions inherited from mpblocks::cuda::linalg::RValue< Scalar, Normalize< Scalar, Exp > >
__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, Normalize< Scalar,
Exp > > 
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...
 

Private Attributes

Exp const & m_A
 
Scalar m_norm
 

Detailed Description

template<typename Scalar, class Exp>
class mpblocks::cuda::linalg::Normalize< Scalar, Exp >

expression template for difference of two matrix expressions

Definition at line 36 of file Normalize.h.

Member Typedef Documentation

template<typename Scalar , class Exp >
typedef unsigned int mpblocks::cuda::linalg::Normalize< Scalar, Exp >::Size_t

Definition at line 43 of file Normalize.h.

Constructor & Destructor Documentation

template<typename Scalar , class Exp >
__device__ __host__ mpblocks::cuda::linalg::Normalize< Scalar, Exp >::Normalize ( Exp const &  A)
inline

Definition at line 46 of file Normalize.h.

Member Function Documentation

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

return the columns of a matrix expression

Definition at line 67 of file Normalize.h.

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

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

Definition at line 81 of file Normalize.h.

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

return the evaluated i'th element of a vector expression

Definition at line 74 of file Normalize.h.

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

return the rows of a matrix expression

Definition at line 60 of file Normalize.h.

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

return the size for a vector

Definition at line 53 of file Normalize.h.

Member Data Documentation

template<typename Scalar , class Exp >
Exp const& mpblocks::cuda::linalg::Normalize< Scalar, Exp >::m_A
private

Definition at line 40 of file Normalize.h.

template<typename Scalar , class Exp >
Scalar mpblocks::cuda::linalg::Normalize< Scalar, Exp >::m_norm
private

Definition at line 39 of file Normalize.h.


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