GNU Octave  6.2.0
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  pr_engineering_float< T >
 
class  pr_formatted_float< T >
 
class  pr_rational_float< T >
 

Functions

template<>
float_display_format make_format (const boolNDArray &nda)
 
template<>
float_display_format make_format (const ComplexMatrix &m)
 
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 FloatComplexMatrix &m)
 
template<>
float_display_format make_format (const FloatMatrix &m)
 
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_int8 > &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 intNDArray< octave_uint8 > &nda)
 
template<>
float_display_format make_format (const Matrix &m)
 
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_int8 &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)
 
template<>
float_display_format make_format (const octave_uint8 &nda)
 
template<>
float_display_format make_format (const Range &r)
 
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 std::complex< T > &)
 
template<typename T >
float_display_format make_format (const T &)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, bool d, 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 Array< std::string > &sa, 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 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 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)
 
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 ComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
 
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 ComplexNDArray &nda, 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)
 
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)
 
void octave_print_internal (std::ostream &os, const float_display_format &, 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< int32_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)
 
void octave_print_internal (std::ostream &os, const float_display_format &, 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< uint16_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)
 
void octave_print_internal (std::ostream &os, const float_display_format &, const octave_int< uint64_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 float_display_format &fmt, 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)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, 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)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const float_display_format &fmt, 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, const FloatComplex &c, bool pr_as_read_syntax=false)
 
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 FloatComplexMatrix &cm, 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 FloatDiagMatrix &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 FloatNDArray &nda, 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_int32 > &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_int8 > &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_uint32 > &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)
 
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 Matrix &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 octave_int< int16_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)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int64_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)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint16_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)
 
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 octave_int< uint8_t > &sa, bool pr_as_read_syntax=false)
 
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_value &ov, bool pr_as_read_syntax=false)
 
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 std::string &s, bool pr_as_read_syntax=false, int extra_indent=0)
 
void octave_print_internal (std::ostream &os, double d, bool pr_as_read_syntax=false)
 
void octave_print_internal (std::ostream &os, float d, 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<>
float_display_format make_format ( const boolNDArray nda)

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

◆ make_format() [2/28]

template<>
float_display_format make_format ( const ComplexMatrix m)

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

References make_complex_matrix_format().

◆ make_format() [3/28]

◆ make_format() [4/28]

template<>
float_display_format make_format ( const float &  f)

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

References f, and make_scalar_format().

◆ make_format() [5/28]

template<>
float_display_format make_format ( const FloatComplexMatrix m)

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

References make_complex_matrix_format().

◆ make_format() [6/28]

template<>
float_display_format make_format ( const FloatMatrix m)

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

References m, and make_matrix_format().

◆ make_format() [7/28]

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

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

◆ make_format() [8/28]

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

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

◆ make_format() [9/28]

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

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

◆ make_format() [10/28]

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

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

◆ make_format() [11/28]

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

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

◆ make_format() [12/28]

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

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

◆ make_format() [13/28]

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

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

◆ make_format() [14/28]

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

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

◆ make_format() [15/28]

template<>
float_display_format make_format ( const Matrix m)

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

References m, and make_matrix_format().

◆ make_format() [16/28]

template<>
float_display_format make_format ( const octave_int16 nda)

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

◆ make_format() [17/28]

template<>
float_display_format make_format ( const octave_int32 nda)

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

◆ make_format() [18/28]

template<>
float_display_format make_format ( const octave_int64 nda)

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

◆ make_format() [19/28]

template<>
float_display_format make_format ( const octave_int8 nda)

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

◆ make_format() [20/28]

template<>
float_display_format make_format ( const octave_uint16 nda)

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

◆ make_format() [21/28]

template<>
float_display_format make_format ( const octave_uint32 nda)

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

◆ make_format() [22/28]

template<>
float_display_format make_format ( const octave_uint64 nda)

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

◆ make_format() [23/28]

template<>
float_display_format make_format ( const octave_uint8 nda)

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

◆ make_format() [24/28]

template<>
float_display_format make_format ( const Range r)

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

References free_format, num_digits(), and r.

◆ make_format() [25/28]

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

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

References make_complex_scalar_format().

◆ make_format() [26/28]

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

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

References make_complex_scalar_format().

◆ make_format() [27/28]

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

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

Referenced by octave_print_internal().

◆ make_format() [28/28]

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

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

◆ octave_print_internal() [1/59]

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

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

References d, and octave_print_internal().

◆ octave_print_internal() [2/59]

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

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

References octave_print_internal().

◆ octave_print_internal() [3/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() [4/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 2597 of file pr-output.cc.

References octave_print_internal().

◆ octave_print_internal() [5/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 2606 of file pr-output.cc.

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

◆ octave_print_internal() [6/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 3190 of file pr-output.cc.

References panic_impossible.

◆ octave_print_internal() [7/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() [8/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 2673 of file pr-output.cc.

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

◆ octave_print_internal() [9/59]

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

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

References make_format(), and octave_print_internal().

◆ octave_print_internal() [10/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 2477 of file pr-output.cc.

References octave_print_diag_matrix_internal().

◆ octave_print_internal() [11/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 2463 of file pr-output.cc.

References octave_print_matrix_internal().

◆ octave_print_internal() [12/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 2395 of file pr-output.cc.

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

◆ octave_print_internal() [13/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 2449 of file pr-output.cc.

References m, and octave_print_diag_matrix_internal().

◆ octave_print_internal() [14/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 499 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [15/59]

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

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

◆ octave_print_internal() [16/59]

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

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

◆ octave_print_internal() [17/59]

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

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

◆ octave_print_internal() [18/59]

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

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

◆ octave_print_internal() [19/59]

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

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

◆ octave_print_internal() [20/59]

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

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

◆ octave_print_internal() [21/59]

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

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

◆ octave_print_internal() [22/59]

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

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

◆ octave_print_internal() [23/59]

◆ octave_print_internal() [24/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 1775 of file pr-output.cc.

References panic_impossible.

◆ octave_print_internal() [25/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 2247 of file pr-output.cc.

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

◆ octave_print_internal() [26/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 2264 of file pr-output.cc.

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

◆ octave_print_internal() [27/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 1782 of file pr-output.cc.

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

◆ octave_print_internal() [28/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 1799 of file pr-output.cc.

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

◆ octave_print_internal() [29/59]

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

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

References make_format(), and octave_print_internal().

◆ octave_print_internal() [30/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 2484 of file pr-output.cc.

References octave_print_diag_matrix_internal().

◆ octave_print_internal() [31/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 2470 of file pr-output.cc.

References octave_print_matrix_internal().

◆ octave_print_internal() [32/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 2414 of file pr-output.cc.

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

◆ octave_print_internal() [33/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 2456 of file pr-output.cc.

References m, and octave_print_diag_matrix_internal().

◆ octave_print_internal() [34/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 2442 of file pr-output.cc.

References m, and octave_print_matrix_internal().

◆ octave_print_internal() [35/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 2209 of file pr-output.cc.

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

◆ octave_print_internal() [36/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 3182 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 3184 of file pr-output.cc.

◆ octave_print_internal() [38/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 3186 of file pr-output.cc.

◆ octave_print_internal() [39/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 3180 of file pr-output.cc.

◆ octave_print_internal() [40/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 3183 of file pr-output.cc.

◆ octave_print_internal() [41/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 3185 of file pr-output.cc.

◆ octave_print_internal() [42/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 3187 of file pr-output.cc.

◆ octave_print_internal() [43/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 3181 of file pr-output.cc.

◆ octave_print_internal() [44/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 2435 of file pr-output.cc.

References m, and octave_print_matrix_internal().

◆ octave_print_internal() [45/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 2191 of file pr-output.cc.

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

◆ 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 420 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [47/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 446 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [48/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 472 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [49/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 394 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [50/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 433 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [51/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 459 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [52/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 485 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [53/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 407 of file pr-output.h.

References octave_print_internal().

◆ octave_print_internal() [54/59]

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

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

References panic_impossible.

◆ octave_print_internal() [55/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() [56/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() [57/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 2693 of file pr-output.cc.

References octave_print_internal().

◆ octave_print_internal() [58/59]

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

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

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

◆ octave_print_internal() [59/59]

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

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

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

◆ operator<<() [1/3]

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

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

◆ operator<<() [2/3]

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

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

◆ operator<<() [3/3]

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

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

Variable Documentation

◆ Vcompact_format

◆ Vprint_empty_dimensions

bool Vprint_empty_dimensions
extern

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

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