Expression Templates Library (ETL)
Namespaces | Functions
index.hpp File Reference

Base class and utilities for dyn matrix implementations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 etl
 Root namespace for the ETL library.
 

Functions

template<typename M , size_t I>
constexpr size_t etl::detail::matrix_subsize ()
 
template<typename M , size_t I>
constexpr size_t etl::detail::matrix_leadingsize ()
 
template<typename M , size_t I>
constexpr size_t etl::detail::rm_compute_index (size_t first) noexcept(assert_nothrow)
 Compute the index inside the row major matrix.
 
template<typename M , size_t I, typename... S>
constexpr size_t etl::detail::rm_compute_index (size_t first, size_t second, S... args) noexcept(assert_nothrow)
 Compute the index inside the row major matrix.
 
template<typename M , size_t I>
constexpr size_t etl::detail::cm_compute_index (size_t first) noexcept(assert_nothrow)
 Compute the index inside the column major matrix.
 
template<typename M , size_t I, typename... S>
constexpr size_t etl::detail::cm_compute_index (size_t first, size_t second, S... args) noexcept(assert_nothrow)
 Compute the index inside the column major matrix.
 
template<etl_1d T>
constexpr size_t etl::fast_index (size_t i) noexcept(assert_nothrow)
 Compute the index for a 1D fast matrix. More...
 
template<etl_2d T>
constexpr size_t etl::fast_index (size_t i, size_t j) noexcept(assert_nothrow)
 Compute the index for a 2D fast matrix. More...
 
template<etl_3d T>
constexpr size_t etl::fast_index (size_t i, size_t j, size_t k) noexcept(assert_nothrow)
 Compute the index for a 3D fast matrix. More...
 
template<etl_4d T>
constexpr size_t etl::fast_index (size_t i, size_t j, size_t k, size_t l) noexcept(assert_nothrow)
 Compute the index for a 4D fast matrix. More...
 
template<typename T , typename... S>
constexpr size_t etl::fast_index (S... sizes) noexcept(assert_nothrow) requires(sizeof...(S) > 4 &&decay_traits< T >
 Compute the index for a N-D fast matrix. More...
 
template<etl_1d T>
size_t etl::dyn_index ([[maybe_unused]] const T &expression, size_t i) noexcept(assert_nothrow)
 Compute the index for a 1D dynamic matrix. More...
 
template<etl_2d T>
size_t etl::dyn_index (const T &expression, size_t i, size_t j) noexcept(assert_nothrow)
 Compute the index for a 2D dynamic matrix. More...
 
template<etl_3d T>
size_t etl::dyn_index (const T &expression, size_t i, size_t j, size_t k) noexcept(assert_nothrow)
 Compute the index for a 3D dynamic matrix. More...
 
template<etl_4d T>
size_t etl::dyn_index (const T &expression, size_t i, size_t j, size_t k, size_t l) noexcept(assert_nothrow)
 Compute the index for a 4D dynamic matrix. More...
 
template<typename T , typename... S>
size_t etl::dyn_index (const T &expression, S... sizes) noexcept(assert_nothrow) requires(sizeof...(S) > 4 &&decay_traits< T >
 Compute the index for a N-D dynamic matrix. More...
 

Detailed Description

Base class and utilities for dyn matrix implementations.