GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Classes | |
singleton | Array< T > |
Handles the reference counting for all the derived classes. More... | |
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 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) |
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 2595 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 1715 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 1721 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 2603 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 1739 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 1875 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 2609 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 2616 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 2099 of file pr-output.cc.
References 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 2623 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 2137 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 FloatComplex & | c, | ||
bool | pr_as_read_syntax = false |
||
) |
Definition at line 2630 of file pr-output.cc.
References octave_print_internal().
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 2155 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 2293 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 2637 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 2645 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 2576 of file pr-output.cc.
References 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 2653 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 2442 of file pr-output.cc.
References PermMatrix::col_perm_vec(), PermMatrix::columns(), free_format, plus_format, pr_col_num_header(), pr_plus_format(), print_empty_matrix(), 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 2661 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 2776 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 2785 of file pr-output.cc.
References 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 2805 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 2852 of file pr-output.cc.
References 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 2872 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 2881 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(), ra_idx, 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 3385 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 3386 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 3387 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 3388 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 3389 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 3390 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 3391 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 3392 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 3139 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 3140 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 3141 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 3142 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 3143 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 3144 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 3145 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 3146 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 3395 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 3401 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().