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

Declaration of Tpetra::replaceDiagonalCrsMatrix. More...

#include "Tpetra_CrsMatrix_fwd.hpp"
#include "Tpetra_Vector_fwd.hpp"

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

Declaration of Tpetra::replaceDiagonalCrsMatrix.

Definition in file Tpetra_replaceDiagonalCrsMatrix_decl.hpp.