#include <Teuchos_BLAS.hpp>
Inheritance diagram for Teuchos::BLAS< OrdinalType, ScalarType >:

Public Member Functions | |
Constructor/Destructor. | |
| BLAS (void) | |
| Default constructor. | |
| BLAS (const BLAS< OrdinalType, ScalarType > &) | |
| Copy constructor. | |
| virtual | ~BLAS (void) |
| Destructor. | |
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 std::vector multiplication, dot products, dense matrix-stdvector multiplication and dense matrix-matrix multiplication.
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 the standard BLAS functionality. Teuchos::BLAS also provide functionality for any <ScalarType> class that defines the +, - * and / operators.
Teuchos::BLAS is a single memory image interface only. This is appropriate since the standard BLAS are only specified for serial execution (or shared memory parallel).
| Teuchos::BLAS< OrdinalType, ScalarType >::BLAS | ( | void | ) | [inline] |
Default constructor.
| Teuchos::BLAS< OrdinalType, ScalarType >::BLAS | ( | const BLAS< OrdinalType, ScalarType > & | ) | [inline] |
Copy constructor.
| virtual Teuchos::BLAS< OrdinalType, ScalarType >::~BLAS | ( | void | ) | [inline, virtual] |
Destructor.
1.4.7