cheshirekow
v0.1.0
|
expression template for difference of two matrix expressions More...
#include <mpblocks/cuda/linalg/Difference.h>
Public Types | |
typedef unsigned int | Size_t |
Public Types inherited from mpblocks::cuda::linalg::RValue< Scalar, Difference< 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__ | Difference (Exp1 const &A, Exp2 const &B) |
__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... | |
Public Member Functions inherited from mpblocks::cuda::linalg::RValue< Scalar, Difference< 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, Difference< 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 difference of two matrix expressions
Definition at line 36 of file Difference.h.
typedef unsigned int mpblocks::cuda::linalg::Difference< Scalar, Exp1, Exp2 >::Size_t |
Definition at line 43 of file Difference.h.
|
inline |
Definition at line 46 of file Difference.h.
|
inline |
return the columns of a matrix expression
Definition at line 71 of file Difference.h.
|
inline |
return the evaluated (i,j)'th element of a matrix expression
Definition at line 85 of file Difference.h.
|
inline |
return the evaluated i'th element of a vector expression
Definition at line 78 of file Difference.h.
|
inline |
return the rows of a matrix expression
Definition at line 64 of file Difference.h.
|
inline |
return the size for a vector
Definition at line 57 of file Difference.h.
|
private |
Definition at line 39 of file Difference.h.
|
private |
Definition at line 40 of file Difference.h.