26#if ! defined (octave_pr_flt_fmt_h)
27#define octave_pr_flt_fmt_h 1
29#include "octave-config.h"
52 : m_fw (w), m_ex (0), m_prec (p), m_fmt (
f), m_up (0), m_sp (0) { }
55 : m_fw (w), m_ex (e), m_prec (p), m_fmt (
f), m_up (0), m_sp (0) { }
65 m_fmt = std::ios::scientific;
71 m_fmt = std::ios::fixed;
83 m_up = std::ios::uppercase;
114 m_sp = (tz ? std::ios::showpoint : 0);
120 return static_cast<std::ios::fmtflags
> (m_fmt | m_up | m_sp);
130 return m_fmt == std::ios::scientific;
135 return m_fmt == std::ios::fixed;
145 return m_up == std::ios::uppercase;
170 return m_sp == std::ios::showpoint;
173 template <
typename T>
177 template <
typename T>
181 template <
typename T>
214 : m_scale (
scale), m_real_fmt (real_fmt), m_imag_fmt (imag_fmt)
219 : m_scale (1.0), m_real_fmt (real_fmt), m_imag_fmt (imag_fmt)
236 m_real_fmt.precision (prec);
237 m_imag_fmt.precision (prec);
242 double m_scale = 1.0;
template std::ostream & operator<<(std::ostream &, const Array< bool > &)
void scale(Matrix &m, double x, double y, double z)
F77_RET_T const F77_DBLE const F77_DBLE * f
void set_output_prec(int prec)