cheshirekow  v0.1.0
mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 > Struct Template Reference

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

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

Inheritance diagram for mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >:
mpblocks::cuda::polynomial::RValue< Scalar, Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >, intlist::make_union< Spec1, Spec2 >::result >

Public Member Functions

__host__ __device__ Scalar eval (Scalar x)
 
__host__ __device__ Sum (Exp1 const &A, Exp2 const &B)
 

Public Attributes

Exp1 const & A
 
Exp2 const & B
 

Detailed Description

template<typename Scalar, class Exp1, class Spec1, class Exp2, class Spec2>
struct mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >

expression template for sum of two matrix expressions

Definition at line 40 of file Sum.h.

Constructor & Destructor Documentation

template<typename Scalar , class Exp1 , class Spec1 , class Exp2 , class Spec2 >
__host__ __device__ mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >::Sum ( Exp1 const &  A,
Exp2 const &  B 
)
inline

Definition at line 49 of file Sum.h.

Member Function Documentation

template<typename Scalar , class Exp1 , class Spec1 , class Exp2 , class Spec2 >
__host__ __device__ Scalar mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >::eval ( Scalar  x)
inline

Definition at line 55 of file Sum.h.

Member Data Documentation

template<typename Scalar , class Exp1 , class Spec1 , class Exp2 , class Spec2 >
Exp1 const& mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >::A

Definition at line 44 of file Sum.h.

template<typename Scalar , class Exp1 , class Spec1 , class Exp2 , class Spec2 >
Exp2 const& mpblocks::cuda::polynomial::Sum< Scalar, Exp1, Spec1, Exp2, Spec2 >::B

Definition at line 45 of file Sum.h.


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