IntegerFactorization.cpp File Reference

Detailed Description

#include "IntegerFactorization.h"
#include "Primes.h"
#include "core/debug/Debug.h"

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::math
 

Functions

std::vector< uint_t > walberla::math::getFactors (const uint_t number, const uint_t numberOfFactors)
 Computes and returns an integer factorization of any arbitrary integer. More...
 
std::vector< uint_t > walberla::math::getFactors (const uint_t number, const uint_t numberOfFactors, const std::vector< real_t > &weight)
 
Vector3< uint_t > walberla::math::getFactors3D (const uint_t number)
 
Vector3< uint_t > walberla::math::getFactors3D (const uint_t number, const Vector3< real_t > &weights)