Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Teuchos::MatrixMarket::details::ScalarAssigner< Scalar, isComplex > Class Template Reference

Implementation detail of assignScalar(). More...

#include <Teuchos_MatrixMarket_assignScalar.hpp>

Static Public Member Functions

static void assign (Scalar &val, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &real, const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &imag)

Detailed Description

template<class Scalar, bool isComplex = Teuchos::ScalarTraits<Scalar>::isComplex>
class Teuchos::MatrixMarket::details::ScalarAssigner< Scalar, isComplex >

Implementation detail of assignScalar().

We define a class because template functions can't (in the current C++ standard) have default template parameters.

Definition at line 28 of file Teuchos_MatrixMarket_assignScalar.hpp.

Member Function Documentation

template<class Scalar , bool isComplex = Teuchos::ScalarTraits<Scalar>::isComplex>
static void Teuchos::MatrixMarket::details::ScalarAssigner< Scalar, isComplex >::assign ( Scalar val,
const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &  real,
const typename Teuchos::ScalarTraits< Scalar >::magnitudeType &  imag 

The documentation for this class was generated from the following file: