cheshirekow  v0.1.0
mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec > Struct Template Reference

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

#include <mpblocks/cuda/polynomial/ScalarSum.h>

Inheritance diagram for mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >:
mpblocks::cuda::polynomial::RValue< Scalar, ScalarSum< Scalar, Exp, Spec >, intlist::make_union< IntList< 0, intlist::Terminal >, Spec >::result >

Public Member Functions

__host__ __device__ Scalar eval (Scalar x)
 
__host__ __device__ ScalarSum (const Scalar &a, const Exp &P)
 

Public Attributes

Scalar const & a
 
Exp const & P
 

Detailed Description

template<typename Scalar, class Exp, class Spec>
struct mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >

expression template for sum of two matrix expressions

Definition at line 38 of file ScalarSum.h.

Constructor & Destructor Documentation

template<typename Scalar, class Exp, class Spec>
__host__ __device__ mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >::ScalarSum ( const Scalar &  a,
const Exp &  P 
)
inline

Definition at line 47 of file ScalarSum.h.

Member Function Documentation

template<typename Scalar, class Exp, class Spec>
__host__ __device__ Scalar mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >::eval ( Scalar  x)
inline

Definition at line 53 of file ScalarSum.h.

Member Data Documentation

template<typename Scalar, class Exp, class Spec>
Scalar const& mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >::a

Definition at line 42 of file ScalarSum.h.

template<typename Scalar, class Exp, class Spec>
Exp const& mpblocks::cuda::polynomial::ScalarSum< Scalar, Exp, Spec >::P

Definition at line 43 of file ScalarSum.h.


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