Loading web-font TeX/Math/Italic
Photon Engine 2.0.0-beta
A physically based renderer.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
ph::math::table Namespace Reference

Namespaces

namespace  detail
 

Variables

constexpr std::array< uint32, 2048 > PRIME
 First 2048 primes.
 
constexpr std::array< uint32, 512 > GOOD_PRIME
 First 512 good primes. Primes such that its square is greater than the product of any two primes at the same number of positions/offsets before and after it in the sequence of primes, i.e., for the n-th prime p_n to be good, it must satisfy the inequality p_n^2 > p_{n-i} p_{n+i} .
 

Variable Documentation

◆ GOOD_PRIME

std::array<uint32, 512> ph::math::table::GOOD_PRIME
inlineconstexpr

First 512 good primes. Primes such that its square is greater than the product of any two primes at the same number of positions/offsets before and after it in the sequence of primes, i.e., for the n-th prime p_n to be good, it must satisfy the inequality p_n^2 > p_{n-i} p_{n+i} .

◆ PRIME

std::array<uint32, 2048> ph::math::table::PRIME
inlineconstexpr

First 2048 primes.