cheshirekow  v0.1.0
mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen > Struct Template Reference

expression template for polynomial long division More...

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

Classes

struct  QuotientStep
 
struct  QuotientStep< min, min >
 
struct  QuotientWork
 

Public Types

enum  {
  max_coeff_numerator = intlist::max< SpecNum >::value, max_coeff_denominator = intlist::max< SpecDen >::value, max_coeff_quotient = max_coeff_numerator - max_coeff_denominator, max_coeff_remainder = max_coeff_numerator,
  size_numerator = max_coeff_numerator + 1, size_denominator = max_coeff_denominator + 1
}
 
typedef intlist::range
< 0, max_coeff_quotient >
::result 
SpecQuot
 
typedef intlist::range
< 0, max_coeff_remainder >
::result 
SpecRem
 

Public Member Functions

__host__ __device__ void construct (ExpNum const &N, ExpDen const &D)
 
__host__ __device__ void operator= (const QuotientSurrogate< Scalar, ExpNum, SpecNum, ExpDen, SpecDen > &surrogate)
 
__host__ __device__ Quotient ()
 
__host__ __device__ Quotient (ExpNum const &N, ExpDen const &D)
 
__host__ __device__ Quotient (const QuotientSurrogate< Scalar, ExpNum, SpecNum, ExpDen, SpecDen > &surrogate)
 

Public Attributes

Polynomial< Scalar, SpecQuotq
 
Polynomial< Scalar, SpecRemr
 

Detailed Description

template<typename Scalar, class ExpNum, class SpecNum, class ExpDen, class SpecDen>
struct mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >

expression template for polynomial long division

Definition at line 60 of file Quotient.h.

Member Typedef Documentation

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
typedef intlist::range<0,max_coeff_quotient >::result mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::SpecQuot

Definition at line 72 of file Quotient.h.

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
typedef intlist::range<0,max_coeff_remainder>::result mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::SpecRem

Definition at line 73 of file Quotient.h.

Member Enumeration Documentation

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
anonymous enum
Enumerator
max_coeff_numerator 
max_coeff_denominator 
max_coeff_quotient 
max_coeff_remainder 
size_numerator 
size_denominator 

Definition at line 62 of file Quotient.h.

Constructor & Destructor Documentation

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
__host__ __device__ mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::Quotient ( )
inline

Definition at line 135 of file Quotient.h.

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
__host__ __device__ mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::Quotient ( ExpNum const &  N,
ExpDen const &  D 
)
inline

Definition at line 138 of file Quotient.h.

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
__host__ __device__ mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::Quotient ( const QuotientSurrogate< Scalar, ExpNum, SpecNum, ExpDen, SpecDen > &  surrogate)
inline

Definition at line 144 of file Quotient.h.

Member Function Documentation

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
__host__ __device__ void mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::construct ( ExpNum const &  N,
ExpDen const &  D 
)
inline

Definition at line 127 of file Quotient.h.

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
__host__ __device__ void mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::operator= ( const QuotientSurrogate< Scalar, ExpNum, SpecNum, ExpDen, SpecDen > &  surrogate)
inline

Definition at line 151 of file Quotient.h.

Member Data Documentation

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
Polynomial<Scalar,SpecQuot> mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::q

Definition at line 75 of file Quotient.h.

template<typename Scalar , class ExpNum , class SpecNum , class ExpDen , class SpecDen >
Polynomial<Scalar,SpecRem> mpblocks::cuda::polynomial::Quotient< Scalar, ExpNum, SpecNum, ExpDen, SpecDen >::r

Definition at line 76 of file Quotient.h.


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