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

Declaration of Tpetra::leftAndOrRightScaleCrsMatrix. More...

#include "TpetraCore_config.h"
#include "Kokkos_ArithTraits.hpp"
#include "Kokkos_Core.hpp"
#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.
 

Enumerations

enum  Tpetra::EScaling
 Whether "scaling" a matrix means multiplying or dividing its entries. More...
 

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

Declaration of Tpetra::leftAndOrRightScaleCrsMatrix.

Definition in file Tpetra_leftAndOrRightScaleCrsMatrix_decl.hpp.