10 #ifndef TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
11 #define TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
16 #include "TpetraCore_config.h"
17 #include "Kokkos_Core.hpp"
18 #if KOKKOS_VERSION >= 40799
19 #include "KokkosKernels_ArithTraits.hpp"
21 #include "Kokkos_ArithTraits.hpp"
40 template <
class SC,
class LO,
class GO,
class NT>
41 #if KOKKOS_VERSION >= 40799
42 Details::EquilibrationInfo<typename KokkosKernels::ArithTraits<SC>::val_type,
44 Details::EquilibrationInfo<typename Kokkos::ArithTraits<SC>::val_type,
46 typename NT::device_type>
75 template <
class SC,
class LO,
class GO,
class NT>
76 #if KOKKOS_VERSION >= 40799
77 Details::EquilibrationInfo<typename KokkosKernels::ArithTraits<SC>::val_type,
79 Details::EquilibrationInfo<typename Kokkos::ArithTraits<SC>::val_type,
81 typename NT::device_type>
83 const bool assumeSymmetric);
87 #endif // TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
Forward declaration of Tpetra::RowMatrix.
Declaration of Tpetra::Details::EquilibrationInfo.
Details::EquilibrationInfo< typename Kokkos::ArithTraits< SC >::val_type, typename NT::device_type > computeRowOneNorms(const Tpetra::RowMatrix< SC, LO, GO, NT > &A)
Compute global row one-norms ("row sums") of the input sparse matrix A, in a way suitable for one-sid...
Details::EquilibrationInfo< typename Kokkos::ArithTraits< SC >::val_type, typename NT::device_type > computeRowAndColumnOneNorms(const Tpetra::RowMatrix< SC, LO, GO, NT > &A, const bool assumeSymmetric)
Compute global row and column one-norms ("row sums" and "column sums") of the input sparse matrix A...
A read-only, row-oriented interface to a sparse matrix.