| 
    VTK-m
    2.0
    
   | 
 
#include <Matrix.h>
Public Types | |
| using | ComponentType = T | 
Public Member Functions | |
| VTKM_EXEC_CONT | Matrix () | 
| VTKM_EXEC_CONT | Matrix (const ComponentType &value) | 
| const VTKM_EXEC_CONT vtkm::Vec< ComponentType, NUM_COLUMNS > & | operator[] (vtkm::IdComponent rowIndex) const | 
| Brackets are used to reference a matrix like a 2D array (i.e.  More... | |
| VTKM_EXEC_CONT vtkm::Vec< ComponentType, NUM_COLUMNS > & | operator[] (vtkm::IdComponent rowIndex) | 
| Brackets are used to referens a matrix like a 2D array i.e.  More... | |
| const VTKM_EXEC_CONT ComponentType & | operator() (vtkm::IdComponent rowIndex, vtkm::IdComponent colIndex) const | 
| Parentheses are used to reference a matrix using mathematical tuple notation i.e.  More... | |
| VTKM_EXEC_CONT ComponentType & | operator() (vtkm::IdComponent rowIndex, vtkm::IdComponent colIndex) | 
| Parentheses are used to reference a matrix using mathematical tuple notation i.e.  More... | |
Static Public Attributes | |
| static constexpr vtkm::IdComponent | NUM_ROWS = NumRow | 
| static constexpr vtkm::IdComponent | NUM_COLUMNS = NumCol | 
Private Attributes | |
| vtkm::Vec< vtkm::Vec< ComponentType, NUM_COLUMNS >, NUM_ROWS > | Components | 
Basic Matrix type.
The Matrix class holds a small two dimensional array for simple linear algebra and vector operations. VTK-m provides several Matrix-based operations to assist in visualization computations.
A Matrix is not intended to hold very large arrays. Rather, they are a per-thread data structure to hold information like geometric transforms and tensors.
| using vtkm::Matrix< T, NumRow, NumCol >::ComponentType = T | 
      
  | 
  inline | 
      
  | 
  inlineexplicit | 
      
  | 
  inline | 
Parentheses are used to reference a matrix using mathematical tuple notation i.e.
matrix(row,column).
      
  | 
  inline | 
Parentheses are used to reference a matrix using mathematical tuple notation i.e.
matrix(row,column).
      
  | 
  inline | 
Brackets are used to referens a matrix like a 2D array i.e.
matrix[row][column].
      
  | 
  inline | 
Brackets are used to reference a matrix like a 2D array (i.e.
matrix[row][column]).
      
  | 
  private | 
      
  | 
  staticconstexpr | 
      
  | 
  staticconstexpr | 
 1.8.17