#include <cmath>#include <iomanip>#include <limits>#include <list>#include <sstream>#include <string>#include "Array-util.h"#include "CMatrix.h"#include "Range.h"#include "cmd-edit.h"#include "dMatrix.h"#include "mach-info.h"#include "mappers.h"#include "oct-cmplx.h"#include "oct-string.h"#include "quit.h"#include "Cell.h"#include "defun.h"#include "error.h"#include "errwarn.h"#include "interpreter.h"#include "ovl.h"#include "oct-stream.h"#include "octave-preserve-stream-state.h"#include "pager.h"#include "pr-flt-fmt.h"#include "pr-output.h"#include "sysdep.h"#include "unwind-prot.h"#include "utils.h"#include "variables.h"Go to the source code of this file.
Macros | |
| #define | INSTANTIATE_ABS(T) template T abs (T) |
| #define | MAKE_INT_MATRIX_FORMAT(TYPE) |
| #define | MAKE_INT_SCALAR_FORMAT(TYPE) |
| #define | PRINT_CHAR_BITS(os, c) |
| #define | PRINT_CHAR_BITS_SWAPPED(os, c) |
| #define | PRINT_CONV(T1, T2) |
| #define | PRINT_INT_ARRAY_INTERNAL(TYPE) |
| #define | PRINT_INT_SCALAR_INTERNAL(TYPE) |
| #define | SPECIALIZE_UABS(T) |
Functions | |
| template int16_t | abs (int16_t) |
| template int32_t | abs (int32_t) |
| template int64_t | abs (int64_t) |
| template int8_t | abs (int8_t) |
| template<> | |
| uint16_t | abs (uint16_t x) |
| template<> | |
| uint32_t | abs (uint32_t x) |
| template<> | |
| uint64_t | abs (uint64_t x) |
| template<> | |
| uint8_t | abs (uint8_t x) |
| octave_value_list | Fdisp (const octave_value_list &args, int nargout) |
| octave_value_list | Fdisplay (octave::interpreter &interp, const octave_value_list &args, int) |
| octave_value_list | Ffdisp (octave::interpreter &interp, const octave_value_list &args, int) |
| octave_value_list | Ffixed_point_format (const octave_value_list &args, int nargout) |
| octave_value_list | Fformat (const octave_value_list &args, int nargout) |
| octave_value_list | Fprint_empty_dimensions (const octave_value_list &args, int nargout) |
| octave_value_list | Frats (const octave_value_list &args, int) |
| octave_value_list | Fsplit_long_rows (const octave_value_list &args, int nargout) |
| template<typename T > | |
| float_display_format | make_complex_scalar_format (const std::complex< T > &c) |
| template<> | |
| float_display_format | make_format (const boolNDArray &) |
| template<> | |
| float_display_format | make_format (const ComplexMatrix &cm) |
| 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 &cm) |
| 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_int< int16_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< int32_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< int64_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< int8_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< uint16_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< uint32_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< uint64_t > &val) |
| template<> | |
| float_display_format | make_format (const octave_int< uint8_t > &val) |
| 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_scalar_format (const T &val) |
| void | octave_print_internal (std::ostream &, const Cell &, bool, int, bool) |
| void | octave_print_internal (std::ostream &, const float_display_format &, char, bool) |
| void | octave_print_internal (std::ostream &, const octave_value &, bool) |
| void | octave_print_internal (std::ostream &os, bool d, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const Array< std::string > &nda, bool pr_as_read_syntax, int) |
| void | octave_print_internal (std::ostream &os, const boolMatrix &bm, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const boolNDArray &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const charMatrix &chm, bool pr_as_read_syntax, int, bool pr_as_string) |
| void | octave_print_internal (std::ostream &os, const charNDArray &nda, bool pr_as_read_syntax, int extra_indent, bool pr_as_string) |
| void | octave_print_internal (std::ostream &os, const ComplexDiagMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const ComplexMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const ComplexNDArray &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const DiagMatrix &m, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const Complex &c, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const FloatComplex &c, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int16_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int32_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int64_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int8_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint16_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint32_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint64_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint8_t > &val, bool dummy) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, double d, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const float_display_format &fmt, float d, bool pr_as_read_syntax) |
| void | octave_print_internal (std::ostream &os, const FloatComplexDiagMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const FloatComplexMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const FloatComplexNDArray &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const FloatDiagMatrix &m, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const FloatMatrix &m, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const FloatNDArray &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_int16 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_int32 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_int64 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint16 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint32 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint64 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint8 > &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const Matrix &m, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const NDArray &nda, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const octave::range< double > &r, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const PermMatrix &m, bool pr_as_read_syntax, int extra_indent) |
| void | octave_print_internal (std::ostream &os, const std::string &s, bool pr_as_read_syntax, int extra_indent) |
| template<typename T > | |
| void | octave_print_internal_template (std::ostream &os, const float_display_format &fmt, const octave_int< T > &val, bool) |
| 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) |
| template void | pr_int (std::ostream &, const octave_int16 &, int) |
| template void | pr_int (std::ostream &, const octave_int32 &, int) |
| template void | pr_int (std::ostream &, const octave_int64 &, int) |
| template void | pr_int (std::ostream &, const octave_int8 &, int) |
| template void | pr_int (std::ostream &, const octave_uint16 &, int) |
| template void | pr_int (std::ostream &, const octave_uint32 &, int) |
| template void | pr_int (std::ostream &, const octave_uint64 &, int) |
| template void | pr_int (std::ostream &, const octave_uint8 &, int) |
| template<typename NDA_T , typename ELT_T , typename MAT_T > | |
| void | print_nd_array (std::ostream &os, const NDA_T &nda, bool pr_as_read_syntax) |
Variables | |
| bool | Vcompact_format = false |
| bool | Vprint_empty_dimensions = true |
| #define INSTANTIATE_ABS | ( | T | ) | template T abs (T) |
Definition at line 1695 of file pr-output.cc.
| #define MAKE_INT_MATRIX_FORMAT | ( | TYPE | ) |
Definition at line 1716 of file pr-output.cc.
| #define MAKE_INT_SCALAR_FORMAT | ( | TYPE | ) |
Definition at line 1749 of file pr-output.cc.
| #define PRINT_CHAR_BITS | ( | os, | |
| c | |||
| ) |
Definition at line 1368 of file pr-output.cc.
| #define PRINT_CHAR_BITS_SWAPPED | ( | os, | |
| c | |||
| ) |
Definition at line 1386 of file pr-output.cc.
| #define PRINT_CONV | ( | T1, | |
| T2 | |||
| ) |
Definition at line 2806 of file pr-output.cc.
| #define PRINT_INT_ARRAY_INTERNAL | ( | TYPE | ) |
Definition at line 3181 of file pr-output.cc.
| #define PRINT_INT_SCALAR_INTERNAL | ( | TYPE | ) |
Definition at line 2932 of file pr-output.cc.
| #define SPECIALIZE_UABS | ( | T | ) |
Definition at line 1703 of file pr-output.cc.
| template int16_t abs | ( | int16_t | ) |
| template int32_t abs | ( | int32_t | ) |
| template int64_t abs | ( | int64_t | ) |
| template int8_t abs | ( | int8_t | ) |
Referenced by ColumnVector::~ColumnVector(), ComplexColumnVector::~ComplexColumnVector(), ComplexNDArray::~ComplexNDArray(), FloatColumnVector::~FloatColumnVector(), FloatComplexNDArray::~FloatComplexNDArray(), FloatNDArray::~FloatNDArray(), NDArray::~NDArray(), Fabs(), Fordqz(), octave_complex::map(), octave_complex_matrix::map(), octave_sparse_complex_matrix::map(), octave_float_scalar::map(), octave_float_complex::map(), octave_float_complex_matrix::map(), octave_float_matrix::map(), octave_matrix::map(), octave_sparse_matrix::map(), octave_scalar::map(), max(), min(), min(), FloatComplexMatrix::operator!(), and SparseComplexMatrix::solve().
|
inline |
Definition at line 1712 of file pr-output.cc.
|
inline |
Definition at line 1713 of file pr-output.cc.
|
inline |
Definition at line 1714 of file pr-output.cc.
|
inline |
Definition at line 1711 of file pr-output.cc.
| octave_value_list Fdisp | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 3360 of file pr-output.cc.
References octave_value::is_dq_string(), octave_stdout, octave_value::print(), and print_usage().
| octave_value_list Fdisplay | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 3500 of file pr-output.cc.
References octave_stdout, ovl(), octave_value::print_name_tag(), print_usage(), and valid_identifier().
| octave_value_list Ffdisp | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | |||
| ) |
Definition at line 3401 of file pr-output.cc.
References error(), stream_list::get_file_number(), stream_list::lookup(), ovl(), stream::preferred_output_stream(), octave_value::print(), and print_usage().
| octave_value_list Ffixed_point_format | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 4160 of file pr-output.cc.
References set_internal_variable().
| octave_value_list Fformat | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 4033 of file pr-output.cc.
References Vcompact_format, and warning().
| octave_value_list Fprint_empty_dimensions | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 4191 of file pr-output.cc.
References set_internal_variable(), and Vprint_empty_dimensions.
| octave_value_list Frats | ( | const octave_value_list & | args, |
| int | |||
| ) |
Definition at line 3238 of file pr-output.cc.
References error(), octave_value::isempty(), octave_value::isnumeric(), octave_value::ndims(), octave_value::numel(), ovl(), octave_value::print(), print_usage(), action_container::protect_var(), octave_value::reshape(), and octave_value::rows().
| octave_value_list Fsplit_long_rows | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 4231 of file pr-output.cc.
References set_internal_variable().
| float_display_format make_complex_scalar_format | ( | const std::complex< T > & | c | ) |
Definition at line 892 of file pr-output.cc.
Referenced by make_format(), and make_format().
| float_display_format make_format | ( | const boolNDArray & | nda | ) |
Definition at line 1192 of file pr-output.cc.
| float_display_format make_format | ( | const ComplexMatrix & | cm | ) |
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 & | cm | ) |
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_int< int16_t > & | val | ) |
Definition at line 1766 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< int32_t > & | val | ) |
Definition at line 1768 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< int64_t > & | val | ) |
Definition at line 1770 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< int8_t > & | val | ) |
Definition at line 1764 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< uint16_t > & | val | ) |
Definition at line 1767 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< uint32_t > & | val | ) |
Definition at line 1769 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< uint64_t > & | val | ) |
Definition at line 1771 of file pr-output.cc.
| float_display_format make_format | ( | const octave_int< uint8_t > & | val | ) |
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_scalar_format | ( | const T & | val | ) |
Definition at line 507 of file pr-output.cc.
Referenced by make_format(), and make_format().
| void octave_print_internal | ( | std::ostream & | os, |
| const Cell & | cell, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent, | ||
| bool | pr_as_string | ||
| ) |
Definition at line 3199 of file pr-output.cc.
References error().
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| char | c, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 1787 of file pr-output.cc.
References error().
| void octave_print_internal | ( | std::ostream & | os, |
| const octave_value & | ov, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 3205 of file pr-output.cc.
References error().
Definition at line 1781 of file pr-output.cc.
References d, and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const Array< std::string > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
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.
| void octave_print_internal | ( | std::ostream & | os, |
| const boolMatrix & | bm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2607 of file pr-output.cc.
References octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const boolNDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2616 of file pr-output.cc.
References Array< T, Alloc >::ndims(), octave_print_internal(), and print_nd_array().
| void octave_print_internal | ( | std::ostream & | os, |
| const charMatrix & | chm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent, | ||
| bool | pr_as_string | ||
| ) |
Definition at line 2636 of file pr-output.cc.
References charMatrix::row_as_string(), and Array< T, Alloc >::rows().
| void octave_print_internal | ( | std::ostream & | os, |
| const charNDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent, | ||
| bool | pr_as_string | ||
| ) |
Definition at line 2683 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const ComplexDiagMatrix & | cm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2490 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const ComplexMatrix & | cm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2476 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const ComplexNDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2408 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const DiagMatrix & | m, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2462 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| bool | d, | ||
| bool | pr_as_read_syntax | ||
| ) |
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 2260 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const FloatComplex & | c, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 2277 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< int16_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2943 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< int32_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2945 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< int64_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2947 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< int8_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2941 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< uint16_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2944 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< uint32_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2946 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< uint64_t > & | val, | ||
| bool | dummy | ||
| ) |
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.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< uint8_t > & | val, | ||
| bool | dummy | ||
| ) |
Definition at line 2942 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| double | d, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 1794 of file pr-output.cc.
References d.
| void octave_print_internal | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| float | d, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 1811 of file pr-output.cc.
References d.
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatComplexDiagMatrix & | cm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2497 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatComplexMatrix & | cm, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2483 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatComplexNDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2427 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatDiagMatrix & | m, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2469 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatMatrix & | m, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2455 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const FloatNDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2222 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_int16 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3191 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_int32 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3193 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_int64 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3195 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_int8 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3189 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_uint16 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3192 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_uint32 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3194 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_uint64 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3196 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const intNDArray< octave_uint8 > & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 3190 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const Matrix & | m, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2448 of file pr-output.cc.
| void octave_print_internal | ( | std::ostream & | os, |
| const NDArray & | nda, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2204 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
| void octave_print_internal | ( | std::ostream & | os, |
| const octave::range< double > & | r, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2504 of file pr-output.cc.
References make_format(), and float_display_format::scale_factor().
| void octave_print_internal | ( | std::ostream & | os, |
| const PermMatrix & | m, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2294 of file pr-output.cc.
References PermMatrix::col_perm_vec(), PermMatrix::columns(), PermMatrix::rows(), and Vcompact_format.
| void octave_print_internal | ( | std::ostream & | os, |
| const std::string & | s, | ||
| bool | pr_as_read_syntax, | ||
| int | extra_indent | ||
| ) |
Definition at line 2703 of file pr-output.cc.
References octave_print_internal().
| void octave_print_internal_template | ( | std::ostream & | os, |
| const float_display_format & | fmt, | ||
| const octave_int< T > & | val, | ||
| bool | |||
| ) |
Definition at line 2913 of file pr-output.cc.
References float_display_format::real_format(), and float_format::width().
Referenced by octave_print_internal().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const pr_engineering_float< T > & | pef | ||
| ) |
Definition at line 186 of file pr-output.cc.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const pr_formatted_float< T > & | pff | ||
| ) |
Definition at line 227 of file pr-output.cc.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const pr_rational_float< T > & | prf | ||
| ) |
Definition at line 248 of file pr-output.cc.
| template void pr_int | ( | std::ostream & | , |
| const octave_int16 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_int32 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_int64 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_int8 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_uint16 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_uint32 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_uint64 & | , | ||
| int | |||
| ) |
| template void pr_int | ( | std::ostream & | , |
| const octave_uint8 & | , | ||
| int | |||
| ) |
| void print_nd_array | ( | std::ostream & | os, |
| const NDA_T & | nda, | ||
| bool | pr_as_read_syntax | ||
| ) |
Definition at line 2129 of file pr-output.cc.
References octave_value::print_name_tag(), octave_value::print_raw(), octave_value::print_with_name(), and ra_idx.
Referenced by octave_print_internal().
| bool Vcompact_format = false |
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().
| bool Vprint_empty_dimensions = true |
Definition at line 71 of file pr-output.cc.
Referenced by Fprint_empty_dimensions(), and octave_cell::print_raw().