cheshirekow  v0.1.0
Polynomial.h File Reference

Go to the source code of this file.

Classes

struct  mpblocks::cuda::polynomial::Coefficient< Scalar, Idx >
 class actually providing storage for a coefficient More...
 
struct  mpblocks::cuda::polynomial::CoefficientKey< idx >
 
struct  mpblocks::cuda::polynomial::get_spec< Polynomial< Scalar, Spec > >
 
struct  mpblocks::cuda::polynomial::GetHelper< HasCoefficient, idx, Scalar, Spec >
 
struct  mpblocks::cuda::polynomial::GetHelper< true, idx, Scalar, Spec >
 
struct  mpblocks::cuda::polynomial::Polynomial< Scalar, Spec >
 A sparse, statically sized polynomial. More...
 
struct  mpblocks::cuda::polynomial::Storage< Scalar, IntList >
 recursive inheritance tree which provides storage for each of the required coefficients More...
 
struct  mpblocks::cuda::polynomial::Storage< Scalar, IntList< SpecHead, SpecTail > >
 
struct  mpblocks::cuda::polynomial::Storage< Scalar, IntList< SpecTail, intlist::Terminal > >
 

Namespaces

 mpblocks
 
 mpblocks::cuda
 
 mpblocks::cuda::polynomial
 
 mpblocks::cuda::polynomial::coefficient_key
 
 mpblocks::cuda::polynomial::device_coefficient_key
 

Functions

template<int idx, typename Scalar , class Spec >
__host__ __device__
__forceinline__ Scalar 
mpblocks::cuda::polynomial::get (const Polynomial< Scalar, Spec > &poly)
 
template<int idx, typename Scalar , class Spec >
__host__ __device__
__forceinline__ Scalar & 
mpblocks::cuda::polynomial::set (Polynomial< Scalar, Spec > &poly)
 
template<int idx, typename Scalar , class Spec >
__host__ __device__
__forceinline__ Scalar & 
mpblocks::cuda::polynomial::set_storage (Polynomial< Scalar, Spec > &poly)
 

Variables

const CoefficientKey< 0 > mpblocks::cuda::polynomial::coefficient_key::_0
 
__device__ const
CoefficientKey< 0 > 
mpblocks::cuda::polynomial::device_coefficient_key::_0
 
const CoefficientKey< 1 > mpblocks::cuda::polynomial::coefficient_key::_1
 
__device__ const
CoefficientKey< 1 > 
mpblocks::cuda::polynomial::device_coefficient_key::_1
 
const CoefficientKey< 2 > mpblocks::cuda::polynomial::coefficient_key::_2
 
__device__ const
CoefficientKey< 2 > 
mpblocks::cuda::polynomial::device_coefficient_key::_2
 
const CoefficientKey< 3 > mpblocks::cuda::polynomial::coefficient_key::_3
 
__device__ const
CoefficientKey< 3 > 
mpblocks::cuda::polynomial::device_coefficient_key::_3
 
const CoefficientKey< 4 > mpblocks::cuda::polynomial::coefficient_key::_4
 
__device__ const
CoefficientKey< 4 > 
mpblocks::cuda::polynomial::device_coefficient_key::_4
 
const CoefficientKey< 5 > mpblocks::cuda::polynomial::coefficient_key::_5
 
__device__ const
CoefficientKey< 5 > 
mpblocks::cuda::polynomial::device_coefficient_key::_5
 
const CoefficientKey< 6 > mpblocks::cuda::polynomial::coefficient_key::_6
 
__device__ const
CoefficientKey< 6 > 
mpblocks::cuda::polynomial::device_coefficient_key::_6
 
const CoefficientKey< 7 > mpblocks::cuda::polynomial::coefficient_key::_7
 
__device__ const
CoefficientKey< 7 > 
mpblocks::cuda::polynomial::device_coefficient_key::_7
 
const CoefficientKey< 8 > mpblocks::cuda::polynomial::coefficient_key::_8
 
__device__ const
CoefficientKey< 8 > 
mpblocks::cuda::polynomial::device_coefficient_key::_8
 
const CoefficientKey< 9 > mpblocks::cuda::polynomial::coefficient_key::_9
 
__device__ const
CoefficientKey< 9 > 
mpblocks::cuda::polynomial::device_coefficient_key::_9