Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_replaceDiagonalCrsMatrix_decl.hpp File Reference

Declaration of Tpetra::replaceDiagonalCrsMatrix. More...

Go to the source code of this file.

Namespaces

namespace  Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.

Functions

template<class SC, class LO, class GO, class NT>
LO Tpetra::replaceDiagonalCrsMatrix (::Tpetra::CrsMatrix< SC, LO, GO, NT > &matrix, const ::Tpetra::Vector< SC, LO, GO, NT > &newDiag)
 Replace diagonal entries of an input Tpetra::CrsMatrix matrix with values given in newDiag.

Detailed Description