|
morton-arithmetic 0.1.0
Fast Morton (Z-order) codes with O(1) arithmetic
|
Classes | |
| struct | uint_for |
| struct | wide_uint |
| Fixed-width unsigned integer of. More... | |
Typedefs | |
| using | uint128_t = unsigned __int128 |
| template<unsigned NBits> | |
| using | uint_for_t = typename uint_for< NBits >::type |
Functions | |
| template<unsigned Dim, unsigned Bits> | |
| MORTON_HD Morton< Dim, Bits >::code_type | bigmin (typename Morton< Dim, Bits >::code_type zmin, typename Morton< Dim, Bits >::code_type zmax, typename Morton< Dim, Bits >::code_type z) |
| template<unsigned Dim, unsigned Bits> | |
| MORTON_HD void | litmax_bigmin (typename Morton< Dim, Bits >::code_type zmin, typename Morton< Dim, Bits >::code_type zmax, typename Morton< Dim, Bits >::code_type z, typename Morton< Dim, Bits >::code_type &litmax, typename Morton< Dim, Bits >::code_type &bigmin) |
| MORTON_HD constexpr bool | is_consteval () noexcept |
| MORTON_HD constexpr unsigned | pow3 (unsigned n) |
| template<unsigned Dim, unsigned Bits, typename Code > | |
| MORTON_HD constexpr Code | axis_mask (unsigned d) |
| template<unsigned Dim, unsigned Bits, typename Code , typename Coord > | |
| MORTON_HD constexpr Code | spread_sw (Coord x, unsigned d) |
| template<unsigned Dim, unsigned Bits, typename Code , typename Coord > | |
| MORTON_HD constexpr Coord | compact_sw (Code c, unsigned d) |
| using morton::detail::uint128_t = typedef unsigned __int128 |
| using morton::detail::uint_for_t = typedef typename uint_for<NBits>::type |
| MORTON_HD Morton< Dim, Bits >::code_type morton::detail::bigmin | ( | typename Morton< Dim, Bits >::code_type | zmin, |
| typename Morton< Dim, Bits >::code_type | zmax, | ||
| typename Morton< Dim, Bits >::code_type | z | ||
| ) |
| MORTON_HD void morton::detail::litmax_bigmin | ( | typename Morton< Dim, Bits >::code_type | zmin, |
| typename Morton< Dim, Bits >::code_type | zmax, | ||
| typename Morton< Dim, Bits >::code_type | z, | ||
| typename Morton< Dim, Bits >::code_type & | litmax, | ||
| typename Morton< Dim, Bits >::code_type & | bigmin | ||
| ) |
|
constexprnoexcept |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |