MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::ordering::detail::nd_rng Struct Reference

splitmix64 (Steele, Lea & Flood 2014): fixed output for a fixed seed on every platform, unlike the std:: distributions. More...

#include <multilevel_separator.hpp>

Public Member Functions

 nd_rng (std::uint64_t seed)
std::uint64_t next ()
idx below (idx m)

Public Attributes

std::uint64_t state

Detailed Description

splitmix64 (Steele, Lea & Flood 2014): fixed output for a fixed seed on every platform, unlike the std:: distributions.

Constructor & Destructor Documentation

◆ nd_rng()

mtl::sparse::ordering::detail::nd_rng::nd_rng ( std::uint64_t seed)
inlineexplicit

Member Function Documentation

◆ below()

idx mtl::sparse::ordering::detail::nd_rng::below ( idx m)
inline

◆ next()

std::uint64_t mtl::sparse::ordering::detail::nd_rng::next ( )
inline

Member Data Documentation

◆ state

std::uint64_t mtl::sparse::ordering::detail::nd_rng::state

The documentation for this struct was generated from the following file: