FflasFfpack
Namespaces | Macros | Functions
fflas_bounds.inl File Reference

Namespaces

namespace  FFLAS
 FFLAS: Finite Field Linear Algebra Subroutines.
 
namespace  FFLAS::Protected
 

Macros

#define __FFLASFFPACK_fflas_bounds_INL
 
#define FFLAS_INT_TYPE   long unsigned int
 

Functions

template<class Field >
void MatMulParameters (const Field &F, const size_t k, const typename Field::Element &beta, size_t &delayedDim, FFLAS_BASE &base, size_t &winoRecLevel, bool winoLevelProvided=false)
 Computes the threshold parameters for the cascade Matmul algorithm. More...
 
template<class Field >
unsigned long Mantissa (const Field &F, const FFLAS_BASE base)
 
template<class Field >
size_t DotProdBound (const Field &F, const size_t winoRecLevel, const typename Field::Element &beta, const FFLAS_BASE base)
 Computes the maximal size for delaying the modular reduction in a dotproduct. More...
 
template<class Field >
double computeFactorWino (const Field &F, const size_t w)
 Internal function for the bound computation. More...
 
template<class Field >
double computeFactorClassic (const Field &F)
 
size_t WinoSteps (const size_t m)
 Computes the number of recursive levels to perform. More...
 
template<class Field >
FFLAS_BASE BaseCompute (const Field &F, const size_t w)
 Determines the type of floating point representation to convert to, for BLAS computations. More...
 
template<>
double computeFactorWino (const FFPACK::ModularBalanced< double > &F, const size_t w)
 
template<>
double computeFactorWino (const FFPACK::ModularBalanced< float > &F, const size_t w)
 
template<>
double computeFactorClassic (const FFPACK::ModularBalanced< double > &F)
 
template<>
FFLAS_BASE BaseCompute (const FFPACK::Modular< double > &, const size_t)
 
template<>
FFLAS_BASE BaseCompute (const FFPACK::Modular< float > &, const size_t)
 
template<>
FFLAS_BASE BaseCompute (const FFPACK::ModularBalanced< double > &, const size_t)
 
template<>
FFLAS_BASE BaseCompute (const FFPACK::ModularBalanced< float > &, const size_t)
 
template<class Field >
size_t TRSMBound (const Field &F)
 Computes the maximal size for delaying the modular reduction in a triangular system resolution. More...
 
template<>
size_t TRSMBound (const FFPACK::Modular< double > &F)
 Specialization for positive modular representation over double Computes nmax s.t. More...
 
template<>
size_t TRSMBound (const FFPACK::Modular< float > &F)
 Specialization for positive modular representation over float. More...
 
template<>
size_t TRSMBound (const FFPACK::ModularBalanced< double > &F)
 Specialization for balanced modular representation over double. More...
 
template<>
size_t TRSMBound (const FFPACK::ModularBalanced< float > &F)
 Specialization for balanced modular representation over float Computes nmax s.t. More...
 

Macro Definition Documentation

#define __FFLASFFPACK_fflas_bounds_INL
#define FFLAS_INT_TYPE   long unsigned int