Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Functions
default_blas_rot.cpp File Reference

Test Teuchos' generic ROTG implementation. More...

#include <Teuchos_as.hpp>
#include <Teuchos_BLAS.hpp>
#include <Teuchos_CommandLineProcessor.hpp>
#include <Teuchos_GlobalMPISession.hpp>
#include <Teuchos_oblackholestream.hpp>
Include dependency graph for default_blas_rot.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Detailed Description

Test Teuchos' generic ROTG implementation.

Author:
Mark Hoemmen

This program tests Teuchos::DefaultBLASImpl::ROTG against Teuchos::BLAS::ROTG for ScalarType=double. This is a reasonable correctness test, assuming that Teuchos::BLAS invokes the BLAS library.

TODO: Test for ScalarType=std::complex<double>. This would require constructing some complex-valued tests.

Definition in file default_blas_rot.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 269 of file default_blas_rot.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines