10#ifndef __Teuchos_MatrixMarket_assignScalar_hpp
11#define __Teuchos_MatrixMarket_assignScalar_hpp
27 template<class Scalar, bool isComplex=Teuchos::ScalarTraits<Scalar>::isComplex>
37 template<
class RealType>
51#ifdef HAVE_TEUCHOS_COMPLEX
54 template<
class MagType>
58 assign (std::complex<MagType>&
val,
62 val = std::complex<MagType> (real, imag);
73 template<
class Scalar>
75 assignScalar (Scalar& val,
79 ScalarAssigner<Scalar>::assign (val, real, imag);
Defines basic traits for the scalar field type.
Definition of Teuchos::as, for conversions between types.
Implementation detail of assignScalar().
Smart reference counting pointer class for automatic garbage collection.
Matrix Market file utilities.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Teuchos implementation details.
This structure defines some basic traits for a scalar field type.
T magnitudeType
Mandatory typedef for result of magnitude.