Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

 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. More...
 

Detailed Description

Declaration of Tpetra::replaceDiagonalCrsMatrix.

Definition in file Tpetra_replaceDiagonalCrsMatrix_decl.hpp.