#include <cassert>
#include <cstddef>
#include <iterator>
#include <numeric>
#include <stdexcept>
#include "Vector.hpp"
Go to the source code of this file.
|
| template<MemoryOrder memory_order> |
| int | Utils::get_linear_index (int a, int b, int c, const Vector3i &adim) |
| |
| int | Utils::get_linear_index (int a, int b, int c, const Vector3i &adim, MemoryOrder memory_order=MemoryOrder::COLUMN_MAJOR) |
| | get the linear index from the position (a,b,c) in a 3D grid of dimensions adim.
|
| |
| int | Utils::get_linear_index (const Vector3i &ind, const Vector3i &adim, MemoryOrder memory_order=MemoryOrder::COLUMN_MAJOR) |
| |
| template<MemoryOrder memory_order> |
| int | Utils::get_linear_index (const Vector3i &ind, const Vector3i &adim) |
| |
| template<class T > |
| T | Utils::lower_triangular (T i, T j) |
| | Linear index into a lower triangular matrix.
|
| |