|
Anasazi Version of the Day
|
Print a Scalar value to the given output stream. More...
#include <Tsqr_Util.hpp>
Public Member Functions | |
| void | operator() (std::ostream &out, const Scalar &elt) const |
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.
| void TSQR::ScalarPrinter< Scalar, isComplex >::operator() | ( | std::ostream & | out, |
| const Scalar & | elt | ||
| ) | const |
Print elt to out
1.7.4