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

Definition of Tpetra::leftAndOrRightScaleCrsMatrix. More...

#include "Tpetra_CrsMatrix.hpp"
#include "Tpetra_Vector.hpp"
#include "Tpetra_Details_Behavior.hpp"
#include "Tpetra_Details_leftScaleLocalCrsMatrix.hpp"
#include "Tpetra_Details_rightScaleLocalCrsMatrix.hpp"
#include "Teuchos_TestForException.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 >
void Tpetra::leftAndOrRightScaleCrsMatrix (Tpetra::CrsMatrix< SC, LO, GO, NT > &A, const Kokkos::View< const typename Kokkos::ArithTraits< SC >::mag_type *, typename NT::device_type > &rowScalingFactors, const Kokkos::View< const typename Kokkos::ArithTraits< SC >::mag_type *, typename NT::device_type > &colScalingFactors, const bool leftScale, const bool rightScale, const bool assumeSymmetric, const EScaling scaling)
 Left-scale and/or right-scale (in that order) the entries of the input Tpetra::CrsMatrix A. More...
 
template<class SC , class LO , class GO , class NT >
void Tpetra::leftAndOrRightScaleCrsMatrix (Tpetra::CrsMatrix< SC, LO, GO, NT > &A, const Tpetra::Vector< typename Kokkos::ArithTraits< SC >::mag_type, LO, GO, NT > &rowScalingFactors, const Tpetra::Vector< typename Kokkos::ArithTraits< SC >::mag_type, LO, GO, NT > &colScalingFactors, const bool leftScale, const bool rightScale, const bool assumeSymmetric, const EScaling scaling)
 Left-scale and/or right-scale (in that order) the entries of the input Tpetra::CrsMatrix A. More...
 

Detailed Description

Definition of Tpetra::leftAndOrRightScaleCrsMatrix.

For the declaration of this function and its public Doxygen documentation, please see Tpetra_leftAndOrRightScaleCrsMatrix_decl.hpp in this directory.

Definition in file Tpetra_leftAndOrRightScaleCrsMatrix_def.hpp.