cheshirekow  v0.1.0
divide.h File Reference

Go to the source code of this file.

Classes

struct  mpblocks::cuda::polynomial::Divide< Enabled, i, Scalar, NumExp, NumSpec, DenExp, DenSpec >
 specialization for the first step uses actual numerator, not remainder More...
 
struct  mpblocks::cuda::polynomial::Divide< true, 0, Scalar, NumExp, NumSpec, DenExp, DenSpec >
 specialization for the first step uses actual numerator, not remainder More...
 
struct  mpblocks::cuda::polynomial::Divide< true, i, Scalar, NumExp, NumSpec, DenExp, DenSpec >
 
struct  mpblocks::cuda::polynomial::QuotientSpec< NumSpec, DenSpec >
 
struct  mpblocks::cuda::polynomial::RemainderSpec< NumSpec, DenSpec >
 
struct  mpblocks::cuda::polynomial::ScratchSpec< NumSpec, DenSpec >
 

Namespaces

 mpblocks
 
 mpblocks::cuda
 
 mpblocks::cuda::polynomial
 

Functions

template<typename Scalar , class NumExp , class NumSpec , class DenExp , class DenSpec >
__host__ __device__
__forceinline__ void 
mpblocks::cuda::polynomial::divide (const NumExp &n, const DenExp &d, Polynomial< Scalar, typename QuotientSpec< NumSpec, DenSpec >::result > &q, Polynomial< Scalar, typename RemainderSpec< NumSpec, DenSpec >::result > &r)
 
template<typename Scalar , class NumSpec , class DenSpec >
__host__ __device__
__forceinline__ void 
mpblocks::cuda::polynomial::mod (const Polynomial< Scalar, NumSpec > &n, const Polynomial< Scalar, DenSpec > &d, Polynomial< Scalar, typename RemainderSpec< NumSpec, DenSpec >::result > &r)