cheshirekow
v0.1.0
|
expression template for sum of two matrix expressions More...
#include <mpblocks/cuda/linalg/Sum.h>
Public Types | |
typedef unsigned int | Size_t |
Public Types inherited from mpblocks::cuda::linalg::RValue< Scalar, Sum< Scalar, Exp1, Exp2 > > | |
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 | 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... | |
__device__ __host__ | Sum (Exp1 const &A, Exp2 const &B) |
Public Member Functions inherited from mpblocks::cuda::linalg::RValue< Scalar, Sum< Scalar, Exp1, Exp2 > > | |
__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, Sum< Scalar, Exp1, Exp2 > > | 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 | |
Exp1 const & | m_A |
Exp2 const & | m_B |
expression template for sum of two matrix expressions
typedef unsigned int mpblocks::cuda::linalg::Sum< Scalar, Exp1, Exp2 >::Size_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |