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

0-based index (C/C++ convention) – default More...

#include <index.hpp>

Static Public Member Functions

static constexpr std::size_t to_internal (std::size_t i)
static constexpr std::size_t to_external (std::size_t i)

Static Public Attributes

static constexpr std::size_t base = 0

Detailed Description

0-based index (C/C++ convention) – default

Member Function Documentation

◆ to_external()

constexpr std::size_t mtl::detail::c_index::to_external ( std::size_t i)
inlinestaticconstexpr

◆ to_internal()

constexpr std::size_t mtl::detail::c_index::to_internal ( std::size_t i)
inlinestaticconstexpr

Member Data Documentation

◆ base

std::size_t mtl::detail::c_index::base = 0
staticconstexpr

The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/detail/index.hpp