VTK
9.4.20241224
|
This class is a helper class to compute at compile time the index of a matrix stored as a 1D array from its 2D coordinates. More...
#include <vtkMatrixUtilities.h>
Static Public Member Functions | |
template<int RowT, int ColT> | |
static constexpr int | GetIndex () |
This class is a helper class to compute at compile time the index of a matrix stored as a 1D array from its 2D coordinates.
This class maps matrices of dimension RowsT x ColsT. The LayoutT template parameter permits to switch to the indexing of the transpose of the matrix. LayoutT can be set to Layout::Identity for a row-wise ordering, or to Layout::Transpose for a column-wise ordering
Definition at line 252 of file vtkMatrixUtilities.h.
|
inlinestaticconstexpr |
Definition at line 255 of file vtkMatrixUtilities.h.