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.
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.
template<class Field >
double computeFactorWino (const Field &F, const size_t w)
 Internal function for the bound computation.
template<class Field >
double computeFactorClassic (const Field &F)
size_t WinoSteps (const size_t m)
 Computes the number of recursive levels to perform.
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.
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.
template<>
size_t TRSMBound (const FFPACK::Modular< double > &F)
 Specialization for positive modular representation over double Computes nmax s.t.
template<>
size_t TRSMBound (const FFPACK::Modular< float > &F)
 Specialization for positive modular representation over float.
template<>
size_t TRSMBound (const FFPACK::ModularBalanced< double > &F)
 Specialization for balanced modular representation over double.
template<>
size_t TRSMBound (const FFPACK::ModularBalanced< float > &F)
 Specialization for balanced modular representation over float Computes nmax s.t.

Macro Definition Documentation

#define __FFLASFFPACK_fflas_bounds_INL
#define FFLAS_INT_TYPE   long unsigned int