Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_Details_normImpl.hpp File Reference

Declaration and definition of Tpetra::Details::normImpl, which is an implementation detail of Tpetra::MultiVector. More...

#include "TpetraCore_config.h"
#include "Kokkos_Core.hpp"
#include "Teuchos_ArrayView.hpp"
#include "Teuchos_CommHelpers.hpp"
#include "KokkosBlas.hpp"
#include "Kokkos_ArithTraits.hpp"

Go to the source code of this file.

Namespaces

namespace  Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
namespace  Tpetra::Details
 Nonmember function that computes a residual Computes R = B - A * X.

Enumerations

enum  Tpetra::Details::EWhichNorm
 Input argument for normImpl() (which see). More...

Functions

template<class ValueType, class ArrayLayout, class DeviceType, class MagnitudeType>
void Tpetra::Details::normImpl (MagnitudeType norms[], const Kokkos::View< const ValueType **, ArrayLayout, DeviceType > &X, const EWhichNorm whichNorm, const Teuchos::ArrayView< const size_t > &whichVecs, const bool isConstantStride, const bool isDistributed, const Teuchos::Comm< int > *comm)
 Implementation of MultiVector norms.

Detailed Description

Declaration and definition of Tpetra::Details::normImpl, which is an implementation detail of Tpetra::MultiVector.

Warning
This file is an implementation detail of Tpetra. Do not include this header file directly in your code. Do not depend on the contents of this file; they may change or disappear at any time.

Definition in file Tpetra_Details_normImpl.hpp.