#include <cmath>
#include <iomanip>
#include <iostream>
#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 "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<typename T > | |
static T | abs (T x) |
template int8_t | abs (int8_t) |
template int16_t | abs (int16_t) |
template int32_t | abs (int32_t) |
template int64_t | abs (int64_t) |
template<> | |
uint8_t | abs (uint8_t x) |
template<> | |
uint16_t | abs (uint16_t x) |
template<> | |
uint32_t | abs (uint32_t x) |
template<> | |
uint64_t | abs (uint64_t x) |
static int | calc_scale_exp (const int &x) |
template<typename T > | |
static int | engineering_exponent (T x) |
OCTAVE_EXPORT octave_value_list | Ffdisp (octave::interpreter &interp, const octave_value_list &args, int) fdisp(stdout |
OCTAVE_EXPORT octave_value_list | Fformat (const octave_value_list &args, int nargout) ar |
OCTAVE_EXPORT octave_value_list | Frats (const octave_value_list &args, int) an asterisk(*) padded with spaces will be returned instead. eealso |
static int | get_column_width (const float_display_format &fmt) |
nd deftypefn * | if (nargin< 1||nargin > 2) print_usage() |
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 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 CMT > | |
static float_display_format | make_complex_matrix_format (const CMT &cm) |
template<typename T > | |
float_display_format | make_complex_scalar_format (const std::complex< T > &c) |
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 Matrix &m) |
template<> | |
float_display_format | make_format (const FloatMatrix &m) |
template<> | |
float_display_format | make_format (const std::complex< double > &c) |
template<> | |
float_display_format | make_format (const std::complex< float > &fc) |
template<> | |
float_display_format | make_format (const ComplexMatrix &cm) |
template<> | |
float_display_format | make_format (const FloatComplexMatrix &cm) |
template<> | |
float_display_format | make_format (const boolNDArray &) |
template<> | |
float_display_format | make_format (const Range &r) |
template<> | |
float_display_format | make_format (const intNDArray< octave_int8 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_uint8 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_int16 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_uint16 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_int32 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_uint32 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_int64 > &nda) |
template<> | |
float_display_format | make_format (const intNDArray< octave_uint64 > &nda) |
template<> | |
float_display_format | make_format (const octave_int< int8_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< uint8_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< int16_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< uint16_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< int32_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< uint32_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< int64_t > &val) |
template<> | |
float_display_format | make_format (const octave_int< uint64_t > &val) |
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 &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax) |
void | octave_print_internal (std::ostream &os, bool d, bool pr_as_read_syntax) |
void | octave_print_internal (std::ostream &, const float_display_format &, char, bool) |
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 NDArray &nda, 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 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 PermMatrix &m, 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 FloatComplexNDArray &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 FloatMatrix &m, 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 FloatDiagMatrix &m, 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 FloatComplexMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
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 FloatComplexDiagMatrix &cm, bool pr_as_read_syntax, int extra_indent) |
void | octave_print_internal (std::ostream &os, const Range &r, bool pr_as_read_syntax, int extra_indent) |
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 std::string &s, bool pr_as_read_syntax, int extra_indent) |
void | octave_print_internal (std::ostream &os, const Array< std::string > &nda, bool pr_as_read_syntax, int) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int8_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint8_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int16_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint16_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int32_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint32_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< int64_t > &val, bool dummy) |
OCTINTERP_API void | octave_print_internal (std::ostream &os, const float_display_format &fmt, const octave_int< uint64_t > &val, bool dummy) |
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_uint8 > &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_uint16 > &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_uint32 > &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_uint64 > &nda, bool pr_as_read_syntax, int extra_indent) |
void | octave_print_internal (std::ostream &, const Cell &, bool, int, bool) |
void | octave_print_internal (std::ostream &, const octave_value &, bool) |
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, T val) |
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_imag_float (std::ostream &os, const float_display_format &fmt, T val) |
template<typename T > | |
static void | pr_int (std::ostream &os, const T &d, int fw=0) |
template void | pr_int (std::ostream &, const octave_int8 &, int) |
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_uint8 &, 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<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 T &val) |
template<typename T > | |
static void | pr_plus_format (std::ostream &os, const std::complex< T > &c) |
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) |
template<typename T > | |
static std::string | rational_approx (T val, int len) |
static void | set_format_style (int argc, const string_vector &argv) |
Variables | |
octave_value | arg = args(0) |
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_big_e = false |
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 |
if(! arg.isnumeric()) error("rats return | retval |
OCTAVE_EXPORT octave_value_list pi | rint |
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 1701 of file pr-output.cc.
#define MAKE_INT_MATRIX_FORMAT | ( | TYPE | ) |
Definition at line 1722 of file pr-output.cc.
#define MAKE_INT_SCALAR_FORMAT | ( | TYPE | ) |
Definition at line 1755 of file pr-output.cc.
Definition at line 1379 of file pr-output.cc.
Referenced by pr_any_float(), and pr_int().
Definition at line 1397 of file pr-output.cc.
Referenced by pr_any_float(), and pr_int().
#define PRINT_CONV | ( | T1, | |
T2 | |||
) |
Definition at line 2817 of file pr-output.cc.
#define PRINT_INT_ARRAY_INTERNAL | ( | TYPE | ) |
Definition at line 3188 of file pr-output.cc.
#define PRINT_INT_SCALAR_INTERNAL | ( | TYPE | ) |
Definition at line 2939 of file pr-output.cc.
#define SPECIALIZE_UABS | ( | T | ) |
Definition at line 1709 of file pr-output.cc.
|
inlinestatic |
Definition at line 1696 of file pr-output.cc.
References x.
Referenced by SparseComplexMatrix::abs(), norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), norm_accumulator_2< R >::accum(), norm_accumulator_1< R >::accum(), norm_accumulator_inf< R >::accum(), norm_accumulator_minf< R >::accum(), ALNGAM(), ALNREL(), octave::math::biry(), SparseComplexMatrix::bsolve(), CACON(), CAIRY(), axes::properties::calc_ticklabels(), CASYI(), CBESH(), CBESI(), octave::math::cbesi(), CBESJ(), CBESY(), CBIRY(), CBKNU(), CBUNI(), CBUNK(), axes::properties::check_axis_limits(), 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(), DGAMLM(), DGAMMA(), DGAMR(), DHEQR(), Sparse< bool >::diag(), Array< octave_value >::diag(), SparseComplexMatrix::dinverse(), DLNGAM(), DLNREL(), DMATD(), DPCHIM(), DPSIFN(), SparseComplexMatrix::dsolve(), DSPIGM(), EigsComplexNonSymmetricFunc(), EigsRealNonSymmetricFunc(), EigsRealSymmetricFunc(), elem_dual_p(), octave::math::expm1(), extended_gcd(), F__betainc__(), F__expint__(), F__gammainc__(), Fabs(), GAMLIM(), GAMLN(), GAMMA(), GAMR(), genmul(), axes::properties::get_axis_limits(), octave::math::gsvd< T >::gsvd(), higham_subp(), ichol_t(), ignbin(), ignpoi(), INITDS(), INITS(), jcobi(), octave::math::log2(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), magform(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_float_scalar::map(), octave_scalar::map(), ComplexRowVector::max(), FloatComplexRowVector::max(), SparseComplexMatrix::max(), ComplexColumnVector::max(), FloatComplexColumnVector::max(), octave::math::max(), ComplexRowVector::min(), FloatComplexRowVector::min(), SparseComplexMatrix::min(), ComplexColumnVector::min(), FloatComplexColumnVector::min(), octave::math::min(), min(), octave::math::mod(), null(), octave_print_internal_template(), PCHIM(), DiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), PSIFN(), qagie(), qagpe(), qelg(), qk15i(), qk21(), qp(), R9GMIT(), R9LGIC(), R9LGIT(), rational_approx(), ComplexDiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), octave::math::rem(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), TerminalView::scrollImage(), octave::math::select_dig(), SEWSET(), sgamma(), octave::math::signum(), simple_gcd(), SINTDY(), SLSODE(), SPREPJ(), SSOLSY(), SSTODE(), SparseComplexMatrix::tinverse(), axes::properties::update_axes_layout(), axes::properties::update_camera(), axes::properties::update_ticklength(), SparseComplexMatrix::utsolve(), xabs(), XCLANGE(), XERMSG(), XSETF(), XZLANGE(), and octave::math::zbesi().
template int8_t abs | ( | int8_t | ) |
template int16_t abs | ( | int16_t | ) |
template int32_t abs | ( | int32_t | ) |
template int64_t abs | ( | int64_t | ) |
|
inline |
Definition at line 1717 of file pr-output.cc.
|
inline |
Definition at line 1718 of file pr-output.cc.
|
inline |
Definition at line 1719 of file pr-output.cc.
|
inline |
Definition at line 1720 of file pr-output.cc.
|
static |
Definition at line 114 of file pr-output.cc.
Referenced by make_complex_matrix_format(), make_range_format(), and make_real_matrix_format().
|
inlinestatic |
Definition at line 139 of file pr-output.cc.
References octave::math::floor(), and x.
Referenced by pr_engineering_float< T >::exponent(), and num_digits().
OCTAVE_EXPORT octave_value_list Ffdisp | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
OCTAVE_EXPORT octave_value_list Fformat | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 3938 of file pr-output.cc.
References argc, argv, min(), nargout(), retval, set_format_style(), Vcompact_format, and warning().
OCTAVE_EXPORT octave_value_list Frats | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 3237 of file pr-output.cc.
References print_usage().
|
inlinestatic |
Definition at line 1878 of file pr-output.cc.
References bank_format, bit_format, float_format::fw, hex_format, float_display_format::imag_format(), rat_format, float_display_format::real_format(), and retval.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 778 of file pr-output.cc.
References bank_format, bit_format, hex_format, min(), output_precision(), print_big_e, print_e, print_eng, print_g, rat_format, and float_format::uppercase().
|
inlinestatic |
Definition at line 993 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_big_e, print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), and Vfixed_point_format.
Referenced by make_format().
|
inlinestatic |
Definition at line 1165 of file pr-output.cc.
References free_format, imag(), num_digits(), pr_max_internal(), pr_min_internal(), and real().
float_display_format make_complex_scalar_format | ( | const std::complex< T > & | c | ) |
Definition at line 939 of file pr-output.cc.
References c, free_format, octave::math::isfinite(), octave::math::isinf(), octave::math::isnan(), num_digits(), and octave::math::x_nint().
Referenced by make_format().
float_display_format make_format | ( | const double & | d | ) |
Definition at line 591 of file pr-output.cc.
References d, and make_scalar_format().
Referenced by octave_base_scalar< bool >::get_edit_display_format(), octave_base_matrix< boolNDArray >::get_edit_display_format(), octave_range::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 598 of file pr-output.cc.
References f, and make_scalar_format().
float_display_format make_format | ( | const Matrix & | m | ) |
Definition at line 764 of file pr-output.cc.
References make_matrix_format().
float_display_format make_format | ( | const FloatMatrix & | m | ) |
Definition at line 771 of file pr-output.cc.
References make_matrix_format().
float_display_format make_format | ( | const std::complex< double > & | c | ) |
Definition at line 979 of file pr-output.cc.
References c, and make_complex_scalar_format().
float_display_format make_format | ( | const std::complex< float > & | fc | ) |
Definition at line 986 of file pr-output.cc.
References make_complex_scalar_format().
float_display_format make_format | ( | const ComplexMatrix & | cm | ) |
Definition at line 1206 of file pr-output.cc.
References make_complex_matrix_format().
float_display_format make_format | ( | const FloatComplexMatrix & | cm | ) |
Definition at line 1213 of file pr-output.cc.
References make_complex_matrix_format().
float_display_format make_format | ( | const boolNDArray & | ) |
Definition at line 1220 of file pr-output.cc.
float_display_format make_format | ( | const Range & | r | ) |
Definition at line 1345 of file pr-output.cc.
References Range::all_elements_are_ints(), Range::base(), free_format, Range::limit(), num_digits(), and tmp.
float_display_format make_format | ( | const intNDArray< octave_int8 > & | nda | ) |
Definition at line 1746 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint8 > & | nda | ) |
Definition at line 1747 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int16 > & | nda | ) |
Definition at line 1748 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint16 > & | nda | ) |
Definition at line 1749 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int32 > & | nda | ) |
Definition at line 1750 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint32 > & | nda | ) |
Definition at line 1751 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_int64 > & | nda | ) |
Definition at line 1752 of file pr-output.cc.
float_display_format make_format | ( | const intNDArray< octave_uint64 > & | nda | ) |
Definition at line 1753 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int8_t > & | val | ) |
Definition at line 1770 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint8_t > & | val | ) |
Definition at line 1771 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int16_t > & | val | ) |
Definition at line 1772 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint16_t > & | val | ) |
Definition at line 1773 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int32_t > & | val | ) |
Definition at line 1774 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint32_t > & | val | ) |
Definition at line 1775 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< int64_t > & | val | ) |
Definition at line 1776 of file pr-output.cc.
float_display_format make_format | ( | const octave_int< uint64_t > & | val | ) |
Definition at line 1777 of file pr-output.cc.
|
inlinestatic |
Definition at line 736 of file pr-output.cc.
References free_format, num_digits(), pr_max_internal(), and pr_min_internal().
Referenced by make_format().
|
inlinestatic |
Definition at line 1227 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_big_e, print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), and Vfixed_point_format.
|
inlinestatic |
Definition at line 468 of file pr-output.cc.
References bank_format, bit_format, hex_format, min(), output_precision(), print_big_e, print_e, print_eng, print_g, rat_format, and float_format::uppercase().
|
inlinestatic |
Definition at line 605 of file pr-output.cc.
References bank_format, bit_format, calc_scale_exp(), hex_format, min(), output_precision(), pow(), print_big_e, print_e, print_eng, print_g, rat_format, scale(), float_format::uppercase(), and Vfixed_point_format.
float_display_format make_scalar_format | ( | const T & | val | ) |
Definition at line 573 of file pr-output.cc.
References free_format, octave::math::isinf(), octave::math::isnan(), num_digits(), val, and octave::math::x_nint().
Referenced by make_format().
|
inlinestatic |
Definition at line 162 of file pr-output.cc.
References engineering_exponent(), octave::math::floor(), print_eng, and x.
Referenced by make_complex_matrix_format(), make_complex_scalar_format(), make_format(), make_matrix_format(), and make_scalar_format().
|
static |
Definition at line 2008 of file pr-output.cc.
References free_format, get_column_width(), i, make_format(), octave_print_free(), os, plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), print_empty_matrix(), float_display_format::scale_factor(), octave::command_editor::terminal_cols(), Vcompact_format, Vsplit_long_rows, and zero().
Referenced by octave_print_internal().
|
inlinestatic |
Definition at line 1835 of file pr-output.cc.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
bool | d, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1780 of file pr-output.cc.
References d, octave_print_internal(), and os.
Referenced by octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::edit_display(), octave_base_scalar< bool >::edit_display(), octave_base_int_scalar< OCTAVE_INT_T >::edit_display(), octave_base_matrix< boolNDArray >::edit_display(), octave_base_sparse< SparseComplexMatrix >::edit_display(), octave_base_diag< DiagMatrix, Matrix >::edit_display(), octave_perm_matrix::edit_display(), octave_range::edit_display(), Fqz(), octave_print_internal(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::print_raw(), octave_fcn_inline::print_raw(), octave_base_scalar< bool >::print_raw(), octave_char_matrix_str::print_raw(), octave_fcn_handle::print_raw(), octave_char_matrix::print_raw(), octave_base_sparse< SparseComplexMatrix >::print_raw(), octave_float_complex_matrix::print_raw(), octave_complex_matrix::print_raw(), octave_float_matrix::print_raw(), octave_base_diag< DiagMatrix, Matrix >::print_raw(), octave_bool_matrix::print_raw(), octave_perm_matrix::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_base_scalar< bool >::short_disp(), octave_base_matrix< boolNDArray >::short_disp(), octave_base_diag< DiagMatrix, Matrix >::short_disp(), and octave_perm_matrix::short_disp().
Definition at line 1787 of file pr-output.cc.
References d, octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | , |
const float_display_format & | , | ||
char | , | ||
bool | |||
) |
Definition at line 1793 of file pr-output.cc.
References panic_impossible.
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
double | d, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 1800 of file pr-output.cc.
References d, free_format, os, 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 1817 of file pr-output.cc.
References d, free_format, os, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const NDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2210 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2228 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const Complex & | c, | ||
bool | pr_as_read_syntax | ||
) |
Definition at line 2266 of file pr-output.cc.
References c, free_format, os, 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 2283 of file pr-output.cc.
References c, free_format, os, plus_format, pr_float(), and pr_plus_format().
void octave_print_internal | ( | std::ostream & | os, |
const PermMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2300 of file pr-output.cc.
References PermMatrix::col_perm_vec(), PermMatrix::columns(), free_format, i, octave_print_free(), os, plus_format, pr_col_num_header(), pr_plus_format_matrix(), print_empty_matrix(), PermMatrix::rows(), octave::command_editor::terminal_cols(), Vcompact_format, and Vsplit_long_rows.
void octave_print_internal | ( | std::ostream & | os, |
const ComplexNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2414 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2433 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const Matrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2454 of file pr-output.cc.
References octave_print_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2461 of file pr-output.cc.
References octave_print_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const DiagMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2468 of file pr-output.cc.
References octave_print_diag_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatDiagMatrix & | m, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2475 of file pr-output.cc.
References octave_print_diag_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const ComplexMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2482 of file pr-output.cc.
References octave_print_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2489 of file pr-output.cc.
References octave_print_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const ComplexDiagMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2496 of file pr-output.cc.
References octave_print_diag_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const FloatComplexDiagMatrix & | cm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2503 of file pr-output.cc.
References octave_print_diag_matrix_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const Range & | r, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2510 of file pr-output.cc.
References Range::base(), Range::elem(), free_format, get_column_width(), i, Range::inc(), Range::limit(), make_format(), Range::numel(), os, plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), float_display_format::scale_factor(), octave::command_editor::terminal_cols(), val, and Vsplit_long_rows.
void octave_print_internal | ( | std::ostream & | os, |
const boolMatrix & | bm, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2616 of file pr-output.cc.
References octave_print_internal(), os, and tmp.
void octave_print_internal | ( | std::ostream & | os, |
const boolNDArray & | nda, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2625 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), os, and print_nd_array().
void octave_print_internal | ( | std::ostream & | os, |
const charMatrix & | chm, | ||
bool | pr_as_read_syntax, | ||
int | , | ||
bool | pr_as_string | ||
) |
Definition at line 2645 of file pr-output.cc.
References i, os, row, charMatrix::row_as_string(), Array< T >::rows(), string, 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 2692 of file pr-output.cc.
References Array< T >::ndims(), octave_print_internal(), and os.
void octave_print_internal | ( | std::ostream & | os, |
const std::string & | s, | ||
bool | pr_as_read_syntax, | ||
int | extra_indent | ||
) |
Definition at line 2712 of file pr-output.cc.
References octave_print_internal(), os, and s.
void octave_print_internal | ( | std::ostream & | os, |
const Array< std::string > & | nda, | ||
bool | pr_as_read_syntax, | ||
int | |||
) |
Definition at line 2721 of file pr-output.cc.
References dims, Array< T >::dims(), i, increment_index(), Array< T >::index(), Array< T >::isempty(), k, Array< T >::ndims(), nm, Array< T >::numel(), os, page, print_empty_nd_array(), ra_idx, string, and Vcompact_format.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< int8_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2948 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< uint8_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2949 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< int16_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2950 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< uint16_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2951 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< int32_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2952 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< uint32_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2953 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< int64_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2954 of file pr-output.cc.
OCTINTERP_API void octave_print_internal | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< uint64_t > & | val, | ||
bool | dummy | ||
) |
Definition at line 2955 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 3196 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 3197 of file pr-output.cc.
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 3198 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 3199 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 3200 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 3201 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 3202 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 3203 of file pr-output.cc.
Definition at line 3206 of file pr-output.cc.
References panic_impossible.
void octave_print_internal | ( | std::ostream & | , |
const octave_value & | , | ||
bool | |||
) |
Definition at line 3212 of file pr-output.cc.
References panic_impossible.
void octave_print_internal_template | ( | std::ostream & | os, |
const float_display_format & | fmt, | ||
const octave_int< T > & | val, | ||
bool | |||
) |
Definition at line 2920 of file pr-output.cc.
References free_format, float_format::fw, os, plus_format, pr_int(), pr_plus_format(), float_display_format::real_format(), and val.
Referenced by octave_print_internal_template().
|
inlinestatic |
Definition at line 2959 of file pr-output.cc.
References abs(), bank_format, bit_format, dims, octave::math::floor(), free_format, hex_format, i, increment_index(), k, nm, octave_print_internal_template(), os, page, plus_format, pr_col_num_header(), pr_int(), pr_plus_format(), print_empty_nd_array(), ra_idx, rat_format, string, octave::command_editor::terminal_cols(), value, Vcompact_format, and Vsplit_long_rows.
|
static |
Definition at line 1893 of file pr-output.cc.
References free_format, get_column_width(), i, make_format(), octave_print_free(), os, plus_format, pr_col_num_header(), pr_float(), pr_plus_format_matrix(), pr_scale_header(), print_empty_matrix(), float_display_format::scale_factor(), octave::command_editor::terminal_cols(), and Vsplit_long_rows.
Referenced by octave_print_internal().
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_engineering_float< T > & | pef | ||
) |
Definition at line 185 of file pr-output.cc.
References float_format::ex, float_format::fmt, float_format::fw, os, float_format::prec, float_format::sp, and float_format::up.
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_formatted_float< T > & | pff | ||
) |
Definition at line 218 of file pr-output.cc.
References float_format::fmt, float_format::fw, os, float_format::prec, float_format::sp, and float_format::up.
std::ostream& operator<< | ( | std::ostream & | os, |
const pr_rational_float< T > & | prf | ||
) |
Definition at line 349 of file pr-output.cc.
References float_format::fmt, float_format::fw, os, rat_string_len, rational_approx(), s, float_format::sp, string, and float_format::up.
|
inlinestatic |
Definition at line 1417 of file pr-output.cc.
References bit_format, flt_fmt, octave::mach_info::flt_fmt_ieee_big_endian, float_format::fw, hex_format, i, octave::math::isinf(), octave::math::isna(), octave::math::isnan(), octave::mach_info::native_float_format(), os, PRINT_CHAR_BITS, PRINT_CHAR_BITS_SWAPPED, print_eng, rat_format, right, s, tmp, and val.
Referenced by pr_float(), and pr_imag_float().
|
inlinestatic |
Definition at line 1645 of file pr-output.cc.
References os, 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 1528 of file pr-output.cc.
References os, pr_any_float(), print_g, float_display_format::real_format(), scale(), float_display_format::scale_factor(), val, 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 1547 of file pr-output.cc.
References bank_format, bit_format, hex_format, i, lo_ieee_signbit, os, pr_float(), pr_imag_float(), print_g, scale(), float_display_format::scale_factor(), tmp, and Vfixed_point_format.
|
inlinestatic |
Definition at line 1540 of file pr-output.cc.
References float_display_format::imag_format(), os, pr_any_float(), and val.
Referenced by pr_float().
|
inlinestatic |
Definition at line 2833 of file pr-output.cc.
References bank_format, bit_format, d, hex_format, i, os, PRINT_CHAR_BITS, PRINT_CHAR_BITS_SWAPPED, right, sz, and octave::mach_info::words_big_endian().
Referenced by octave_print_internal_template().
template void pr_int | ( | std::ostream & | , |
const octave_int8 & | , | ||
int | |||
) |
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_uint8 & | , | ||
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 | |||
) |
|
inlinestatic |
Definition at line 374 of file pr-output.cc.
References Array< T >::columns(), i, octave::math::isfinite(), Array< T >::ndims(), result, Array< T >::rows(), and val.
Referenced by make_complex_matrix_format(), and make_matrix_format().
|
inlinestatic |
Definition at line 407 of file pr-output.cc.
References Array< T >::columns(), i, octave::math::isfinite(), max(), result, Array< T >::rows(), and val.
Referenced by make_complex_matrix_format(), and make_matrix_format().
|
inlinestatic |
Definition at line 1678 of file pr-output.cc.
References os, plus_format_chars, and val.
Referenced by octave_print_internal(), octave_print_internal_template(), pr_plus_format(), and pr_plus_format_matrix().
|
inlinestatic |
Definition at line 2247 of file pr-output.cc.
References c, os, and pr_plus_format().
|
inlinestatic |
Definition at line 1858 of file pr-output.cc.
References i, os, and pr_plus_format().
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1627 of file pr-output.cc.
References left, os, 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 1588 of file pr-output.cc.
References os, and Vprint_empty_dimensions.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), and octave_print_matrix_internal().
|
inlinestatic |
Definition at line 1610 of file pr-output.cc.
References dims, os, 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 2134 of file pr-output.cc.
References dims, i, increment_index(), k, nm, os, page, print_empty_nd_array(), ra_idx, and string.
Referenced by octave_print_internal().
|
inlinestatic |
Definition at line 240 of file pr-output.cc.
References abs(), d, octave::math::isinf(), octave::math::isnan(), max(), min(), octave::math::round(), s, string, val, and octave::math::x_nint().
Referenced by operator<<().
|
inlinestatic |
Definition at line 3530 of file pr-output.cc.
References string_vector::append(), arg, argc, argv, bank_format, bit_format, error(), free_format, hex_format, octave_value::length(), plus_format, plus_format_chars, print_big_e, print_e, print_eng, print_g, rat_format, set_output_prec(), string, and Vcompact_format.
Referenced by Fformat().
octave_value arg = args(0) |
Definition at line 3244 of file pr-output.cc.
Referenced by UrlFilter::HotSpot::actions(), octave::action_container::add_method(), bitop_arg_is_bool(), bitop_arg_is_float(), bitop_arg_is_int(), octave::external_editor_interface::call_custom_editor(), octave::file_editor::check_conflict_save(), octave::file_editor_tab::check_file_modified(), octave::file_editor_tab::check_valid_codec(), octave::file_editor_tab::check_valid_identifier(), octave::jit_convert_llvm::convert_loop(), octave_istream::create(), octave_ostream::create(), octave::base_ve_model::data(), QtHandles::Logger::debugV(), decode_subscripts(), HTMLDecoder::decodeLine(), octave::main_window::display_release_notes(), dmperm_internal(), octave::jit_instruction::do_construct_ssa(), do_fft(), do_fft2(), do_fftn(), do_history(), do_minmax_body(), do_minmax_red_op(), do_minmax_red_op< boolNDArray >(), do_minmax_red_op< charNDArray >(), octave_link::do_post_event(), octave::do_printf_conv(), octave::do_printf_string(), do_sqrtm(), do_trilu(), octave::documentation::documentation(), octave::variable_editor_model::evaluation_error(), extract_function(), F__fieldnames__(), Fangle(), octave::sys::fcntl(), Fdet(), Fdiary(), Fhess(), octave::file_editor_tab::file_has_changed(), octave::command_editor::filename_completion_desired(), octave::command_editor::filename_quoting_desired(), Finv(), Flogical(), Fnproc(), Fschur(), Fsqrtm(), Fsvd(), Gchol(), octave::get_dispatch_type(), get_int_arg(), get_mapper_fun_options(), Gqr(), Gsymrcm(), octave::gui_application::gui_running(), handle_message(), QTerminal::handleCustomContextMenuRequested(), idx_to_expr(), octave::initial_page::initial_page(), octave::interpreter::interactive(), octave::command_editor::interrupt(), is_valid_function(), octave::jit_function_info::jit_function_info(), main(), octave::display_only_model::make_description_text(), octave_sparse_complex_matrix::map(), octave_sparse_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_matrix::map(), octave_matrix::map(), octave_float_scalar::map(), octave_scalar::map(), octave::file_editor::mru_menu_update(), mxArray_octave_value::mxArray_octave_value(), octave::workspace_view::notice_settings(), octave_fcntl_wrapper(), HTMLDecoder::openSpan(), functor< RT, PT >::operator()(), functor_with_conversion< CT, RT, PT >::operator()(), octave::bp_table::parse_dbfunction_params(), parse_save_options(), octave_link::post_event(), octave::command_editor::prefer_env_winsize(), annotation_dialog::prompt_for_color(), octave::jit_instruction::push_argument(), octave::jit_typeinfo::register_generic(), octave::documentation::registerDoc(), octave::jit_infer::release_dead_phi(), octave::jit_infer::release_temp(), octave::find_dialog::replace_all(), octave::file_editor::request_open_file(), octave::variable_editor_stack::save(), octave::file_editor_tab::save_file(), set_format_style(), octave::octave_dock_widget::set_style(), octave::shortcut_manager::shortcut_dialog_finished(), octave::octave_qscintilla::show_replace_action_tooltip(), signal_watcher(), octave::jit_infer::simplify_phi(), sparse(), sparse_ascending_compare< Complex >(), sparse_descending_compare< Complex >(), octave::jit_instruction::stash_argument(), octave::numeric_model::subscript_expression(), octave::cell_model::subscript_expression(), octave::vector_struct_model::subscript_expression(), octave::struct_model::subscript_expression(), octave::variable_editor_view::transposeContent(), octave::color_picker::update_button(), QtHandles::Figure::updateStatusBar(), Vt102Emulation::updateTitle(), octave::jit_convert_llvm::visit(), octave::tree_evaluator::visit_simple_for_command(), and Vt102Emulation::XtermHack().
Definition at line 90 of file pr-output.cc.
Referenced by get_column_width(), 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 96 of file pr-output.cc.
Referenced by get_column_width(), 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().
Definition at line 75 of file pr-output.cc.
Referenced by 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 93 of file pr-output.cc.
Referenced by get_column_width(), 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().
Definition at line 78 of file pr-output.cc.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), and set_format_style().
|
static |
Definition at line 81 of file pr-output.cc.
Referenced by pr_plus_format(), and set_format_style().
Definition at line 108 of file pr-output.cc.
Referenced by make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), and set_format_style().
Definition at line 102 of file pr-output.cc.
Referenced by make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), and set_format_style().
Definition at line 111 of file pr-output.cc.
Referenced by calc_scale_exp(), 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().
Definition at line 105 of file pr-output.cc.
Referenced by make_complex_format(), make_complex_matrix_format(), make_range_format(), make_real_format(), make_real_matrix_format(), pr_float(), pr_scale_header(), and set_format_style().
Definition at line 84 of file pr-output.cc.
Referenced by get_column_width(), 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 87 of file pr-output.cc.
Referenced by operator<<().
if (! arg.isnumeric ()) error ("rats return retval |
Definition at line 3246 of file pr-output.cc.
Referenced by Fformat(), and get_column_width().
OCTAVE_EXPORT octave_value_list pi rint |
Definition at line 3354 of file pr-output.cc.
Definition at line 99 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_struct::print_name_tag(), octave_scalar_struct::print_name_tag(), octave_range::print_name_tag(), octave_base_value::print_name_tag(), octave_struct::print_raw(), octave_scalar_struct::print_raw(), octave_base_value::print_with_name(), and set_format_style().
Definition at line 64 of file pr-output.cc.
Referenced by make_complex_matrix_format(), make_range_format(), make_real_matrix_format(), pr_float(), and pr_scale_header().
bool Vprint_empty_dimensions = true |
Definition at line 68 of file pr-output.cc.
Referenced by print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().
|
static |
Definition at line 72 of file pr-output.cc.
Referenced by octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), octave_print_matrix_internal(), and pr_col_num_header().