|
Teuchos - Trilinos Tools Package
Version of the Day
|
Templated BLAS wrapper. More...
#include <Teuchos_BLAS.hpp>
Public Member Functions | |
Constructor/Destructor. | |
| BLAS (void) | |
| Default constructor. | |
| BLAS (const BLAS< OrdinalType, ScalarType > &) | |
| Copy constructor. | |
| virtual | ~BLAS (void) |
| Destructor. | |
Templated BLAS wrapper.
The Teuchos::BLAS class provides functionality similar to the BLAS (Basic Linear Algebra Subprograms). The BLAS provide portable, high- performance implementations of kernels such as dense vector sums, inner products, and norms (the BLAS 1 routines), dense matrix-vector multiplication and triangular solve (the BLAS 2 routines), and dense matrix-matrix multiplication and triangular solve with multiple right-hand sides (the BLAS 3 routines).
The standard BLAS interface is Fortran-specific. Unfortunately, the interface between C++ and Fortran is not standard across all computer platforms. The Teuchos::BLAS class provides C++ bindings for the BLAS kernels in order to insulate the rest of Petra from the details of C++ to Fortran translation.
In addition to giving access to the standard BLAS functionality, Teuchos::BLAS also provides a generic fall-back implementation for any ScalarType class that defines the +, - * and / operators.
Teuchos::BLAS only operates within a single shared-memory space, just like the BLAS. It does not attempt to implement distributed-memory parallel matrix operations.
Definition at line 227 of file Teuchos_BLAS.hpp.
| Teuchos::BLAS< OrdinalType, ScalarType >::BLAS | ( | void | ) | [inline] |
Default constructor.
Definition at line 237 of file Teuchos_BLAS.hpp.
| Teuchos::BLAS< OrdinalType, ScalarType >::BLAS | ( | const BLAS< OrdinalType, ScalarType > & | ) | [inline] |
Copy constructor.
Definition at line 240 of file Teuchos_BLAS.hpp.
| virtual Teuchos::BLAS< OrdinalType, ScalarType >::~BLAS | ( | void | ) | [inline, virtual] |
Destructor.
Definition at line 243 of file Teuchos_BLAS.hpp.
1.7.6.1