GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
pr-output.h File Reference
#include "octave-config.h"
#include <iosfwd>
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"
#include "pr-flt-fmt.h"
Include dependency graph for pr-output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Array< T >
 N Dimensional Array with copy-on-write semantics. More...
 
class  intNDArray< T >
 
class  pr_engineering_float< T >
 
class  pr_formatted_float< T >
 
class  pr_rational_float< T >
 

Functions

template<typename T >
float_display_format make_format (const std::complex< T > &)
 
template<>
float_display_format make_format (const std::complex< double > &c)
 
template<>
float_display_format make_format (const std::complex< float > &fc)
 
template<typename T >
float_display_format make_format (const T &)
 
template<>
float_display_format make_format (const double &d)
 
template<>
float_display_format make_format (const float &f)
 
template<>
float_display_format make_format (const Range &r)
 
template<>
float_display_format make_format (const Matrix &m)
 
template<>
float_display_format make_format (const FloatMatrix &m)
 
template<>
float_display_format make_format (const ComplexMatrix &m)
 
template<>
float_display_format make_format (const FloatComplexMatrix &m)
 
template<>
float_display_format make_format (const boolNDArray &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_int8 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_int16 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_int32 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_int64 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_uint8 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_uint16 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_uint32 > &nda)
 
template<>
float_display_format make_format (const intNDArray< octave_uint64 > &nda)
 
template<>
float_display_format make_format (const octave_int8 &nda)
 
template<>
float_display_format make_format (const octave_int16 &nda)
 
template<>
float_display_format make_format (const octave_int32 &nda)
 
template<>
float_display_format make_format (const octave_int64 &nda)
 
template<>
float_display_format make_format (const octave_uint8 &nda)
 
template<>
float_display_format make_format (const octave_uint16 &nda)
 
template<>
float_display_format make_format (const octave_uint32 &nda)
 
template<>
float_display_format make_format (const octave_uint64 &nda)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, bool d, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, char c, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, char c, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, double d, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, double d, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, float d, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, float d, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const Matrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const DiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatDiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const NDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, const Complex &c, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const Complex &c, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, const FloatComplex &c, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const FloatComplex &c, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const PermMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const Range &r, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const boolMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const boolNDArray &m, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const charMatrix &chm, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const charNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const std::string &s, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const Array< std::string > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_uint8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_int16 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_uint16 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_int32 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_uint32 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_int64 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_uint64 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< int8_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int8_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< uint8_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint8_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< int16_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int16_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< uint16_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint16_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< int32_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int32_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< uint32_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint32_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< int64_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int64_t > &sa, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< uint64_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint64_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const Cell &cell, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const Cell &cell, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_value &ov, bool pr_as_read_syntax=false)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const pr_engineering_float< T > &pef)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const pr_formatted_float< T > &pff)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const pr_rational_float< T > &prf)
 

Variables

bool Vcompact_format
 
bool Vprint_empty_dimensions
 

Function Documentation

◆ make_format() [1/28]

template<typename T >
float_display_format make_format ( const std::complex< T > &  )

Definition at line 61 of file pr-output.h.

Referenced by octave_print_internal().

◆ make_format() [2/28]

template<>
float_display_format make_format ( const std::complex< double > &  c)

Definition at line 979 of file pr-output.cc.

References c, and make_complex_scalar_format().

◆ make_format() [3/28]

template<>
float_display_format make_format ( const std::complex< float > &  fc)

Definition at line 986 of file pr-output.cc.

References make_complex_scalar_format().

◆ make_format() [4/28]

template<typename T >
float_display_format make_format ( const T &  )

Definition at line 76 of file pr-output.h.

◆ make_format() [5/28]

◆ make_format() [6/28]

template<>
float_display_format make_format ( const float f)

Definition at line 598 of file pr-output.cc.

References f, and make_scalar_format().

◆ make_format() [7/28]

template<>
float_display_format make_format ( const Range r)

◆ make_format() [8/28]

template<>
float_display_format make_format ( const Matrix m)

Definition at line 764 of file pr-output.cc.

References make_matrix_format().

◆ make_format() [9/28]

template<>
float_display_format make_format ( const FloatMatrix m)

Definition at line 771 of file pr-output.cc.

References make_matrix_format().

◆ make_format() [10/28]

template<>
float_display_format make_format ( const ComplexMatrix m)

Definition at line 1206 of file pr-output.cc.

References make_complex_matrix_format().

◆ make_format() [11/28]

template<>
float_display_format make_format ( const FloatComplexMatrix m)

Definition at line 1213 of file pr-output.cc.

References make_complex_matrix_format().

◆ make_format() [12/28]

template<>
float_display_format make_format ( const boolNDArray nda)

Definition at line 1220 of file pr-output.cc.

◆ make_format() [13/28]

template<>
float_display_format make_format ( const intNDArray< octave_int8 > &  nda)

Definition at line 1746 of file pr-output.cc.

◆ make_format() [14/28]

template<>
float_display_format make_format ( const intNDArray< octave_int16 > &  nda)

Definition at line 1748 of file pr-output.cc.

◆ make_format() [15/28]

template<>
float_display_format make_format ( const intNDArray< octave_int32 > &  nda)

Definition at line 1750 of file pr-output.cc.

◆ make_format() [16/28]

template<>
float_display_format make_format ( const intNDArray< octave_int64 > &  nda)

Definition at line 1752 of file pr-output.cc.

◆ make_format() [17/28]

template<>
float_display_format make_format ( const intNDArray< octave_uint8 > &  nda)

Definition at line 1747 of file pr-output.cc.

◆ make_format() [18/28]

template<>
float_display_format make_format ( const intNDArray< octave_uint16 > &  nda)

Definition at line 1749 of file pr-output.cc.

◆ make_format() [19/28]

template<>
float_display_format make_format ( const intNDArray< octave_uint32 > &  nda)

Definition at line 1751 of file pr-output.cc.

◆ make_format() [20/28]

template<>
float_display_format make_format ( const intNDArray< octave_uint64 > &  nda)

Definition at line 1753 of file pr-output.cc.

◆ make_format() [21/28]

template<>
float_display_format make_format ( const octave_int8 nda)

Definition at line 1770 of file pr-output.cc.

◆ make_format() [22/28]

template<>
float_display_format make_format ( const octave_int16 nda)

Definition at line 1772 of file pr-output.cc.

◆ make_format() [23/28]

template<>
float_display_format make_format ( const octave_int32 nda)

Definition at line 1774 of file pr-output.cc.

◆ make_format() [24/28]

template<>
float_display_format make_format ( const octave_int64 nda)

Definition at line 1776 of file pr-output.cc.

◆ make_format() [25/28]

template<>
float_display_format make_format ( const octave_uint8 nda)

Definition at line 1771 of file pr-output.cc.

◆ make_format() [26/28]

template<>
float_display_format make_format ( const octave_uint16 nda)

Definition at line 1773 of file pr-output.cc.

◆ make_format() [27/28]

template<>
float_display_format make_format ( const octave_uint32 nda)

Definition at line 1775 of file pr-output.cc.

◆ make_format() [28/28]

template<>
float_display_format make_format ( const octave_uint64 nda)

Definition at line 1777 of file pr-output.cc.

◆ octave_print_internal() [1/59]

◆ octave_print_internal() [2/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
bool  d,
bool  pr_as_read_syntax = false 
)

Definition at line 1787 of file pr-output.cc.

References d, octave_print_internal(), and os.

◆ octave_print_internal() [3/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const float_display_format fmt,
char  c,
bool  pr_as_read_syntax = false 
)

Definition at line 1793 of file pr-output.cc.

References panic_impossible.

◆ octave_print_internal() [4/59]

void octave_print_internal ( std::ostream &  os,
char  c,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 192 of file pr-output.h.

References c, octave_print_internal(), and os.

◆ octave_print_internal() [5/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const float_display_format fmt,
double  d,
bool  pr_as_read_syntax = false 
)

Definition at line 1800 of file pr-output.cc.

References d, free_format, os, plus_format, pr_float(), and pr_plus_format().

◆ octave_print_internal() [6/59]

void octave_print_internal ( std::ostream &  os,
double  d,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 204 of file pr-output.h.

References d, make_format(), octave_print_internal(), and os.

◆ octave_print_internal() [7/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const float_display_format fmt,
float  d,
bool  pr_as_read_syntax = false 
)

Definition at line 1817 of file pr-output.cc.

References d, free_format, os, plus_format, pr_float(), and pr_plus_format().

◆ octave_print_internal() [8/59]

void octave_print_internal ( std::ostream &  os,
float  d,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 215 of file pr-output.h.

References d, make_format(), octave_print_internal(), and os.

◆ octave_print_internal() [9/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Matrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2454 of file pr-output.cc.

References octave_print_matrix_internal(), and os.

◆ octave_print_internal() [10/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2461 of file pr-output.cc.

References octave_print_matrix_internal(), and os.

◆ octave_print_internal() [11/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const DiagMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2468 of file pr-output.cc.

References octave_print_diag_matrix_internal(), and os.

◆ octave_print_internal() [12/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatDiagMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2475 of file pr-output.cc.

References octave_print_diag_matrix_internal(), and os.

◆ octave_print_internal() [13/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const NDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2210 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), and os.

◆ octave_print_internal() [14/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2228 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), and os.

◆ octave_print_internal() [15/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const float_display_format fmt,
const Complex c,
bool  pr_as_read_syntax = false 
)

Definition at line 2266 of file pr-output.cc.

References c, free_format, os, plus_format, pr_float(), and pr_plus_format().

◆ octave_print_internal() [16/59]

void octave_print_internal ( std::ostream &  os,
const Complex c,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 256 of file pr-output.h.

References c, make_format(), octave_print_internal(), and os.

◆ octave_print_internal() [17/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const float_display_format fmt,
const FloatComplex c,
bool  pr_as_read_syntax = false 
)

Definition at line 2283 of file pr-output.cc.

References c, free_format, os, plus_format, pr_float(), and pr_plus_format().

◆ octave_print_internal() [18/59]

void octave_print_internal ( std::ostream &  os,
const FloatComplex c,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 267 of file pr-output.h.

References c, make_format(), octave_print_internal(), and os.

◆ octave_print_internal() [19/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2482 of file pr-output.cc.

References octave_print_matrix_internal(), and os.

◆ octave_print_internal() [20/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexDiagMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2496 of file pr-output.cc.

References octave_print_diag_matrix_internal(), and os.

◆ octave_print_internal() [21/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2489 of file pr-output.cc.

References octave_print_matrix_internal(), and os.

◆ octave_print_internal() [22/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexDiagMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2503 of file pr-output.cc.

References octave_print_diag_matrix_internal(), and os.

◆ octave_print_internal() [23/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2414 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), and os.

◆ octave_print_internal() [24/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2433 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), and os.

◆ octave_print_internal() [25/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const PermMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

◆ octave_print_internal() [26/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Range r,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

◆ octave_print_internal() [27/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const boolMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2616 of file pr-output.cc.

References octave_print_internal(), os, and tmp.

◆ octave_print_internal() [28/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const boolNDArray m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2625 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), os, and print_nd_array().

◆ octave_print_internal() [29/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const charMatrix chm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)

◆ octave_print_internal() [30/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const charNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)

Definition at line 2692 of file pr-output.cc.

References Array< T >::ndims(), octave_print_internal(), and os.

◆ octave_print_internal() [31/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const std::string s,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2712 of file pr-output.cc.

References octave_print_internal(), os, and s.

◆ octave_print_internal() [32/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Array< std::string > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

◆ octave_print_internal() [33/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_int8 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3196 of file pr-output.cc.

◆ octave_print_internal() [34/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_uint8 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3197 of file pr-output.cc.

◆ octave_print_internal() [35/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_int16 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3198 of file pr-output.cc.

◆ octave_print_internal() [36/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_uint16 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3199 of file pr-output.cc.

◆ octave_print_internal() [37/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_int32 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3200 of file pr-output.cc.

◆ octave_print_internal() [38/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_uint32 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3201 of file pr-output.cc.

◆ octave_print_internal() [39/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_int64 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3202 of file pr-output.cc.

◆ octave_print_internal() [40/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_uint64 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3203 of file pr-output.cc.

◆ octave_print_internal() [41/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< int8_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2948 of file pr-output.cc.

◆ octave_print_internal() [42/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int8_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 391 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [43/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< uint8_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2949 of file pr-output.cc.

◆ octave_print_internal() [44/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint8_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 404 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [45/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< int16_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2950 of file pr-output.cc.

◆ octave_print_internal() [46/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int16_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 417 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [47/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< uint16_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2951 of file pr-output.cc.

◆ octave_print_internal() [48/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint16_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 430 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [49/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< int32_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2952 of file pr-output.cc.

◆ octave_print_internal() [50/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int32_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 443 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [51/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< uint32_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2953 of file pr-output.cc.

◆ octave_print_internal() [52/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint32_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 456 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [53/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< int64_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2954 of file pr-output.cc.

◆ octave_print_internal() [54/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int64_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 469 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [55/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const octave_int< uint64_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 2955 of file pr-output.cc.

◆ octave_print_internal() [56/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint64_t > &  sa,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 482 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [57/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Cell cell,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)

Definition at line 3206 of file pr-output.cc.

References panic_impossible.

◆ octave_print_internal() [58/59]

void octave_print_internal ( std::ostream &  os,
const float_display_format ,
const Cell cell,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)
inline

Definition at line 496 of file pr-output.h.

References octave_print_internal(), and os.

◆ octave_print_internal() [59/59]

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_value ov,
bool  pr_as_read_syntax = false 
)

Definition at line 3212 of file pr-output.cc.

References panic_impossible.

◆ operator<<() [1/3]

template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const pr_engineering_float< T > &  pef 
)

◆ operator<<() [2/3]

template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const pr_formatted_float< T > &  pff 
)

◆ operator<<() [3/3]

template<typename T >
std::ostream& operator<< ( std::ostream &  os,
const pr_rational_float< T > &  prf 
)

Variable Documentation

◆ Vcompact_format

◆ Vprint_empty_dimensions

bool Vprint_empty_dimensions

Definition at line 68 of file pr-output.cc.

Referenced by print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().