|
Tpetra parallel linear algebra Version of the Day
|
Declaration and definition of Tpetra::Details::Blas::fill, an implementation detail of Tpetra::MultiVector. More...
Go to the source code of this file.
Namespaces | |
| namespace | Tpetra |
| Namespace Tpetra contains the class and methods constituting the Tpetra library. | |
| namespace | Tpetra::Details |
| Nonmember function that computes a residual Computes R = B - A * X. | |
Functions | |
| template<class ViewType , class ValueType , class IndexType , class ExecutionSpace > | |
| void | Tpetra::Details::Blas::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. | |
Declaration and definition of Tpetra::Details::Blas::fill, an implementation detail of Tpetra::MultiVector.
Definition in file Tpetra_Details_fill.hpp.
| void Tpetra::Details::Blas::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.
| ViewType | Kokkos::View specialization. |
| ValueType | Type of the scalar value alpha to assign to each entry of X. |
| IndexType | Type of the index to use in loops. |
Definition at line 40 of file Tpetra_Details_fill.hpp.