12#ifndef ARCANE_UTILS_NUMMATRIXDATAVIEW_H
13#define ARCANE_UTILS_NUMMATRIXDATAVIEW_H
17#include "arcane/utils/NumMatrix.h"
32template <
typename DataType_,
int Row,
int Column>
33class NumMatrixDataViewGetter
46 explicit ARCCORE_HOST_DEVICE NumMatrixDataViewGetter(
const NumMatrixType* ptr)
71template <
typename DataType_,
int Row,
int Column>
72class NumMatrixDataViewGetterSetter
73:
public DataViewGetterSetter<NumMatrix<DataType_, Row, Column>>
75 using BaseClass = DataViewGetterSetter<NumMatrix<DataType_, Row, Column>>;
86 explicit ARCCORE_HOST_DEVICE NumMatrixDataViewGetterSetter(
NumMatrixType* ptr)
94 BaseClass::operator=(v);
98 void fill(
const DataType_& v)
100 this->m_ptr->fill(v);
Class for accessing an element of a read view.
Mutable view for a NumMatrix<DataType_,Row,Column>.
NumMatrix< DataType, Row, Column > NumMatrixType
DataViewGetterSetter< DataType > MatrixElemenAccessor
const NumMatrixType & AccessorReturnType
DataViewGetter< DataType > MatrixElemenAccessor
NumMatrix< DataType, Row, Column > NumMatrixType
Small fixed-size matrix containing RowSize rows and ColumnSize columns.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --