#include "octave-config.h"
#include <iosfwd>
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"
#include "pr-flt-fmt.h"
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 |
float_display_format make_format | ( | const std::complex< T > & | ) |
Definition at line 61 of file pr-output.h.
Referenced by octave_print_internal().
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().
float_display_format make_format | ( | const std::complex< float > & | fc | ) |
Definition at line 986 of file pr-output.cc.
References make_complex_scalar_format().
float_display_format make_format | ( | const T & | ) |
Definition at line 76 of file pr-output.h.
float_display_format make_format | ( | const double & | d | ) |
Definition at line 591 of file pr-output.cc.
References d, and make_scalar_format().
Referenced by octave_base_scalar< bool >::get_edit_display_format(), octave_base_matrix< boolNDArray >::get_edit_display_format(), octave_range::get_edit_display_format(), octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
float_display_format make_format | ( | const float & | f | ) |
Definition at line 598 of file pr-output.cc.
References f, and make_scalar_format().
float_display_format make_format | ( | const Range & | r | ) |
Definition at line 1345 of file pr-output.cc.
References Range::all_elements_are_ints(), Range::base(), free_format, Range::limit(), num_digits(), and tmp.
float_display_format make_format | ( | const Matrix & | m | ) |
Definition at line 764 of file pr-output.cc.
References make_matrix_format().
float_display_format make_format | ( | const FloatMatrix & | m | ) |
Definition at line 771 of file pr-output.cc.
References make_matrix_format().
float_display_format make_format | ( | const ComplexMatrix & | m | ) |
Definition at line 1206 of file pr-output.cc.
References make_complex_matrix_format().
float_display_format make_format | ( | const FloatComplexMatrix & | m | ) |
Definition at line 1213 of file pr-output.cc.
References make_complex_matrix_format().
float_display_format make_format | ( | const boolNDArray & | nda | ) |
Definition at line 1220 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int8 > & | nda | ) |
Definition at line 1746 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int16 > & | nda | ) |
Definition at line 1748 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int32 > & | nda | ) |
Definition at line 1750 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int64 > & | nda | ) |
Definition at line 1752 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint8 > & | nda | ) |
Definition at line 1747 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint16 > & | nda | ) |
Definition at line 1749 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint32 > & | nda | ) |
Definition at line 1751 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint64 > & | nda | ) |
Definition at line 1753 of file pr-output.cc.
float_display_format make_format | ( | const octave_int8 & | nda | ) |
Definition at line 1770 of file pr-output.cc.
float_display_format make_format | ( | const octave_int16 & | nda | ) |
Definition at line 1772 of file pr-output.cc.
float_display_format make_format | ( | const octave_int32 & | nda | ) |
Definition at line 1774 of file pr-output.cc.
float_display_format make_format | ( | const octave_int64 & | nda | ) |
Definition at line 1776 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint8 & | nda | ) |
Definition at line 1771 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint16 & | nda | ) |
Definition at line 1773 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint32 & | nda | ) |
Definition at line 1775 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint64 & | nda | ) |
Definition at line 1777 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
bool | d, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 1780 of file pr-output.cc.
References d, octave_print_internal(), and os.
Referenced by octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::edit_display(), octave_base_scalar< bool >::edit_display(), octave_base_int_scalar< OCTAVE_INT_T >::edit_display(), octave_base_matrix< boolNDArray >::edit_display(), octave_base_sparse< SparseComplexMatrix >::edit_display(), octave_base_diag< DiagMatrix, Matrix >::edit_display(), octave_perm_matrix::edit_display(), octave_range::edit_display(), Fqz(), octave_print_internal(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::print_raw(), octave_fcn_inline::print_raw(), octave_base_scalar< bool >::print_raw(), octave_char_matrix_str::print_raw(), octave_fcn_handle::print_raw(), octave_char_matrix::print_raw(), octave_base_sparse< SparseComplexMatrix >::print_raw(), octave_float_complex_matrix::print_raw(), octave_complex_matrix::print_raw(), octave_float_matrix::print_raw(), octave_base_diag< DiagMatrix, Matrix >::print_raw(), octave_bool_matrix::print_raw(), octave_perm_matrix::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_base_scalar< bool >::short_disp(), octave_base_matrix< boolNDArray >::short_disp(), octave_base_diag< DiagMatrix, Matrix >::short_disp(), and octave_perm_matrix::short_disp().
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.
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.
Definition at line 192 of file pr-output.h.
References c, octave_print_internal(), and os.
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().
Definition at line 204 of file pr-output.h.
References d, make_format(), octave_print_internal(), and os.
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().
Definition at line 215 of file pr-output.h.
References d, make_format(), octave_print_internal(), and os.
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.
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.
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.
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.
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.
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.
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().
|
inline |
Definition at line 256 of file pr-output.h.
References c, make_format(), octave_print_internal(), and os.
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().
|
inline |
Definition at line 267 of file pr-output.h.
References c, make_format(), octave_print_internal(), and os.
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.
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.
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.
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.
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.
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.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const PermMatrix & | m, | ||
bool | pr_as_read_syntax = false , |
||
int | extra_indent = 0 |
||
) |
Definition at line 2300 of file pr-output.cc.
References PermMatrix::col_perm_vec(), PermMatrix::columns(), free_format, i, octave_print_free(), os, plus_format, pr_col_num_header(), pr_plus_format_matrix(), print_empty_matrix(), PermMatrix::rows(), octave::command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const Range & | r, | ||
bool | pr_as_read_syntax = false , |
||
int | extra_indent = 0 |
||
) |
Definition at line 2510 of file pr-output.cc.
References Range::base(), Range::elem(), free_format, get_column_width(), i, Range::inc(), Range::limit(), make_format(), Range::numel(), os, plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), float_display_format::scale_factor(), octave::command_editor::terminal_cols(), val, and Vsplit_long_rows.
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.
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().
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 |
||
) |
Definition at line 2645 of file pr-output.cc.
References i, os, row, charMatrix::row_as_string(), Array< T >::rows(), string, and undo_string_escapes().
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.
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.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const Array< std::string > & | sa, | ||
bool | pr_as_read_syntax = false , |
||
int | extra_indent = 0 |
||
) |
Definition at line 2721 of file pr-output.cc.
References dims, Array< T >::dims(), i, increment_index(), Array< T >::index(), Array< T >::isempty(), k, Array< T >::ndims(), nm, Array< T >::numel(), os, page, print_empty_nd_array(), ra_idx, string, and Vcompact_format.
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.
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.
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.
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.
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.
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.
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.
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.
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.
|
inline |
Definition at line 391 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 404 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 417 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 430 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 443 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 456 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 469 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 482 of file pr-output.h.
References octave_print_internal(), and os.
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.
|
inline |
Definition at line 496 of file pr-output.h.
References octave_print_internal(), and os.
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.
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_engineering_float< T > & | pef | ||
) |
Definition at line 185 of file pr-output.cc.
References float_format::ex, float_format::fmt, float_format::fw, os, float_format::prec, float_format::sp, and float_format::up.
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_formatted_float< T > & | pff | ||
) |
Definition at line 218 of file pr-output.cc.
References float_format::fmt, float_format::fw, os, float_format::prec, float_format::sp, and float_format::up.
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_rational_float< T > & | prf | ||
) |
Definition at line 349 of file pr-output.cc.
References float_format::fmt, float_format::fw, os, rat_string_len, rational_approx(), s, float_format::sp, string, and float_format::up.
bool Vcompact_format |
Definition at line 99 of file pr-output.cc.
Referenced by Fformat(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), pr_col_num_header(), pr_scale_header(), octave_struct::print_name_tag(), octave_scalar_struct::print_name_tag(), octave_range::print_name_tag(), octave_base_value::print_name_tag(), octave_struct::print_raw(), octave_scalar_struct::print_raw(), octave_base_value::print_with_name(), and set_format_style().
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().