Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
Tpetra_replaceDiagonalCrsMatrix_decl.hpp File Reference

Declaration of Tpetra::repalceDiagonalCrsMatrix. 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::repalceDiagonalCrsMatrix.

Definition in file Tpetra_replaceDiagonalCrsMatrix_decl.hpp.