Anasazi Version of the Day
Public Member Functions
TSQR::ScalarPrinter< Scalar, isComplex > Class Template Reference

Print a Scalar value to the given output stream. More...

#include <Tsqr_Util.hpp>

List of all members.

Public Member Functions

void operator() (std::ostream &out, const Scalar &elt) const

Detailed Description

template<class Scalar, bool isComplex>
class TSQR::ScalarPrinter< Scalar, isComplex >

Print a Scalar value to the given output stream.

C++ annoyingly doesn't let me do partial template specialization of functions. Because of that, I can't use a template function; instead, I have to reify the function into a class ("function object"), in the worst Java style (where everything is a noun with a "run()" method).

Definition at line 52 of file Tsqr_Util.hpp.

Member Function Documentation

template<class Scalar , bool isComplex>
void TSQR::ScalarPrinter< Scalar, isComplex >::operator() ( std::ostream &  out,
const Scalar &  elt 
) const

Print elt to out

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends