10#ifndef TPETRA_DETAILS_FILL_HPP
11#define TPETRA_DETAILS_FILL_HPP
36template<
class ViewType,
47 static_assert (std::is_integral<IndexType>::value,
48 "IndexType must be a built-in integer type.");
65 static_assert (ViewType::rank == 2,
"ViewType must be a rank-2 "
66 "Kokkos::View in order to call the \"whichVectors\" "
67 "specialization of fill.");
68 static_assert (std::is_integral<IndexType>::value,
69 "IndexType must be a built-in integer type.");
Type traits for Tpetra's BLAS wrappers; an implementation detail of Tpetra::MultiVector.
void fill(const ExecutionSpace &execSpace, const ViewType &X, const ValueType &alpha, const IndexType numRows, const IndexType numCols)
Fill the entries of the given 1-D or 2-D Kokkos::View with the given scalar value alpha.
Struct that holds views of the contents of a CrsMatrix.
Implementation details of Tpetra.
Namespace Tpetra contains the class and methods constituting the Tpetra library.