GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Functions | |
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, char c, bool pr_as_read_syntax=false) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, double d, bool pr_as_read_syntax=false) |
OCTINTERP_API 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 DiagMatrix &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 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 Complex &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 octave_int< int8_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_int< int16_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< int32_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< int64_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) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const octave_value &ov, bool pr_as_read_syntax=false) |
Variables | |
bool | Vcompact_format |
bool | Vprint_empty_dimensions |
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
bool | d, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 2584 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
char | c, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 1702 of file pr-output.cc.
References panic_impossible.
Referenced by Fqz(), octave_print_internal(), print_DASPK_options(), print_DASRT_options(), print_DASSL_options(), print_LSODE_options(), octave_base_int_matrix< T >::print_raw(), octave_fcn_inline::print_raw(), octave_base_scalar< ST >::print_raw(), octave_char_matrix_str::print_raw(), octave_char_matrix::print_raw(), octave_base_sparse< T >::print_raw(), octave_fcn_handle::print_raw(), octave_float_complex_matrix::print_raw(), octave_complex_matrix::print_raw(), octave_float_matrix::print_raw(), octave_base_diag< DMT, MT >::print_raw(), octave_perm_matrix::print_raw(), octave_bool_matrix::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_base_scalar< ST >::short_disp(), and octave_base_matrix< MT >::short_disp().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
double | d, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 1708 of file pr-output.cc.
References d, free_format, plus_format, pr_float(), pr_plus_format(), and set_format().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
float | d, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 2592 of file pr-output.cc.
References octave_print_internal().
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 1726 of file pr-output.cc.
References Array< T >::columns(), free_format, plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), Array< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), and Vsplit_long_rows.
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 1862 of file pr-output.cc.
References DiagArray2< T >::columns(), MDiagArray2< T >::diag(), free_format, plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), DiagArray2< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
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 2598 of file pr-output.cc.
References octave_print_internal().
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 2605 of file pr-output.cc.
References octave_print_internal().
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 2086 of file pr-output.cc.
References NDArray::matrix_value(), Array< T >::ndims(), and octave_print_internal().
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 2612 of file pr-output.cc.
References octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const Complex & | c, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 2124 of file pr-output.cc.
References free_format, plus_format, pr_complex(), pr_plus_format(), and set_format().
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 2142 of file pr-output.cc.
References bank_format, bit_format, Array< T >::columns(), free_format, plus_format, pr_col_num_header(), pr_complex(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), rat_format, Array< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), and Vsplit_long_rows.
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 2280 of file pr-output.cc.
References bank_format, bit_format, DiagArray2< T >::columns(), MDiagArray2< T >::diag(), free_format, plus_format, pr_col_num_header(), pr_complex(), pr_plus_format(), pr_scale_header(), print_empty_matrix(), rat_format, DiagArray2< T >::rows(), scale(), set_format(), command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
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 2626 of file pr-output.cc.
References octave_print_internal().
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 2634 of file pr-output.cc.
References octave_print_internal().
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 2565 of file pr-output.cc.
References ComplexNDArray::matrix_value(), Array< T >::ndims(), and octave_print_internal().
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 2642 of file pr-output.cc.
References octave_print_internal().
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 2429 of file pr-output.cc.
References PermMatrix::columns(), free_format, PermMatrix::is_col_perm(), plus_format, pr_col_num_header(), pr_plus_format(), print_empty_matrix(), PermMatrix::pvec(), PermMatrix::rows(), 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 2650 of file pr-output.cc.
References Range::base(), free_format, Range::inc(), Range::limit(), Range::nelem(), plus_format, pr_col_num_header(), pr_float(), pr_plus_format(), pr_scale_header(), scale(), set_format(), command_editor::terminal_cols(), 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 2765 of file pr-output.cc.
References octave_print_internal().
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 2774 of file pr-output.cc.
References boolNDArray::matrix_value(), Array< T >::ndims(), octave_print_internal(), 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 2794 of file pr-output.cc.
References charMatrix::row_as_string(), Array< T >::rows(), 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 2841 of file pr-output.cc.
References charNDArray::matrix_value(), Array< T >::ndims(), and octave_print_internal().
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 2861 of file pr-output.cc.
References octave_print_internal().
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 2870 of file pr-output.cc.
References Array< T >::dims(), increment_index(), Array< T >::index(), Array< T >::is_empty(), Array< T >::length(), Array< T >::ndims(), print_empty_nd_array(), 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 3374 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< int8_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3128 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< uint8_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3129 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< int16_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3130 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< uint16_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3131 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< int32_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3132 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< uint32_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3133 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< int64_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3134 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_int< uint64_t > & | sa, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3135 of file pr-output.cc.
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 3384 of file pr-output.cc.
References panic_impossible.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const octave_value & | ov, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 3390 of file pr-output.cc.
References panic_impossible.
bool Vcompact_format |
Definition at line 106 of file pr-output.cc.
Referenced by init_format_state(), octave_print_internal(), octave_print_internal_template(), pr_col_num_header(), pr_scale_header(), octave_class::print_name_tag(), octave_range::print_name_tag(), octave_base_value::print_name_tag(), octave_scalar_struct::print_raw(), octave_base_value::print_with_name(), and set_format_style().
bool Vprint_empty_dimensions |
Definition at line 75 of file pr-output.cc.
Referenced by print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().