waLBerla 7.2
Loading...
Searching...
No Matches
IntegerFactorization.cpp File Reference

Detailed Description

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

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::math
 

Functions

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