#include "octave-config.h"
#include <iosfwd>
#include "Array-fwd.h"
#include "intNDArray-fwd.h"
#include "oct-cmplx.h"
#include "oct-inttypes-fwd.h"
#include "range-fwd.h"
#include "pr-flt-fmt.h"
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::range< double > &r) |
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 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 &) |
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) |
void | octave_print_internal (std::ostream &os, const Array< std::string > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const boolMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const boolNDArray &m, bool pr_as_read_syntax=false, int extra_indent=0) |
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 charMatrix &chm, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false) |
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) |
void | octave_print_internal (std::ostream &os, const ComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const ComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const ComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
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) |
void | octave_print_internal (std::ostream &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax=false) |
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, const float_display_format &fmt, const Complex &c, bool pr_as_read_syntax=false) |
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 float_display_format &fmt, double d, bool pr_as_read_syntax=false) |
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) |
void | octave_print_internal (std::ostream &os, const FloatComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const FloatComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const FloatComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const FloatDiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const FloatMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const FloatNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_int16 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_int32 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_int64 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint16 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint32 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
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 intNDArray< octave_uint8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const Matrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const NDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0) |
void | octave_print_internal (std::ostream &os, const octave::range< double > &r, bool pr_as_read_syntax=false, int extra_indent=0) |
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 octave_int< int32_t > &sa, bool pr_as_read_syntax=false) |
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 octave_int< int8_t > &sa, bool pr_as_read_syntax=false) |
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 octave_int< uint32_t > &sa, bool pr_as_read_syntax=false) |
void | octave_print_internal (std::ostream &os, const octave_int< uint64_t > &sa, bool pr_as_read_syntax=false) |
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 octave_value &ov, bool pr_as_read_syntax=false) |
void | octave_print_internal (std::ostream &os, const PermMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0) |
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 |
float_display_format make_format | ( | const boolNDArray & | nda | ) |
Definition at line 1192 of file pr-output.cc.
float_display_format make_format | ( | const ComplexMatrix & | m | ) |
Definition at line 1178 of file pr-output.cc.
float_display_format make_format | ( | const double & | d | ) |
Definition at line 525 of file pr-output.cc.
References d, and make_scalar_format().
Referenced by octave_base_matrix< MT >::get_edit_display_format(), octave_base_scalar< ST >::get_edit_display_format(), ov_range< T >::get_edit_display_format(), and octave_print_internal().
float_display_format make_format | ( | const float & | f | ) |
Definition at line 532 of file pr-output.cc.
References f, and make_scalar_format().
float_display_format make_format | ( | const FloatComplexMatrix & | m | ) |
Definition at line 1185 of file pr-output.cc.
float_display_format make_format | ( | const FloatMatrix & | m | ) |
Definition at line 717 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int16 > & | nda | ) |
Definition at line 1742 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int32 > & | nda | ) |
Definition at line 1744 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int64 > & | nda | ) |
Definition at line 1746 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int8 > & | nda | ) |
Definition at line 1740 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint16 > & | nda | ) |
Definition at line 1743 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint32 > & | nda | ) |
Definition at line 1745 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint64 > & | nda | ) |
Definition at line 1747 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint8 > & | nda | ) |
Definition at line 1741 of file pr-output.cc.
float_display_format make_format | ( | const Matrix & | m | ) |
Definition at line 710 of file pr-output.cc.
float_display_format make_format | ( | const octave::range< double > & | r | ) |
Definition at line 1330 of file pr-output.cc.
float_display_format make_format | ( | const octave_int16 & | nda | ) |
Definition at line 1766 of file pr-output.cc.
float_display_format make_format | ( | const octave_int32 & | nda | ) |
Definition at line 1768 of file pr-output.cc.
float_display_format make_format | ( | const octave_int64 & | nda | ) |
Definition at line 1770 of file pr-output.cc.
float_display_format make_format | ( | const octave_int8 & | nda | ) |
Definition at line 1764 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint16 & | nda | ) |
Definition at line 1767 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint32 & | nda | ) |
Definition at line 1769 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint64 & | nda | ) |
Definition at line 1771 of file pr-output.cc.
float_display_format make_format | ( | const octave_uint8 & | nda | ) |
Definition at line 1765 of file pr-output.cc.
float_display_format make_format | ( | const std::complex< double > & | c | ) |
Definition at line 931 of file pr-output.cc.
References make_complex_scalar_format().
float_display_format make_format | ( | const std::complex< float > & | fc | ) |
Definition at line 938 of file pr-output.cc.
References make_complex_scalar_format().
float_display_format make_format | ( | const std::complex< T > & | ) |
Definition at line 63 of file pr-output.h.
Referenced by octave_print_internal(), octave_print_internal(), octave_print_internal(), and octave_print_internal().
float_display_format make_format | ( | const T & | ) |
Definition at line 78 of file pr-output.h.
Definition at line 1781 of file pr-output.cc.
References d, and octave_print_internal().
|
inline |
Definition at line 194 of file pr-output.h.
References octave_print_internal().
|
extern |
Definition at line 2712 of file pr-output.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::dims(), increment_index(), Array< T, Alloc >::index(), Array< T, Alloc >::isempty(), Array< T, Alloc >::ndims(), Array< T, Alloc >::numel(), ra_idx, Array< T, Alloc >::rows(), and Vcompact_format.
|
extern |
Definition at line 2607 of file pr-output.cc.
References octave_print_internal().
|
extern |
Definition at line 2616 of file pr-output.cc.
References Array< T, Alloc >::ndims(), octave_print_internal(), and print_nd_array().
|
extern |
Definition at line 3199 of file pr-output.cc.
References error().
|
extern |
Definition at line 2636 of file pr-output.cc.
References charMatrix::row_as_string(), and Array< T, Alloc >::rows().
|
extern |
Definition at line 2683 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
|
inline |
Definition at line 258 of file pr-output.h.
References make_format(), and octave_print_internal().
|
extern |
Definition at line 2490 of file pr-output.cc.
|
extern |
Definition at line 2476 of file pr-output.cc.
|
extern |
Definition at line 2408 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
|
extern |
Definition at line 2462 of file pr-output.cc.
|
inline |
Definition at line 498 of file pr-output.h.
References octave_print_internal().
|
extern |
Definition at line 2943 of file pr-output.cc.
|
extern |
Definition at line 2945 of file pr-output.cc.
|
extern |
Definition at line 2947 of file pr-output.cc.
|
extern |
Definition at line 2941 of file pr-output.cc.
|
extern |
Definition at line 2944 of file pr-output.cc.
|
extern |
Definition at line 2946 of file pr-output.cc.
|
extern |
Definition at line 2948 of file pr-output.cc.
References Array< T, Alloc >::cols(), increment_index(), dim_vector::numel(), octave_print_internal_template(), ra_idx, Array< T, Alloc >::rows(), and Vcompact_format.
|
extern |
Definition at line 2942 of file pr-output.cc.
|
extern |
Definition at line 1774 of file pr-output.cc.
References d, and octave_print_internal().
Referenced by octave_base_diag< DMT, MT >::edit_display(), octave_base_int_matrix< T >::edit_display(), octave_base_int_scalar< T >::edit_display(), octave_base_matrix< MT >::edit_display(), octave_base_scalar< ST >::edit_display(), octave_base_sparse< T >::edit_display(), octave_perm_matrix::edit_display(), ov_range< T >::edit_display(), Fqz(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_print_internal(), ov_range< T >::print_raw(), octave_base_diag< DMT, MT >::print_raw(), octave_base_int_matrix< T >::print_raw(), octave_base_sparse< T >::print_raw(), octave_bool_matrix::print_raw(), octave_char_matrix::print_raw(), octave_complex_matrix::print_raw(), octave_float_complex_matrix::print_raw(), octave_float_matrix::print_raw(), octave_perm_matrix::print_raw(), ov_range< T >::print_raw(), octave_matrix::print_raw(), octave_char_matrix_str::print_raw(), octave_base_diag< DMT, MT >::short_disp(), octave_base_matrix< MT >::short_disp(), octave_base_scalar< ST >::short_disp(), and octave_perm_matrix::short_disp().
|
extern |
Definition at line 1787 of file pr-output.cc.
References error().
|
extern |
Definition at line 2260 of file pr-output.cc.
|
extern |
Definition at line 2277 of file pr-output.cc.
|
extern |
Definition at line 1794 of file pr-output.cc.
References d.
|
extern |
Definition at line 1811 of file pr-output.cc.
References d.
|
inline |
Definition at line 269 of file pr-output.h.
References make_format(), and octave_print_internal().
|
extern |
Definition at line 2497 of file pr-output.cc.
|
extern |
Definition at line 2483 of file pr-output.cc.
|
extern |
Definition at line 2427 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
|
extern |
Definition at line 2469 of file pr-output.cc.
|
extern |
Definition at line 2455 of file pr-output.cc.
|
extern |
Definition at line 2222 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
|
extern |
Definition at line 3191 of file pr-output.cc.
|
extern |
Definition at line 3193 of file pr-output.cc.
|
extern |
Definition at line 3195 of file pr-output.cc.
|
extern |
Definition at line 3189 of file pr-output.cc.
|
extern |
Definition at line 3192 of file pr-output.cc.
|
extern |
Definition at line 3194 of file pr-output.cc.
|
extern |
Definition at line 3196 of file pr-output.cc.
|
extern |
Definition at line 3190 of file pr-output.cc.
|
extern |
Definition at line 2448 of file pr-output.cc.
|
extern |
Definition at line 2204 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
|
extern |
Definition at line 2504 of file pr-output.cc.
References make_format(), and float_display_format::scale_factor().
|
inline |
Definition at line 419 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 445 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 471 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 393 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 432 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 458 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 484 of file pr-output.h.
References octave_print_internal().
|
inline |
Definition at line 406 of file pr-output.h.
References octave_print_internal().
|
extern |
Definition at line 3205 of file pr-output.cc.
References error().
|
extern |
Definition at line 2294 of file pr-output.cc.
References PermMatrix::col_perm_vec(), PermMatrix::columns(), PermMatrix::rows(), and Vcompact_format.
|
extern |
Definition at line 2703 of file pr-output.cc.
References octave_print_internal().
Definition at line 206 of file pr-output.h.
References d, make_format(), and octave_print_internal().
Definition at line 217 of file pr-output.h.
References d, make_format(), and octave_print_internal().
|
extern |
Definition at line 174 of file pr-output.cc.
|
extern |
Definition at line 178 of file pr-output.cc.
|
extern |
Definition at line 182 of file pr-output.cc.
|
extern |
Definition at line 102 of file pr-output.cc.
Referenced by Fformat(), octave_print_internal(), octave_print_internal(), octave_print_internal(), octave_base_value::print_name_tag(), ov_range< T >::print_name_tag(), octave_struct::print_name_tag(), octave_scalar_struct::print_name_tag(), octave_classdef::print_raw(), octave_struct::print_raw(), and octave_base_value::print_with_name().
|
extern |
Definition at line 71 of file pr-output.cc.
Referenced by Fprint_empty_dimensions(), and octave_cell::print_raw().