10#ifndef TPETRA_DETAILS_FILL_HPP
11#define TPETRA_DETAILS_FILL_HPP
36template <
class ViewType,
45 static_assert(std::is_integral<IndexType>::value,
46 "IndexType must be a built-in integer type.");
61 static_assert(ViewType::rank == 2,
62 "ViewType must be a rank-2 "
63 "Kokkos::View in order to call the \"whichVectors\" "
64 "specialization of fill.");
65 static_assert(std::is_integral<IndexType>::value,
66 "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.