#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 "lo-mappers.h"
#include "mach-info.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 "ovl.h"
#include "oct-stream.h"
#include "octave-preserve-stream-state.h"
#include "pager.h"
#include "parse.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.
Classes | |
union | equiv< T > |
class | octave_print_conv< T > |
class | octave_print_conv< octave_int8 > |
class | octave_print_conv< octave_uint8 > |
struct | pr_output_traits< typename > |
struct | pr_output_traits< double > |
struct | pr_output_traits< float > |
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<typename T > | |
static T | abs (T x) |
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) |
static int | calc_scale_exp (const int &x) |
template<typename T > | |
static int | engineering_exponent (T x) |
OCTAVE_EXPORT octave_value_list | Fdisp (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fdisplay (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Ffdisp (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Ffixed_point_format (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fformat (const octave_value_list &args, int nargout) |
static std::string | format_string ("short") |
OCTAVE_EXPORT octave_value_list | Fprint_empty_dimensions (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Frats (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fsplit_long_rows (const octave_value_list &args, int nargout) |
static int | get_column_width (const float_display_format &fmt) |
static void | init_format_state (void) |
template<typename T > | |
static float_display_format | make_complex_format (int x_max, int x_min, int r_x, bool inf_or_nan, int int_only) |
template<typename CMT > | |
static float_display_format | make_complex_matrix_format (const CMT &cm) |
template<typename T > | |
static float_display_format | make_complex_matrix_format (int x_max, int x_min, int r_x_max, int r_x_min, bool inf_or_nan, int int_or_inf_or_nan) |
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 MT > | |
static float_display_format | make_matrix_format (const MT &m) |
template<typename T > | |
static float_display_format | make_range_format (int x_max, int x_min, int all_ints) |
template<typename T > | |
static float_display_format | make_real_format (int digits, bool inf_or_nan, bool int_only) |
template<typename T > | |
static float_display_format | make_real_matrix_format (int x_max, int x_min, bool inf_or_nan, int int_or_inf_or_nan) |
template<typename T > | |
float_display_format | make_scalar_format (const T &val) |
template<typename T > | |
static int | num_digits (T x) |
template<typename DMT > | |
static void | octave_print_diag_matrix_internal (std::ostream &os, const DMT &m, bool pr_as_read_syntax, int extra_indent) |
template<typename MT > | |
static void | octave_print_free (std::ostream &os, const MT &m, bool pr_as_read_syntax) |
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) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_int16 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_int32 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_int64 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint16 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint32 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const intNDArray< octave_uint64 > &nda, bool pr_as_read_syntax, int extra_indent) |
OCTINTERP_API 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 > | |
static void | octave_print_internal_template (std::ostream &os, const intNDArray< T > &nda, bool pr_as_read_syntax, int extra_indent) |
template<typename MT > | |
static void | octave_print_matrix_internal (std::ostream &os, const MT &m, bool pr_as_read_syntax, int extra_indent) |
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<typename T > | |
static void | pr_any_float (std::ostream &os, const float_format &fmt, T val) |
static void | pr_col_num_header (std::ostream &os, octave_idx_type total_width, int max_width, octave_idx_type lim, octave_idx_type col, int extra_indent) |
template<typename T > | |
static void | pr_float (std::ostream &os, const float_display_format &fmt, const std::complex< T > &cval) |
template<typename T > | |
static void | pr_float (std::ostream &os, const float_display_format &fmt, T val) |
template<typename T > | |
static void | pr_imag_float (std::ostream &os, const float_display_format &fmt, T val) |
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 T > | |
static void | pr_int (std::ostream &os, const T &d, int fw=0) |
template<typename T > | |
static T | pr_max_internal (const MArray< T > &m) |
template<typename T > | |
static T | pr_min_internal (const MArray< T > &m) |
template<typename T > | |
static void | pr_plus_format (std::ostream &os, const std::complex< T > &c) |
template<typename T > | |
static void | pr_plus_format (std::ostream &os, const T &val) |
template<typename MT > | |
static void | pr_plus_format_matrix (std::ostream &os, const MT &m) |
static void | pr_scale_header (std::ostream &os, double scale) |
static void | print_empty_matrix (std::ostream &os, octave_idx_type nr, octave_idx_type nc, bool pr_as_read_syntax) |
static void | print_empty_nd_array (std::ostream &os, const dim_vector &dims, bool pr_as_read_syntax) |
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) |
static void | set_format_style (int argc, const string_vector &argv) |
Variables | |
static bool | bank_format = false |
static int | bit_format = 0 |
static bool | free_format = false |
static int | hex_format = 0 |
static bool | plus_format = false |
static std::string | plus_format_chars = "+- " |
static bool | print_e = false |
static bool | print_eng = false |
static bool | print_g = false |
static bool | rat_format = false |
static int | rat_string_len = -1 |
static bool | uppercase_format = false |
bool | Vcompact_format = false |
static bool | Vfixed_point_format = false |
bool | Vprint_empty_dimensions = true |
static bool | Vsplit_long_rows = true |
#define INSTANTIATE_ABS | ( | T | ) | template T abs (T) |
Definition at line 1683 of file pr-output.cc.
#define MAKE_INT_MATRIX_FORMAT | ( | TYPE | ) |
Definition at line 1704 of file pr-output.cc.
#define MAKE_INT_SCALAR_FORMAT | ( | TYPE | ) |
Definition at line 1737 of file pr-output.cc.
#define PRINT_CHAR_BITS | ( | os, | |
c | |||
) |
Definition at line 1356 of file pr-output.cc.
#define PRINT_CHAR_BITS_SWAPPED | ( | os, | |
c | |||
) |
Definition at line 1374 of file pr-output.cc.
#define PRINT_CONV | ( | T1, | |
T2 | |||
) |
Definition at line 2794 of file pr-output.cc.
#define PRINT_INT_ARRAY_INTERNAL | ( | TYPE | ) |
Definition at line 3169 of file pr-output.cc.
#define PRINT_INT_SCALAR_INTERNAL | ( | TYPE | ) |
Definition at line 2920 of file pr-output.cc.
#define SPECIALIZE_UABS | ( | T | ) |
Definition at line 1691 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 | ) |
|
inlinestatic |
Definition at line 1678 of file pr-output.cc.
References x.
Referenced by gsvd< T >::gsvd(), SparseComplexMatrix::abs(), norm_accumulator_2< R >::accum(), norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), norm_accumulator_1< R >::accum(), norm_accumulator_inf< R >::accum(), norm_accumulator_minf< R >::accum(), alngam(), alnrel(), SparseComplexMatrix::bsolve(), cacon(), cairy(), casyi(), cbesh(), cbesi(), cbesj(), cbesy(), cbiry(), cbknu(), cbuni(), cbunk(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), csevl(), cuchk(), cunhj(), cuni1(), cuni2(), cunik(), cunk1(), cunk2(), cuoik(), d9gmit(), d9lgic(), d9lgit(), dcnstr(), dcsevl(), ddaini(), ddajac(), ddanrm(), ddaspk(), ddasrt(), ddassl(), ddastp(), ddawts(), ddstp(), ddwnrm(), dewset(), dgamlm(), dgamma(), dgamr(), dheqr(), Array< T, Alloc >::diag(), Sparse< T, Alloc >::diag(), dintdy(), SparseComplexMatrix::dinverse(), dlngam(), dlnrel(), dlsode(), dmatd(), dpchim(), dprepj(), dpsifn(), dsolsy(), SparseComplexMatrix::dsolve(), dspigm(), dstode(), EigsComplexNonSymmetricFunc(), EigsRealNonSymmetricFunc(), EigsRealSymmetricFunc(), elem_dual_p(), expm1(), extended_gcd(), F__betainc__(), F__expint__(), F__gammainc__(), Fabs(), Fordqz(), Fquadcc(), gamlim(), gamln(), gamma(), gamr(), genmul(), higham_subp(), ichol_t(), ignbin(), ignpoi(), ilu_crout(), ilu_tp(), initds(), inits(), is_opaque(), jcobi(), log2(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), magform(), 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(), SparseComplexMatrix::max(), max(), ComplexColumnVector::max(), ComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::max(), SparseComplexMatrix::min(), min(), ComplexColumnVector::min(), ComplexRowVector::min(), FloatComplexColumnVector::min(), FloatComplexRowVector::min(), mod(), null(), octave_print_internal_template(), pchim(), ComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), psifn(), qagie(), qagpe(), qelg(), qk15i(), qk21(), qp(), r9gmit(), r9lgic(), r9lgit(), rational_approx(), ComplexDiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), rem(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), TerminalView::scrollImage(), select_dig(), opengl_renderer::setup_opengl_transformation(), sewset(), sgamma(), signum(), simple_gcd(), sintdy(), slsode(), sprepj(), ssolsy(), sstode(), teq(), SparseComplexMatrix::tinverse(), updatePalette(), SparseComplexMatrix::utsolve(), xabs(), xclange(), xermsg(), xsetf(), xteq(), xzlange(), and zbesi().
|
inline |
Definition at line 1700 of file pr-output.cc.
|
inline |
Definition at line 1701 of file pr-output.cc.
|
inline |
Definition at line 1702 of file pr-output.cc.
|
inline |
Definition at line 1699 of file pr-output.cc.
|
static |
Definition at line 117 of file pr-output.cc.
Referenced by make_complex_matrix_format(), make_range_format(), and make_real_matrix_format().
|
inlinestatic |
Definition at line 141 of file pr-output.cc.
Referenced by pr_engineering_float< T >::exponent(), and num_digits().
OCTAVE_EXPORT octave_value_list Fdisp | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3348 of file pr-output.cc.
References octave_value::is_dq_string(), octave_stdout, octave_value(), octave_value::print(), and print_usage().
OCTAVE_EXPORT octave_value_list Fdisplay | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 3488 of file pr-output.cc.
References feval(), octave_stdout, ovl(), octave_value::print_name_tag(), print_usage(), and valid_identifier().
OCTAVE_EXPORT octave_value_list Ffdisp | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 3389 of file pr-output.cc.
References error(), stream_list::get_file_number(), stream_list::lookup(), stream::output_stream(), ovl(), octave_value::print(), and print_usage().
OCTAVE_EXPORT octave_value_list Ffixed_point_format | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4126 of file pr-output.cc.
References set_internal_variable(), and Vfixed_point_format.
Referenced by interpreter::maximum_braindamage().
OCTAVE_EXPORT octave_value_list Fformat | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3999 of file pr-output.cc.
References format_string(), min(), set_format_style(), uppercase_format, Vcompact_format, and warning().
|
static |
Referenced by Fformat(), variable_editor_stack::save(), and set_format_style().
OCTAVE_EXPORT octave_value_list Fprint_empty_dimensions | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4157 of file pr-output.cc.
References set_internal_variable(), and Vprint_empty_dimensions.
Referenced by interpreter::maximum_braindamage().
OCTAVE_EXPORT octave_value_list Frats | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 3226 of file pr-output.cc.
References error(), octave_value::isempty(), octave_value::isnumeric(), m, n, octave_value::ndims(), octave_value::numel(), ovl(), octave_value::print(), print_usage(), action_container::protect_var(), rat_format, rat_string_len, octave_value::reshape(), and octave_value::rows().
OCTAVE_EXPORT octave_value_list Fsplit_long_rows | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 4197 of file pr-output.cc.
References set_internal_variable(), and Vsplit_long_rows.
|
inlinestatic |
Definition at line 1860 of file pr-output.cc.
References bank_format, bit_format, hex_format, float_display_format::imag_format(), rat_format, float_display_format::real_format(), and float_format::width().
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 3561 of file pr-output.cc.
References bank_format, bit_format, free_format, hex_format, plus_format, print_e, print_eng, print_g, and rat_format.
Referenced by set_format_style().
|
inlinestatic |
Definition at line 723 of file pr-output.cc.
References bank_format, bit_format, hex_format, min(), output_precision(), print_e, print_eng, print_g, rat_format, float_format::uppercase(), and uppercase_format.
|
inlinestatic |
Definition at line 1129 of file pr-output.cc.
References free_format, imag(), num_digits(), pr_max_internal(), pr_min_internal(), and real().
|
inlinestatic |
Definition at line 945 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), uppercase_format, and Vfixed_point_format.
Referenced by make_format().
float_display_format make_complex_scalar_format | ( | const std::complex< T > & | c | ) |
Definition at line 891 of file pr-output.cc.
References free_format, isfinite(), isinf(), isnan(), num_digits(), and x_nint().
Referenced by make_format().
float_display_format make_format | ( | const boolNDArray & | nda | ) |
Definition at line 1184 of file pr-output.cc.
float_display_format make_format | ( | const ComplexMatrix & | cm | ) |
Definition at line 1170 of file pr-output.cc.
References make_complex_matrix_format().
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(), octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_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 1177 of file pr-output.cc.
References make_complex_matrix_format().
float_display_format make_format | ( | const FloatMatrix & | m | ) |
Definition at line 716 of file pr-output.cc.
References m, and make_matrix_format().
float_display_format make_format | ( | const intNDArray< octave_int16 > & | nda | ) |
Definition at line 1730 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int32 > & | nda | ) |
Definition at line 1732 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int64 > & | nda | ) |
Definition at line 1734 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int8 > & | nda | ) |
Definition at line 1728 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint16 > & | nda | ) |
Definition at line 1731 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint32 > & | nda | ) |
Definition at line 1733 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint64 > & | nda | ) |
Definition at line 1735 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint8 > & | nda | ) |
Definition at line 1729 of file pr-output.cc.
float_display_format make_format | ( | const Matrix & | m | ) |
Definition at line 709 of file pr-output.cc.
References m, and make_matrix_format().
float_display_format make_format | ( | const octave::range< double > & | r | ) |
Definition at line 1322 of file pr-output.cc.
References free_format, num_digits(), and r.
float_display_format make_format | ( | const octave_int< int16_t > & | val | ) |
Definition at line 1754 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int32_t > & | val | ) |
Definition at line 1756 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int64_t > & | val | ) |
Definition at line 1758 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int8_t > & | val | ) |
Definition at line 1752 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint16_t > & | val | ) |
Definition at line 1755 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint32_t > & | val | ) |
Definition at line 1757 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint64_t > & | val | ) |
Definition at line 1759 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint8_t > & | val | ) |
Definition at line 1753 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().
|
inlinestatic |
Definition at line 681 of file pr-output.cc.
References error_unless(), free_format, m, num_digits(), pr_max_internal(), and pr_min_internal().
Referenced by make_format().
|
inlinestatic |
Definition at line 1191 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), uppercase_format, and Vfixed_point_format.
|
inlinestatic |
Definition at line 394 of file pr-output.cc.
References bank_format, bit_format, hex_format, min(), output_precision(), print_e, print_eng, print_g, rat_format, float_format::uppercase(), and uppercase_format.
|
inlinestatic |
Definition at line 539 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), uppercase_format, and Vfixed_point_format.
float_display_format make_scalar_format | ( | const T & | val | ) |
Definition at line 507 of file pr-output.cc.
References free_format, isinf(), isnan(), num_digits(), and x_nint().
Referenced by make_format().
|
inlinestatic |
Definition at line 164 of file pr-output.cc.
References engineering_exponent(), floor(), print_eng, and x.
Referenced by base_lexer::handle_number(), make_complex_matrix_format(), make_complex_scalar_format(), make_format(), make_matrix_format(), and make_scalar_format().
|
static |
Definition at line 1990 of file pr-output.cc.
References free_format, get_column_width(), m, make_format(), octave_print_free(), plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), print_empty_matrix(), float_display_format::scale_factor(), Vcompact_format, and Vsplit_long_rows.
Referenced by octave_print_internal().
|
inlinestatic |
Definition at line 1817 of file pr-output.cc.
References m.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
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 3187 of file pr-output.cc.
References panic_impossible.
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
char | c, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1775 of file pr-output.cc.
References panic_impossible.
void octave_print_internal | ( | std::ostream & | os, |
const octave_value & | ov, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 3193 of file pr-output.cc.
References panic_impossible.
void octave_print_internal | ( | std::ostream & | os, |
bool | d, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1769 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 2699 of file pr-output.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::dims(), increment_index(), Array< T, Alloc >::index(), Array< T, Alloc >::isempty(), m, Array< T, Alloc >::ndims(), Array< T, Alloc >::numel(), print_empty_nd_array(), 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 2594 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 2603 of file pr-output.cc.
References boolNDArray, 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 2623 of file pr-output.cc.
References charMatrix::row_as_string(), Array< T, Alloc >::rows(), and undo_string_escapes().
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 2670 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 2477 of file pr-output.cc.
References octave_print_diag_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const ComplexMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2463 of file pr-output.cc.
References octave_print_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const ComplexNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2395 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 2449 of file pr-output.cc.
References m, and octave_print_diag_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
bool | d, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1762 of file pr-output.cc.
References d.
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(), print_DASPK_options(), print_DASRT_options(), print_DASSL_options(), print_LSODE_options(), scoped_fcn_handle::print_raw(), base_nested_fcn_handle::print_raw(), class_simple_fcn_handle::print_raw(), simple_fcn_handle::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().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const Complex & | c, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 2247 of file pr-output.cc.
References free_format, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const FloatComplex & | c, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 2264 of file pr-output.cc.
References free_format, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< int16_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2931 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 2933 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 2935 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 2929 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 2932 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 2934 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 2936 of file pr-output.cc.
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< uint8_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2930 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 1782 of file pr-output.cc.
References d, free_format, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
float | d, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1799 of file pr-output.cc.
References d, free_format, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexDiagMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2484 of file pr-output.cc.
References octave_print_diag_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2470 of file pr-output.cc.
References octave_print_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2414 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 2456 of file pr-output.cc.
References m, and octave_print_diag_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const FloatMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2442 of file pr-output.cc.
References m, and octave_print_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const FloatNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2209 of file pr-output.cc.
References Array< T, Alloc >::ndims(), and octave_print_internal().
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_int16 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3179 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_int32 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3181 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_int64 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3183 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_int8 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3177 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_uint16 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3180 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_uint32 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3182 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_uint64 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3184 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const intNDArray< octave_uint8 > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 3178 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 2435 of file pr-output.cc.
References m, and octave_print_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const NDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2191 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 2491 of file pr-output.cc.
References free_format, get_column_width(), make_format(), plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), r, float_display_format::scale_factor(), and Vsplit_long_rows.
void octave_print_internal | ( | std::ostream & | os, |
const PermMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2281 of file pr-output.cc.
References free_format, m, octave_print_free(), plus_format, pr_col_num_header(), pr_plus_format_matrix(), print_empty_matrix(), Vcompact_format, and Vsplit_long_rows.
void octave_print_internal | ( | std::ostream & | os, |
const std::string & | s, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2690 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 2901 of file pr-output.cc.
References free_format, plus_format, pr_int(), pr_plus_format(), float_display_format::real_format(), and float_format::width().
Referenced by octave_print_internal_template().
|
inlinestatic |
Definition at line 2940 of file pr-output.cc.
References abs(), bank_format, bit_format, Array< T, Alloc >::cols(), floor(), free_format, hex_format, increment_index(), m, dim_vector::numel(), octave_print_internal_template(), plus_format, pr_col_num_header(), pr_int(), pr_plus_format(), print_empty_nd_array(), ra_idx, rat_format, Array< T, Alloc >::rows(), Vcompact_format, and Vsplit_long_rows.
|
static |
Definition at line 1875 of file pr-output.cc.
References free_format, get_column_width(), m, make_format(), octave_print_free(), plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), print_empty_matrix(), float_display_format::scale_factor(), and Vsplit_long_rows.
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.
|
inlinestatic |
Definition at line 1394 of file pr-output.cc.
References bit_format, flt_fmt_ieee_big_endian, hex_format, equiv< T >::i, isinf(), isna(), isnan(), native_float_format(), PRINT_CHAR_BITS, PRINT_CHAR_BITS_SWAPPED, print_eng, rat_format, uppercase_format, equiv< T >::val, and float_format::width().
Referenced by pr_float(), and pr_imag_float().
|
inlinestatic |
Definition at line 1627 of file pr-output.cc.
References Vcompact_format, and Vsplit_long_rows.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1540 of file pr-output.cc.
References bank_format, bit_format, hex_format, lo_ieee_signbit, pr_float(), pr_imag_float(), and r.
|
inlinestatic |
Definition at line 1516 of file pr-output.cc.
References pr_any_float(), print_e, print_g, float_display_format::real_format(), scale(), float_display_format::scale_factor(), and Vfixed_point_format.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_matrix_internal(), and pr_float().
|
inlinestatic |
Definition at line 1528 of file pr-output.cc.
References float_display_format::imag_format(), pr_any_float(), print_e, print_g, scale(), float_display_format::scale_factor(), and Vfixed_point_format.
Referenced by pr_float().
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 | |||
) |
|
inlinestatic |
Definition at line 2810 of file pr-output.cc.
References bank_format, bit_format, d, hex_format, PRINT_CHAR_BITS, PRINT_CHAR_BITS_SWAPPED, uppercase_format, and words_big_endian().
Referenced by octave_print_internal_template().
|
inlinestatic |
Definition at line 300 of file pr-output.cc.
References error_unless(), isfinite(), and m.
Referenced by make_complex_matrix_format(), and make_matrix_format().
|
inlinestatic |
Definition at line 333 of file pr-output.cc.
References isfinite(), m, and max().
Referenced by make_complex_matrix_format(), and make_matrix_format().
|
inlinestatic |
Definition at line 2228 of file pr-output.cc.
References pr_plus_format().
|
inlinestatic |
Definition at line 1660 of file pr-output.cc.
References plus_format_chars.
Referenced by octave_print_internal(), octave_print_internal_template(), pr_plus_format(), and pr_plus_format_matrix().
|
inlinestatic |
Definition at line 1840 of file pr-output.cc.
References m, and pr_plus_format().
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1609 of file pr-output.cc.
References left, print_e, print_g, scale(), Vcompact_format, and Vfixed_point_format.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1570 of file pr-output.cc.
References error_unless(), and Vprint_empty_dimensions.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1592 of file pr-output.cc.
References dim_vector::any_zero(), error_unless(), dim_vector::str(), and Vprint_empty_dimensions.
Referenced by octave_print_internal(), octave_print_internal_template(), and print_nd_array().
void print_nd_array | ( | std::ostream & | os, |
const NDA_T & | nda, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 2116 of file pr-output.cc.
References increment_index(), m, print_empty_nd_array(), octave_value::print_name_tag(), octave_value::print_raw(), octave_value::print_with_name(), and ra_idx.
Referenced by octave_print_internal().
|
inlinestatic |
Definition at line 3577 of file pr-output.cc.
References action_container::add(), bank_format, bit_format, action_container::discard(), error(), format(), format_string(), free_format, hex_format, init_format_state(), output_precision(), plus_format, plus_format_chars, print_e, print_eng, print_g, action_container::protect_var(), rat_format, set_output_prec(), transform(), uppercase_format, and Vcompact_format.
Referenced by Fformat().
|
static |
Definition at line 93 of file pr-output.cc.
Referenced by get_column_width(), init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), octave_print_internal_template(), pr_float(), pr_int(), and set_format_style().
|
static |
Definition at line 99 of file pr-output.cc.
Referenced by get_column_width(), init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), octave_print_internal_template(), pr_any_float(), pr_float(), pr_int(), and set_format_style().
|
static |
Definition at line 78 of file pr-output.cc.
Referenced by init_format_state(), make_complex_matrix_format(), make_complex_scalar_format(), make_format(), make_matrix_format(), make_scalar_format(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), and set_format_style().
|
static |
Definition at line 96 of file pr-output.cc.
Referenced by get_column_width(), init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), octave_print_internal_template(), pr_any_float(), pr_float(), pr_int(), and set_format_style().
|
static |
Definition at line 81 of file pr-output.cc.
Referenced by init_format_state(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), and set_format_style().
|
static |
Definition at line 84 of file pr-output.cc.
Referenced by pr_plus_format(), and set_format_style().
|
static |
Definition at line 105 of file pr-output.cc.
Referenced by init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), pr_float(), pr_imag_float(), pr_scale_header(), and set_format_style().
|
static |
Definition at line 114 of file pr-output.cc.
Referenced by calc_scale_exp(), init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), num_digits(), pr_any_float(), and set_format_style().
|
static |
Definition at line 108 of file pr-output.cc.
Referenced by init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), pr_float(), pr_imag_float(), pr_scale_header(), and set_format_style().
|
static |
Definition at line 87 of file pr-output.cc.
Referenced by Frats(), get_column_width(), init_format_state(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), octave_print_internal_template(), pr_any_float(), and set_format_style().
|
static |
Definition at line 90 of file pr-output.cc.
Referenced by Frats().
|
static |
Definition at line 111 of file pr-output.cc.
Referenced by Fformat(), make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), pr_any_float(), pr_int(), and set_format_style().
bool Vcompact_format = false |
Definition at line 102 of file pr-output.cc.
Referenced by Fformat(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), pr_col_num_header(), pr_scale_header(), octave_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(), octave_base_value::print_with_name(), and set_format_style().
|
static |
Definition at line 67 of file pr-output.cc.
Referenced by Ffixed_point_format(), make_complex_matrix_format(), make_range_format(), make_real_matrix_format(), pr_float(), pr_imag_float(), and pr_scale_header().
bool Vprint_empty_dimensions = true |
Definition at line 71 of file pr-output.cc.
Referenced by Fprint_empty_dimensions(), print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().
|
static |
Definition at line 75 of file pr-output.cc.
Referenced by Fsplit_long_rows(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), and pr_col_num_header().