Function Dune::XT::Common::data¶
Function template Dune::XT::Common::data¶
-
template<class MatrixType>
typename std::enable_if_t<is_matrix<MatrixType>::value, typename MatrixAbstraction<MatrixType>::ScalarType*> Dune::XT::Common::data(MatrixType &source)¶ returns a pointer to the underlying (dense) data of a matrix
Function template Dune::XT::Common::data¶
-
template<class MatrixType>
typename std::enable_if_t<is_matrix<MatrixType>::value, typename MatrixAbstraction<MatrixType>::ScalarType*> Dune::XT::Common::data(const MatrixType &source)¶ returns a pointer to the underlying (dense) data of a const matrix
Function template Dune::XT::Common::data¶
-
template<class VectorType>
typename std::enable_if<is_vector<VectorType>::value, const typename VectorAbstraction<VectorType>::ScalarType*>::type Dune::XT::Common::data(const VectorType &source)¶ returns a pointer to the underlying (contiguous) data of a const vector
Function template Dune::XT::Common::data¶
-
template<class VectorType>
typename std::enable_if<is_vector<VectorType>::value, typename VectorAbstraction<VectorType>::ScalarType*>::type Dune::XT::Common::data(VectorType &source)¶ returns a pointer to the underlying (contiguous) data of a vector