VTK-m
2.0
|
A matrix has vector traits to implement component-wise operations. More...
#include <Matrix.h>
Public Types | |
using | ComponentType = T |
using | BaseComponentType = typename vtkm::VecTraits< T >::BaseComponentType |
using | HasMultipleComponents = vtkm::VecTraitsTagMultipleComponents |
using | IsSizeStatic = vtkm::VecTraitsTagSizeStatic |
template<typename NewComponentType > | |
using | ReplaceComponentType = vtkm::Matrix< NewComponentType, NumRow, NumCol > |
template<typename NewComponentType > | |
using | ReplaceBaseComponentType = vtkm::Matrix< typename vtkm::VecTraits< T >::template ReplaceBaseComponentType< NewComponentType >, NumRow, NumCol > |
Static Public Member Functions | |
static VTKM_EXEC_CONT vtkm::IdComponent | GetNumberOfComponents (const MatrixType &) |
static const VTKM_EXEC_CONT ComponentType & | GetComponent (const MatrixType &matrix, vtkm::IdComponent component) |
static VTKM_EXEC_CONT ComponentType & | GetComponent (MatrixType &matrix, vtkm::IdComponent component) |
static VTKM_EXEC_CONT void | SetComponent (MatrixType &matrix, vtkm::IdComponent component, T value) |
Static Public Attributes | |
static constexpr vtkm::IdComponent | NUM_COMPONENTS = NumRow * NumCol |
Private Types | |
using | MatrixType = vtkm::Matrix< T, NumRow, NumCol > |
A matrix has vector traits to implement component-wise operations.
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::BaseComponentType = typename vtkm::VecTraits<T>::BaseComponentType |
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::ComponentType = T |
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::HasMultipleComponents = vtkm::VecTraitsTagMultipleComponents |
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::IsSizeStatic = vtkm::VecTraitsTagSizeStatic |
|
private |
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::ReplaceBaseComponentType = vtkm::Matrix<typename vtkm::VecTraits<T>::template ReplaceBaseComponentType<NewComponentType>, NumRow, NumCol> |
using vtkm::VecTraits< vtkm::Matrix< T, NumRow, NumCol > >::ReplaceComponentType = vtkm::Matrix<NewComponentType, NumRow, NumCol> |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticconstexpr |