Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
additive_recurrence.hpp File Reference
#include <array>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <limits>
#include <vector>
#include "vulpes/utils/vmath.hpp"
Include dependency graph for additive_recurrence.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulpes
namespace  vulpes::random
namespace  vulpes::random::internal

Functions

double vulpes::random::internal::computePhiM (std::size_t m)
 Computes the solution to the equation \( x^{m+1} = x + 1 \) using Newton's method.
template<std::size_t M>
std::vector< std::array< double, M > > vulpes::random::additiveRecurrence (std::size_t n0, std::size_t n1)
 Generates a sequence of points using an additive recurrence formula.