GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
pr-output.h File Reference
#include <iosfwd>
#include "oct-cmplx.h"
#include "intNDArray.h"
#include "oct-inttypes.h"
Include dependency graph for pr-output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OCTINTERP_API void octave_print_internal (std::ostream &os, bool d, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, char c, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, double d, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, float d, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const Matrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const DiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatDiagMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const NDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const Complex &c, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexDiagMatrix &cm, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const ComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const FloatComplexNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const PermMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const Range &r, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const boolMatrix &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const boolNDArray &m, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const charMatrix &chm, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const charNDArray &nda, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const std::string &s, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const Array< std::string > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const intNDArray< octave_int8 > &sa, bool pr_as_read_syntax=false, int extra_indent=0)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int8_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint8_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int16_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint16_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int32_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint32_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< int64_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_int< uint64_t > &sa, bool pr_as_read_syntax=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const Cell &cell, bool pr_as_read_syntax=false, int extra_indent=0, bool pr_as_string=false)
OCTINTERP_API void octave_print_internal (std::ostream &os, const octave_value &ov, bool pr_as_read_syntax=false)

Variables

bool Vcompact_format
bool Vprint_empty_dimensions

Function Documentation

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
bool  d,
bool  pr_as_read_syntax = false 
)

Definition at line 2584 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
char  c,
bool  pr_as_read_syntax = false 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
double  d,
bool  pr_as_read_syntax = false 
)

Definition at line 1708 of file pr-output.cc.

References d, free_format, plus_format, pr_float(), pr_plus_format(), and set_format().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
float  d,
bool  pr_as_read_syntax = false 
)

Definition at line 2592 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Matrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const DiagMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2598 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatDiagMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2605 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const NDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2612 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Complex c,
bool  pr_as_read_syntax = false 
)

Definition at line 2124 of file pr-output.cc.

References free_format, plus_format, pr_complex(), pr_plus_format(), and set_format().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexDiagMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2626 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexDiagMatrix cm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2634 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const ComplexNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const FloatComplexNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2642 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const PermMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Range r,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const boolMatrix m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2765 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const boolNDArray m,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const charMatrix chm,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const charNDArray nda,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const std::string &  s,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 2861 of file pr-output.cc.

References octave_print_internal().

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Array< std::string > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)
OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const intNDArray< octave_int8 > &  sa,
bool  pr_as_read_syntax = false,
int  extra_indent = 0 
)

Definition at line 3374 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int8_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3128 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint8_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3129 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int16_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3130 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint16_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3131 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int32_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3132 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint32_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3133 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< int64_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3134 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_int< uint64_t > &  sa,
bool  pr_as_read_syntax = false 
)

Definition at line 3135 of file pr-output.cc.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const Cell cell,
bool  pr_as_read_syntax = false,
int  extra_indent = 0,
bool  pr_as_string = false 
)

Definition at line 3384 of file pr-output.cc.

References panic_impossible.

OCTINTERP_API void octave_print_internal ( std::ostream &  os,
const octave_value ov,
bool  pr_as_read_syntax = false 
)

Definition at line 3390 of file pr-output.cc.

References panic_impossible.

Variable Documentation

bool Vcompact_format
bool Vprint_empty_dimensions

Definition at line 75 of file pr-output.cc.

Referenced by print_empty_matrix(), print_empty_nd_array(), and octave_cell::print_raw().