|
Tpetra parallel linear algebra Version of the Day
|
Abstract interface for local operators (e.g., matrices and preconditioners). More...
#include <Tpetra_LocalOperator.hpp>

Public Member Functions | |
| virtual void | apply (Kokkos::View< const scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > > X, Kokkos::View< scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > > Y, const Teuchos::ETransp mode, const scalar_type alpha, const scalar_type beta) const =0 |
Compute Y := beta*Y + alpha*Op(A)*X. | |
Abstract interface for local operators (e.g., matrices and preconditioners).
| Scalar | The type of the entries of the input and output (multi)vectors. |
| Device | The Kokkos Device type; must be a specialization of Kokkos::Device. |
Definition at line 29 of file Tpetra_LocalOperator.hpp.
|
pure virtual |
Compute Y := beta*Y + alpha*Op(A)*X.
| X | [in] Input MultiVector. |
| Y | [in/out] Output MultiVector. |
| mode | [in] Whether to apply the transpose (Teuchos::NO_TRANS, Teuchos::TRANS, Teuchos::CONJ_TRANS). |
| alpha | [in] Scaling factor for the result. |
| beta | [in] Scaling factor for Y before adding the result. |