00001 /* @HEADER@ */ 00002 // 00003 /* @HEADER@ */ 00004 00005 #ifndef PLAYA_EPETRAMATRIXOPS_HPP 00006 #define PLAYA_EPETRAMATRIXOPS_HPP 00007 00008 #include "PlayaLinearOperatorDecl.hpp" 00009 00010 namespace Playa 00011 { 00012 00014 Vector<double> getEpetraDiagonal(const LinearOperator<double>& A); 00015 00017 LinearOperator<double> makeEpetraDiagonalMatrix(const Vector<double>& d); 00018 00019 00020 } 00021 00022 #endif