GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave Namespace Reference

Namespaces

 build_env
 
 config
 
 crypto
 
 jit
 
 jit_convention
 
 mach_info
 
 math
 
 string
 Octave string utility functions.
 
 sys
 

Classes

class  action_container
 
class  auto_shlib
 
class  autolock
 
class  base_lexer
 
class  base_list
 
class  base_mutex
 
class  base_parser
 
class  base_reader
 
class  base_stream
 
class  base_text_renderer
 
class  base_url_transfer
 
class  base_ve_model
 
class  bp_table
 
struct  bp_type
 
class  call_stack
 
class  cell_model
 
class  CFile
 RIIA wrapper for std::FILE*. More...
 
class  child
 
class  child_list
 
class  color_picker
 
class  command_editor
 
class  command_history
 
class  comment_elt
 
class  comment_list
 
class  complex_index_exception
 
class  curl_transfer
 
class  default_command_editor
 
class  delimited_stream
 
class  diary_buf
 
class  diary_stream
 
class  directory_path
 
class  display_info
 
class  display_only_model
 
class  documentation
 
class  documentation_browser
 
class  documentation_dock_widget
 
class  dynamic_library
 
class  dynamic_loader
 
class  enter_shortcut
 
class  environment
 
class  eval_string_reader
 
class  event_queue
 
class  event_queue_safe
 
class  external_editor_interface
 
class  fcn_info
 
class  fftw
 
class  fftw_planner
 
class  file_editor
 
class  file_editor_interface
 
class  file_editor_tab
 
class  file_editor_tab_widget
 
class  file_info
 
class  file_reader
 
class  FileDialog
 
class  files_dock_widget
 Dock widget to display files in the current directory. More...
 
class  FileTreeViewer
 
class  final_page
 
class  find_dialog
 
class  find_file_less_than
 
class  find_files_dialog
 
class  find_files_model
 
class  float_fftw_planner
 
class  ft_manager
 
class  ft_text_renderer
 
class  gtk_manager
 
class  gui_application
 
class  help_system
 
class  history_dock_widget
 
class  HoverToolButton
 
class  index_exception
 
class  initial_page
 
class  input_reader
 
class  InputDialog
 
class  interpreter
 
struct  interrupt_handler
 
class  invalid_index
 
class  jit_argument
 
struct  jit_array
 
class  jit_assign
 
class  jit_assign_base
 
class  jit_block
 
class  jit_block_list
 
class  jit_branch
 
class  jit_break_exception
 
class  jit_call
 
class  jit_cond_branch
 
class  jit_const
 
class  jit_convert
 
class  jit_convert_llvm
 
class  jit_error_check
 
class  jit_extract_argument
 
class  jit_factory
 
class  jit_fail_exception
 
class  jit_function
 
class  jit_function_info
 
class  jit_index_operation
 
class  jit_infer
 
class  jit_info
 
class  jit_instruction
 
class  jit_internal_list
 
class  jit_internal_node
 
class  jit_ir_walker
 
class  jit_magic_end
 
class  jit_memory_manager
 
class  jit_module
 
class  jit_operation
 
class  jit_paren_subsasgn
 
class  jit_paren_subsref
 
class  jit_phi
 
class  jit_phi_incoming
 
struct  jit_range
 
class  jit_return
 
class  jit_store_argument
 
class  jit_terminator
 
class  jit_type
 
class  jit_typeinfo
 
class  jit_use
 
class  jit_value
 
class  jit_variable
 
class  JVMArgs
 
class  label_dock_widget
 
class  lexer
 
class  lexical_feedback
 
class  ListDialog
 
class  load_path
 
class  main_window
 Represents the main window. More...
 
class  marker
 
class  MessageDialog
 
class  mutex
 
class  news_reader
 
class  numeric_model
 
class  octave_cmd
 
class  octave_cmd_debug
 
class  octave_cmd_eval
 
class  octave_cmd_exec
 
class  octave_command_queue
 Queuing octave commands from the GUI for the worker thread. More...
 
class  octave_dock_widget
 
class  octave_interpreter
 
class  octave_lvalue
 
class  octave_qscintilla
 
class  octave_qt_link
 Provides threadsafe access to octave. More...
 
class  octave_txt_lexer
 
class  opengl_renderer
 
class  opengl_selector
 
class  opengl_tesselator
 
class  opengl_texture
 
class  out_of_range
 
class  pager_buf
 
class  pager_stream
 
class  parser
 
class  pid_equal
 
class  preserve_stream_state
 
class  printf_format_elt
 
class  printf_format_list
 
class  printf_value_cache
 
class  profiler
 
class  push_lexer
 
class  push_parser
 
class  QUIWidgetCreator
 
class  refcount
 
class  regexp
 
struct  rep_token_t
 
class  resource_manager
 
class  ReturnFocusMenu
 
class  ReturnFocusToolButton
 
class  scalar_struct_model
 
class  scanf_format_elt
 
class  scanf_format_list
 
class  setup_community_news
 
class  shortcut_manager
 
class  stream
 
class  stream_list
 
class  string_model
 
class  struct_model
 
class  symbol_record
 
class  symbol_scope
 
class  symbol_scope_rep
 
class  symbol_table
 
class  tab_bar
 
class  terminal_dock_widget
 
class  terminal_reader
 
class  text_renderer
 
class  textscan
 
class  textscan_format_elt
 
class  textscan_format_list
 
class  thread
 
class  tm_const
 
class  tm_row_const
 
class  token
 
class  tree
 
class  tree_anon_fcn_handle
 
class  tree_argument_list
 
class  tree_array_list
 
class  tree_binary_expression
 
class  tree_black_hole
 
class  tree_boolean_expression
 
class  tree_break_command
 
class  tree_breakpoint
 
class  tree_cell
 
class  tree_checker
 
class  tree_classdef
 
class  tree_classdef_attribute
 
class  tree_classdef_attribute_list
 
class  tree_classdef_body
 
class  tree_classdef_element
 
class  tree_classdef_enum
 
class  tree_classdef_enum_block
 
class  tree_classdef_enum_list
 
class  tree_classdef_event
 
class  tree_classdef_events_block
 
class  tree_classdef_events_list
 
class  tree_classdef_methods_block
 
class  tree_classdef_methods_list
 
class  tree_classdef_properties_block
 
class  tree_classdef_property
 
class  tree_classdef_property_list
 
class  tree_classdef_superclass
 
class  tree_classdef_superclass_list
 
class  tree_colon_expression
 
class  tree_command
 
class  tree_complex_for_command
 
class  tree_compound_binary_expression
 
class  tree_constant
 
class  tree_continue_command
 
class  tree_decl_command
 
class  tree_decl_elt
 
class  tree_decl_init_list
 
class  tree_do_until_command
 
class  tree_evaluator
 
class  tree_expression
 
class  tree_fcn_handle
 
class  tree_funcall
 
class  tree_function_def
 
class  tree_identifier
 
class  tree_if_clause
 
class  tree_if_command
 
class  tree_if_command_list
 
class  tree_index_expression
 
class  tree_jit
 
class  tree_matrix
 
class  tree_multi_assignment
 
class  tree_no_op_command
 
class  tree_parameter_list
 
class  tree_postfix_expression
 
class  tree_prefix_expression
 
class  tree_print_code
 
class  tree_return_command
 
class  tree_return_list
 
class  tree_simple_assignment
 
class  tree_simple_for_command
 
class  tree_statement
 
class  tree_statement_list
 
class  tree_switch_case
 
class  tree_switch_case_list
 
class  tree_switch_command
 
class  tree_try_catch_command
 
class  tree_unary_expression
 
class  tree_unwind_protect_command
 
class  tree_walker
 
class  tree_while_command
 
class  type_info
 
class  ultimate_element_type
 
class  ultimate_element_type< octave_int< T > >
 
class  unwind_protect
 
class  unwind_protect_safe
 
class  url_handle_manager
 
class  url_transfer
 
class  variable_dock_widget
 
class  variable_editor
 
class  variable_editor_model
 
class  variable_editor_stack
 
class  variable_editor_view
 
class  vector_struct_model
 
class  vertex_data
 
class  welcome_wizard
 
class  workspace_model
 
class  workspace_view
 

Typedefs

typedef octave_value(* conv_fptr) (std::list< void *> &input_buf_list, octave_idx_type input_buf_elts, octave_idx_type elts_read, octave_idx_type nr, octave_idx_type nc, bool swap, bool do_float_fmt_conv, bool do_NA_conv, octave::mach_info::float_format from_flt_fmt)
 
typedef jit_const< bool, jit_typeinfo::get_booljit_const_bool
 
typedef jit_const< Complex, jit_typeinfo::get_complexjit_const_complex
 
typedef jit_const< octave_idx_type, jit_typeinfo::get_indexjit_const_index
 
typedef jit_const< jit_range, jit_typeinfo::get_range, const jit_range & > jit_const_range
 
typedef jit_const< double, jit_typeinfo::get_scalarjit_const_scalar
 
typedef jit_const< std::string, jit_typeinfo::get_string, const std::string &, true > jit_const_string
 
typedef jit_array< NDArray, doublejit_matrix
 
typedef void sig_handler(int)
 
typedef int suitesparse_integer
 
typedef tree_expressiontree_expression_ptr_t
 
typedef octave_handle url_handle
 

Enumerations

enum  { UNIFORM, FLAT, INTERP, TEXTURE }
 
enum  { NONE, GOURAUD = 2 }
 
enum  { X_AXIS, Y_AXIS, Z_AXIS }
 
enum  dbstop_args { dbstop_in, dbstop_at, dbstop_if, dbstop_none }
 
enum  result_type { RT_UNDEFINED = 0, RT_VALUE = 1, RT_VALUE_LIST = 2 }
 
enum  select_flags { select_ignore_hittest = 0x01, select_last = 0x02 }
 

Functions

bp_table__get_bp_table__ (const std::string &who)
 
call_stack__get_call_stack__ (const std::string &who)
 
cdef_manager__get_cdef_manager__ (const std::string &who)
 
child_list__get_child_list__ (const std::string &who)
 
symbol_scope __get_current_scope__ (const std::string &who)
 
dynamic_loader__get_dynamic_loader__ (const std::string &who)
 
tree_evaluator__get_evaluator__ (const std::string &who)
 
gtk_manager__get_gtk_manager__ (const std::string &who)
 
help_system__get_help_system__ (const std::string &who)
 
interpreter__get_interpreter__ (const std::string &who)
 
load_path__get_load_path__ (const std::string &who)
 
symbol_table__get_symbol_table__ (const std::string &who)
 
type_info__get_type_info__ (const std::string &who)
 
symbol_scope __require_current_scope__ (const std::string &who)
 
OCTINTERP_API string_vector autoloaded_functions (void)
 
Array< doublebase64_decode (const std::string &str)
 
bool base64_encode (const char *inc, const size_t inlen, char **out)
 
static builtin_type_t(* build_sup_table (void))[btyp_num_types]
 
interrupt_handler catch_interrupts (void)
 
OCTINTERP_API void cleanup_statement_list (tree_statement_list **lst)
 
template<typename SRC_T , typename DST_T >
static octave_value convert_and_copy (std::list< void *> &input_buf_list, octave_idx_type input_buf_elts, octave_idx_type elts_read, octave_idx_type nr, octave_idx_type nc, bool swap, bool do_float_fmt_conv, bool do_NA_conv, octave::mach_info::float_format from_flt_fmt)
 
template<typename T , typename V >
static void convert_chars (const void *data, void *conv_data, octave_idx_type n_elts)
 
template<typename T >
static bool convert_data (const T *data, void *conv_data, octave_idx_type n_elts, oct_data_conv::data_type output_type, octave::mach_info::float_format flt_fmt)
 
template<typename T , typename V >
static void convert_ints (const T *data, void *conv_data, octave_idx_type n_elts, bool swap)
 
template<typename T >
static void convert_packcomplex_1d (T *out, size_t nr, size_t nc, octave_idx_type stride, octave_idx_type dist)
 
template<typename T >
static void convert_packcomplex_Nd (T *out, const dim_vector &dv)
 
static int convert_to_valid_int (const octave_value &tc, int &conv_err)
 
static void deadly_sig_handler (int sig)
 
static QString default_qt_settings_file (void)
 
octave_value do_class_concat (tm_const &tmc)
 
char * do_completer_word_break_hook ()
 
template<typename T >
int do_printf_conv (std::ostream &os, const char *fmt, int nsa, int sa_1, int sa_2, T arg, const std::string &who)
 
static size_t do_printf_string (std::ostream &os, const octave::printf_format_elt *elt, int nsa, int sa_1, int sa_2, const std::string &arg, const std::string &who)
 
template<typename T >
void do_scanf_conv (std::istream &is, const scanf_format_elt &fmt, T valptr, Matrix &mval, double *data, octave_idx_type &idx, octave_idx_type &conversion_count, octave_idx_type nr, octave_idx_type max_size, bool discard)
 
template void do_scanf_conv (std::istream &, const scanf_format_elt &, double *, Matrix &, double *, octave_idx_type &, octave_idx_type &, octave_idx_type, octave_idx_type, bool)
 
template<typename TYPE >
octave_value do_single_type_concat (const dim_vector &dv, tm_const &tmp)
 
template<>
octave_value do_single_type_concat< octave_map > (const dim_vector &dv, tm_const &tmp)
 
template<template< typename, typename... > class C, typename V , typename... A>
static octave_value dump_container_map (const std::map< std::string, C< V, A... >> &container_map)
 
octave_value dump_function_map (const std::map< std::string, octave_value > &fcn_map)
 
static OCTAVE_NORETURN void err_bad_result (void)
 
void err_del_index_out_of_range (bool is1d, octave_idx_type idx, octave_idx_type ext)
 
void err_index_out_of_range (int nd, int dim, octave_idx_type idx, octave_idx_type ext)
 
void err_index_out_of_range (int nd, int dim, octave_idx_type idx, octave_idx_type ext, const dim_vector &d)
 
static OCTAVE_NORETURN void err_invalid_file_id (int fid, const std::string &who)
 
void err_invalid_index (const std::string &idx, octave_idx_type nd, octave_idx_type dim, const std::string &)
 
void err_invalid_index (octave_idx_type n, octave_idx_type nd, octave_idx_type dim, const std::string &var)
 
void err_invalid_index (double n, octave_idx_type nd, octave_idx_type dim, const std::string &var)
 
void err_invalid_resize (void)
 
void err_nan_to_character_conversion (void)
 
void err_nan_to_logical_conversion (void)
 
void err_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
 
void err_nonconformant (const char *op, octave_idx_type op1_nr, octave_idx_type op1_nc, octave_idx_type op2_nr, octave_idx_type op2_nc)
 
void err_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims)
 
OCTINTERP_API octave_value_list eval_string (const std::string &, bool silent, int &parse_status, int nargout)
 
OCTINTERP_API octave_value eval_string (const std::string &, bool silent, int &parse_status)
 
static std::string expand_char_class (const std::string &s)
 
OCTINTERP_API octave_value_list feval (const std::string &name, const octave_value_list &args=octave_value_list(), int nargout=0)
 
OCTINTERP_API octave_value_list feval (octave_function *fcn, const octave_value_list &args=octave_value_list(), int nargout=0)
 
OCTINTERP_API octave_value_list feval (octave_value &val, const octave_value_list &args=octave_value_list(), int nargout=0)
 
OCTINTERP_API octave_value_list feval (const octave_value_list &args, int nargout=0)
 
std::string fftw_version (void)
 
std::string fftwf_version (void)
 
static void final_index_error (octave::index_exception &e, const octave::tree_expression *expr)
 
static void final_index_error (octave::index_exception &e, const octave::tree_expression *expr)
 
std::string find_bkpt_list (octave_value_list slist, std::string match)
 
static octave_user_codefind_fcn_by_line (octave_user_code *main_fcn, int lineno, int *end_line=nullptr)
 
void flush_stdout (void)
 
static void fpe_sig_handler (int)
 
static void ft_face_destroyed (void *object)
 
static void generic_sig_handler (int sig)
 
std::string genpath (const std::string &dirname, const string_vector &skip)
 
std::string get_comment_text (void)
 
char * get_comment_text_c_str (void)
 
std::string get_concat_class (const std::string &c1, const std::string &c2)
 
std::string get_dispatch_type (const octave_value_list &args, builtin_type_t &builtin_type)
 
std::string get_dispatch_type (const octave_value_list &args)
 
load_path::dir_info::fcn_file_map_type get_fcn_files (const std::string &d)
 
OCTINTERP_API std::string get_help_from_file (const std::string &nm, bool &symbol_found, std::string &file)
 
OCTINTERP_API std::string get_help_from_file (const std::string &nm, bool &symbol_found)
 
static int get_maxlights (void)
 
static octave_idx_type get_size (double d, const std::string &who)
 
static void get_size (const Array< double > &size, octave_idx_type &nr, octave_idx_type &nc, bool &one_elt_size_spec, const std::string &who)
 
octave_user_codeget_user_code (const std::string &fname)
 
void gl2ps_print (const graphics_object &fig, const std::string &stream, const std::string &term)
 
static std::string gl_get_string (GLenum id)
 
interrupt_handler ignore_interrupts (void)
 
static Cell init_inf_nan (void)
 
static base_mutexinit_rep (void)
 
void install_signal_handlers (void)
 
bool is_keyword (const std::string &s)
 
static bool is_nan_or_inf (const octave_value &val)
 
template<typename T >
static bool is_old_NA (T)
 
template<>
bool is_old_NA< double > (double val)
 
template<typename T , typename U >
bool isa (U *value)
 
std::ostream & jit_print (std::ostream &os, jit_type *atype)
 
std::ostream & jit_print (std::ostream &os, jit_value *avalue)
 
jit_typejit_type_join (jit_type *lhs, jit_type *rhs)
 
OCTINTERP_API octave_value load_fcn_from_file (const std::string &file_name, const std::string &dir_name="", const std::string &dispatch_type="", const std::string &package_name="", const std::string &fcn_name="", bool autoload=false)
 
static bool load_out_of_date_fcn (const std::string &ff, const std::string &dir_name, octave_value &function, const std::string &dispatch_type="", const std::string &package_name="")
 
OCTINTERP_API std::string lookup_autoload (const std::string &nm)
 
base_text_renderermake_ft_text_renderer (void)
 
static void make_indices (double *indices, octave_idx_type idx_count, Array< idx_vector > &result)
 
string_vector make_name_list (void)
 
static octave_scalar_map make_sig_struct (void)
 
static octave_value_list make_value_list (octave::tree_evaluator *tw, octave::tree_argument_list *m_args, const string_vector &m_arg_nm, const octave_value *object, bool rvalue=true)
 
tree_binary_expressionmaybe_compound_binary_expression (tree_expression *a, tree_expression *b, int l, int c, octave_value::binary_op t)
 
void maybe_warn_string_concat (bool all_dq_strings_p, bool all_sq_strings_p)
 
static void my_friendly_exit (int sig, bool save_vars=true)
 
static int next_power_of_2 (int n)
 
octave_base_valueoctave_jit_binary_any_any (octave_value::binary_op op, octave_base_value *lhs, octave_base_value *rhs)
 
octave_base_valueoctave_jit_call (octave_builtin::fcn fn, size_t nargin, octave_base_value **argin, jit_type *result_type)
 
octave_base_valueoctave_jit_cast_any_complex (Complex c)
 
octave_base_valueoctave_jit_cast_any_matrix (jit_matrix *m)
 
octave_base_valueoctave_jit_cast_any_range (jit_range *rng)
 
octave_base_valueoctave_jit_cast_any_scalar (double value)
 
Complex octave_jit_cast_complex_any (octave_base_value *obv)
 
jit_matrix octave_jit_cast_matrix_any (octave_base_value *obv)
 
jit_range octave_jit_cast_range_any (octave_base_value *obv)
 
double octave_jit_cast_scalar_any (octave_base_value *obv)
 
Complex octave_jit_complex_div (Complex lhs, Complex rhs)
 
Complex octave_jit_complex_mul (Complex lhs, Complex rhs)
 
octave_idx_type octave_jit_compute_nelem (double base, double limit, double inc)
 
octave_base_valueoctave_jit_create_undef (void)
 
double octave_jit_end_matrix (jit_matrix *mat, octave_idx_type idx, octave_idx_type count)
 
void octave_jit_err_nan_to_logical_conversion (void)
 
void octave_jit_gindex_range (int nd, int dim, octave_idx_type iext, octave_idx_type ext)
 
void octave_jit_ginvalid_index (void)
 
octave_base_valueoctave_jit_grab_any (octave_base_value *obv)
 
jit_matrix octave_jit_grab_matrix (jit_matrix *m)
 
double octave_jit_paren_scalar (jit_matrix *mat, double *indicies, octave_idx_type idx_count)
 
jit_matrix octave_jit_paren_scalar_subsasgn (jit_matrix *mat, double *indices, octave_idx_type idx_count, double value)
 
jit_matrix octave_jit_paren_subsasgn_impl (jit_matrix *mat, octave_idx_type index, double value)
 
jit_matrix octave_jit_paren_subsasgn_matrix_range (jit_matrix *mat, jit_range *index, double value)
 
Complex octave_jit_pow_complex_complex (Complex lhs, Complex rhs)
 
Complex octave_jit_pow_complex_scalar (Complex lhs, double rhs)
 
Complex octave_jit_pow_scalar_complex (double lhs, Complex rhs)
 
Complex octave_jit_pow_scalar_scalar (double lhs, double rhs)
 
void octave_jit_print_any (const char *name, octave_base_value *obv)
 
void octave_jit_print_matrix (jit_matrix *m)
 
void octave_jit_print_scalar (const char *name, double value)
 
void octave_jit_release_any (octave_base_value *obv)
 
void octave_jit_release_matrix (jit_matrix *m)
 
template<typename T >
std::istream & octave_scan (std::istream &is, const scanf_format_elt &fmt, T *valptr)
 
template<>
std::istream & octave_scan (std::istream &is, const scanf_format_elt &, char *valptr)
 
template<>
std::istream & octave_scan (std::istream &is, const scanf_format_elt &fmt, double *valptr)
 
template<typename T >
std::istream & octave_scan_1 (std::istream &is, const scanf_format_elt &fmt, T *valptr)
 
static bool ok_for_signed_int_conv (const octave_value &val)
 
static bool ok_for_unsigned_int_conv (const octave_value &val)
 
std::ostream & operator<< (std::ostream &os, const llvm::Value &v)
 
std::ostream & operator<< (std::ostream &os, const jit_block_list &blocks)
 
std::ostream & operator<< (std::ostream &os, const jit_value &value)
 
std::ostream & operator<< (std::ostream &os, const jit_range &rng)
 
std::ostream & operator<< (std::ostream &os, const jit_matrix &mat)
 
std::ostream & operator<< (std::ostream &os, const jit_function &fn)
 
bool out_of_date_check (octave_value &function, const std::string &dispatch_type, bool check_relative)
 
static double pown (double x, unsigned int n)
 
static bool quit_loop_now (void)
 
static int read_data (void *buffer, size_t size, size_t nmemb, void *streamp)
 
template<typename T >
static T replace_old_NA (T val)
 
template<>
double replace_old_NA< double > (double val)
 
void respond_to_pending_signals (void)
 
OCTINTERP_API string_vector reverse_lookup_autoload (const std::string &nm)
 
void save_comment_text (const std::string &text)
 
interrupt_handler set_interrupt_handler (const volatile interrupt_handler &h, bool restart_syscalls)
 
static void set_sig_struct_field (octave_scalar_map &m, const char *signame)
 
sig_handlerset_signal_handler (int sig, sig_handler *handler, bool restart_syscalls)
 
sig_handlerset_signal_handler (const char *signame, sig_handler *handler, bool restart_syscalls)
 
static octave_value::compound_binary_op simplify_ldiv_op (octave::tree_expression_ptr_t &a, octave::tree_expression_ptr_t &)
 
static octave_value::compound_binary_op simplify_mul_op (octave::tree_expression_ptr_t &a, octave::tree_expression_ptr_t &b)
 
template<typename TYPE , typename T >
void single_type_concat (Array< T > &result, tm_const &tmp)
 
template<typename TYPE , typename T >
void single_type_concat (Array< T > &result, const dim_vector &dv, tm_const &tmp)
 
template<typename TYPE , typename T >
void single_type_concat (Sparse< T > &result, const dim_vector &dv, tm_const &tmp)
 
template<typename MAP >
void single_type_concat (octave_map &result, const dim_vector &dv, tm_const &tmp)
 
OCTINTERP_API void source_file (const std::string &file_name, const std::string &context="", bool verbose=false, bool require_file=true, const std::string &warn_for="")
 
static void split_name_with_package (const std::string &name, std::string &fname, std::string &pname)
 
static octave_value::unary_op strip_trans_herm (octave::tree_expression_ptr_t &exp)
 
static std::string switch_to_g_format (const octave::printf_format_elt *elt)
 
static size_t throw_away (void *, size_t size, size_t nmemb, void *)
 
octave_idx_typeto_octave_idx_type_ptr (suitesparse_integer *i)
 
const octave_idx_typeto_octave_idx_type_ptr (const suitesparse_integer *i)
 
suitesparse_integerto_suitesparse_intptr (octave_idx_type *i)
 
const suitesparse_integerto_suitesparse_intptr (const octave_idx_type *i)
 
static void warn_glyph_render (FT_ULong c)
 
static void warn_missing_glyph (FT_ULong c)
 
void warn_singular_matrix (double rcond)
 
static int write_data (void *buffer, size_t size, size_t nmemb, void *streamp)
 
static int xisint (double x)
 
template<typename X >
string_vector xzip (const Array< std::string > &source_patterns, const std::function< std::string(const std::string &)> &mk_dest_path)
 
template<typename X >
string_vector xzip (const Array< std::string > &source_patterns)
 
template<typename X >
string_vector xzip (const Array< std::string > &source_patterns, const std::string &out_dir)
 
template<typename X >
static octave_value_list xzip (const std::string &func_name, const octave_value_list &args)
 

Variables

static llvm::IRBuilder builder (llvm::getGlobalContext())
 
bool can_interrupt = false
 
static llvm::LLVMContext & context = llvm::getGlobalContext ()
 
static llvm::LLVMContext & context = llvm::getGlobalContext ()
 
static mutex event_hook_lock
 
bool octave_debug_on_interrupt_state = false
 
int pipe_handler_error_count = 0
 
static boolsignals_caught = nullptr
 
QUIWidgetCreator uiwidget_creator
 
bool Vdebug_on_interrupt = false
 
static bool Vsighup_dumps_octave_core = true
 
static bool Vsigquit_dumps_octave_core = true
 
static bool Vsigterm_dumps_octave_core = true
 

Typedef Documentation

◆ conv_fptr

typedef octave_value(* octave::conv_fptr) (std::list< void * > &input_buf_list, octave_idx_type input_buf_elts, octave_idx_type elts_read, octave_idx_type nr, octave_idx_type nc, bool swap, bool do_float_fmt_conv, bool do_NA_conv, octave::mach_info::float_format from_flt_fmt)

Definition at line 6394 of file oct-stream.cc.

◆ jit_const_bool

Definition at line 86 of file jit-ir.h.

◆ jit_const_complex

◆ jit_const_index

◆ jit_const_range

◆ jit_const_scalar

◆ jit_const_string

Definition at line 94 of file jit-ir.h.

◆ jit_matrix

Definition at line 114 of file jit-typeinfo.h.

◆ sig_handler

typedef void octave::sig_handler(int)

Definition at line 43 of file sighandlers.h.

◆ suitesparse_integer

Definition at line 168 of file oct-sparse.h.

◆ tree_expression_ptr_t

Definition at line 33 of file pt-cbinop.cc.

◆ url_handle

Definition at line 42 of file url-handle-manager.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNIFORM 
FLAT 
INTERP 
TEXTURE 

Definition at line 69 of file gl-render.cc.

◆ anonymous enum

anonymous enum
Enumerator
NONE 
GOURAUD 

Definition at line 78 of file gl-render.cc.

◆ anonymous enum

anonymous enum
Enumerator
X_AXIS 
Y_AXIS 
Z_AXIS 

Definition at line 61 of file gl-render.cc.

◆ dbstop_args

Enumerator
dbstop_in 
dbstop_at 
dbstop_if 
dbstop_none 

Definition at line 245 of file bp-table.cc.

◆ result_type

Enumerator
RT_UNDEFINED 
RT_VALUE 
RT_VALUE_LIST 

Definition at line 49 of file pt-eval.h.

◆ select_flags

Enumerator
select_ignore_hittest 
select_last 

Definition at line 34 of file gl-select.h.

Function Documentation

◆ __get_bp_table__()

◆ __get_call_stack__()

◆ __get_cdef_manager__()

◆ __get_child_list__()

◆ __get_current_scope__()

◆ __get_dynamic_loader__()

◆ __get_evaluator__()

tree_evaluator & octave::__get_evaluator__ ( const std::string who)

◆ __get_gtk_manager__()

◆ __get_help_system__()

help_system & octave::__get_help_system__ ( const std::string who)

◆ __get_interpreter__()

◆ __get_load_path__()

◆ __get_symbol_table__()

◆ __get_type_info__()

◆ __require_current_scope__()

symbol_scope octave::__require_current_scope__ ( const std::string who)

◆ autoloaded_functions()

OCTINTERP_API string_vector octave::autoloaded_functions ( void  )

◆ base64_decode()

OCTAVE_API Array< double > octave::base64_decode ( const std::string str)

◆ base64_encode()

OCTAVE_API bool octave::base64_encode ( const char *  inc,
const size_t  inlen,
char **  out 
)

◆ build_sup_table()

static builtin_type_t(* octave::build_sup_table ( void  ) )[btyp_num_types]
static

◆ catch_interrupts()

OCTINTERP_API interrupt_handler octave::catch_interrupts ( void  )

Definition at line 323 of file sighandlers.cc.

References generic_sig_handler(), retval, and set_signal_handler().

Referenced by install_signal_handlers().

◆ cleanup_statement_list()

OCTINTERP_API void octave::cleanup_statement_list ( tree_statement_list **  lst)

◆ convert_and_copy()

template<typename SRC_T , typename DST_T >
static octave_value octave::convert_and_copy ( std::list< void *> &  input_buf_list,
octave_idx_type  input_buf_elts,
octave_idx_type  elts_read,
octave_idx_type  nr,
octave_idx_type  nc,
bool  swap,
bool  do_float_fmt_conv,
bool  do_NA_conv,
octave::mach_info::float_format  from_flt_fmt 
)
static

◆ convert_chars()

template<typename T , typename V >
static void octave::convert_chars ( const void *  data,
void *  conv_data,
octave_idx_type  n_elts 
)
static

Definition at line 6731 of file oct-stream.cc.

References i, and V.

◆ convert_data()

◆ convert_ints()

template<typename T , typename V >
static void octave::convert_ints ( const T *  data,
void *  conv_data,
octave_idx_type  n_elts,
bool  swap 
)
static

Definition at line 6743 of file oct-stream.cc.

References i, swap, V, and val.

◆ convert_packcomplex_1d()

template<typename T >
static void octave::convert_packcomplex_1d ( T *  out,
size_t  nr,
size_t  nc,
octave_idx_type  stride,
octave_idx_type  dist 
)
inlinestatic

Definition at line 779 of file oct-fftw.cc.

References conj(), and i.

Referenced by octave::fftw::fft().

◆ convert_packcomplex_Nd()

template<typename T >
static void octave::convert_packcomplex_Nd ( T *  out,
const dim_vector dv 
)
inlinestatic

Definition at line 795 of file oct-fftw.cc.

References conj(), dv, i, k, dim_vector::ndims(), dim_vector::numel(), and tmp.

Referenced by octave::fftw::fftNd().

◆ convert_to_valid_int()

◆ deadly_sig_handler()

static void octave::deadly_sig_handler ( int  sig)
static

◆ default_qt_settings_file()

◆ do_class_concat()

octave_value octave::do_class_concat ( tm_const tmc)

◆ do_completer_word_break_hook()

char* octave::do_completer_word_break_hook ( )

◆ do_printf_conv()

template<typename T >
int octave::do_printf_conv ( std::ostream &  os,
const char *  fmt,
int  nsa,
int  sa_1,
int  sa_2,
arg,
const std::string who 
)

Definition at line 5528 of file oct-stream.cc.

References arg, error(), octave_format(), os, and retval.

Referenced by octave::base_stream::do_numeric_printf_conv().

◆ do_printf_string()

static size_t octave::do_printf_string ( std::ostream &  os,
const octave::printf_format_elt elt,
int  nsa,
int  sa_1,
int  sa_2,
const std::string arg,
const std::string who 
)
static

◆ do_scanf_conv() [1/2]

template<typename T >
void octave::do_scanf_conv ( std::istream &  is,
const scanf_format_elt fmt,
valptr,
Matrix mval,
double data,
octave_idx_type idx,
octave_idx_type conversion_count,
octave_idx_type  nr,
octave_idx_type  max_size,
bool  discard 
)

Definition at line 4316 of file oct-stream.cc.

References Array< T >::fortran_vec(), is, octave_scan(), and Matrix::resize().

Referenced by octave::base_stream::do_scanf().

◆ do_scanf_conv() [2/2]

template void octave::do_scanf_conv ( std::istream &  ,
const scanf_format_elt ,
double ,
Matrix ,
double ,
octave_idx_type ,
octave_idx_type ,
octave_idx_type  ,
octave_idx_type  ,
bool   
)

◆ do_single_type_concat()

template<typename TYPE >
octave_value octave::do_single_type_concat ( const dim_vector dv,
tm_const tmp 
)

Definition at line 420 of file pt-tm-const.h.

References dv, result, and tmp.

◆ do_single_type_concat< octave_map >()

template<>
octave_value octave::do_single_type_concat< octave_map > ( const dim_vector dv,
tm_const tmp 
)

Definition at line 368 of file pt-tm-const.cc.

References dv, result, and tmp.

Referenced by octave::tree_evaluator::visit_matrix().

◆ dump_container_map()

template<template< typename, typename... > class C, typename V , typename... A>
static octave_value octave::dump_container_map ( const std::map< std::string, C< V, A... >> &  container_map)
static

Definition at line 505 of file symtab.cc.

References A, C, nm, octave_value(), string, and V.

Referenced by octave::symbol_table::dump().

◆ dump_function_map()

octave_value octave::dump_function_map ( const std::map< std::string, octave_value > &  fcn_map)

◆ err_bad_result()

static OCTAVE_NORETURN void octave::err_bad_result ( void  )
static

Definition at line 446 of file jit-typeinfo.cc.

References error().

Referenced by octave_jit_call().

◆ err_del_index_out_of_range()

OCTAVE_NORETURN OCTAVE_API void octave::err_del_index_out_of_range ( bool  is1d,
octave_idx_type  idx,
octave_idx_type  ext 
)

◆ err_index_out_of_range() [1/2]

OCTAVE_NORETURN OCTAVE_API void octave::err_index_out_of_range ( int  nd,
int  dim,
octave_idx_type  idx,
octave_idx_type  ext 
)

◆ err_index_out_of_range() [2/2]

OCTAVE_NORETURN OCTAVE_API void octave::err_index_out_of_range ( int  nd,
int  dim,
octave_idx_type  idx,
octave_idx_type  ext,
const dim_vector d 
)

Definition at line 292 of file lo-array-errwarn.cc.

References d, and e.

◆ err_invalid_file_id()

static OCTAVE_NORETURN void octave::err_invalid_file_id ( int  fid,
const std::string who 
)
static

Definition at line 7343 of file oct-stream.cc.

References error(), and fid.

Referenced by octave::stream_list::lookup(), and octave::stream_list::remove().

◆ err_invalid_index() [1/3]

◆ err_invalid_index() [2/3]

OCTAVE_NORETURN OCTAVE_API void octave::err_invalid_index ( octave_idx_type  n,
octave_idx_type  nd,
octave_idx_type  dim,
const std::string var 
)

Definition at line 204 of file lo-array-errwarn.cc.

References err_invalid_index(), and var.

◆ err_invalid_index() [3/3]

OCTAVE_NORETURN OCTAVE_API void octave::err_invalid_index ( double  n,
octave_idx_type  nd,
octave_idx_type  dim,
const std::string var 
)

Definition at line 213 of file lo-array-errwarn.cc.

References err_invalid_index(), and var.

◆ err_invalid_resize()

OCTAVE_NORETURN OCTAVE_API void octave::err_invalid_resize ( void  )

◆ err_nan_to_character_conversion()

◆ err_nan_to_logical_conversion()

◆ err_nonconformant() [1/3]

◆ err_nonconformant() [2/3]

OCTAVE_NORETURN OCTAVE_API void octave::err_nonconformant ( const char *  op,
octave_idx_type  op1_nr,
octave_idx_type  op1_nc,
octave_idx_type  op2_nr,
octave_idx_type  op2_nc 
)

Definition at line 72 of file lo-array-errwarn.cc.

References error_id_nonconformant_args.

◆ err_nonconformant() [3/3]

OCTAVE_NORETURN OCTAVE_API void octave::err_nonconformant ( const char *  op,
const dim_vector op1_dims,
const dim_vector op2_dims 
)

Definition at line 84 of file lo-array-errwarn.cc.

References error_id_nonconformant_args, dim_vector::str(), and string.

◆ eval_string() [1/2]

◆ eval_string() [2/2]

OCTINTERP_API octave_value octave::eval_string ( const std::string ,
bool  silent,
int &  parse_status 
)

◆ expand_char_class()

static std::string octave::expand_char_class ( const std::string s)
static

Definition at line 187 of file oct-stream.cc.

References c, i, retval, s, and string.

Referenced by octave::scanf_format_list::finish_conversion().

◆ feval() [1/4]

OCTINTERP_API octave_value_list octave::feval ( const std::string name,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)

◆ feval() [2/4]

OCTINTERP_API octave_value_list octave::feval ( octave_function fcn,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)

◆ feval() [3/4]

OCTINTERP_API octave_value_list octave::feval ( octave_value val,
const octave_value_list args = octave_value_list(),
int  nargout = 0 
)

◆ feval() [4/4]

OCTINTERP_API octave_value_list octave::feval ( const octave_value_list args,
int  nargout = 0 
)

◆ fftw_version()

OCTAVE_API std::string octave::fftw_version ( void  )

Definition at line 1128 of file oct-fftw.cc.

◆ fftwf_version()

OCTAVE_API std::string octave::fftwf_version ( void  )

Definition at line 1138 of file oct-fftw.cc.

◆ final_index_error() [1/2]

◆ final_index_error() [2/2]

◆ find_bkpt_list()

std::string octave::find_bkpt_list ( octave_value_list  slist,
std::string  match 
)

Definition at line 742 of file bp-table.cc.

References i, octave_value_list::length(), retval, and string.

Referenced by octave::bp_table::get_breakpoint_list().

◆ find_fcn_by_line()

static octave_user_code* octave::find_fcn_by_line ( octave_user_code main_fcn,
int  lineno,
int *  end_line = nullptr 
)
static

◆ flush_stdout()

◆ fpe_sig_handler()

static void octave::fpe_sig_handler ( int  )
static

Definition at line 315 of file sighandlers.cc.

Referenced by install_signal_handlers().

◆ ft_face_destroyed()

static void octave::ft_face_destroyed ( void *  object)
static

◆ generic_sig_handler()

static void octave::generic_sig_handler ( int  sig)
static

◆ genpath()

◆ get_comment_text()

std::string octave::get_comment_text ( void  )

◆ get_comment_text_c_str()

char* octave::get_comment_text_c_str ( void  )

◆ get_concat_class()

std::string octave::get_concat_class ( const std::string c1,
const std::string c2 
)

◆ get_dispatch_type() [1/2]

◆ get_dispatch_type() [2/2]

OCTINTERP_API std::string octave::get_dispatch_type ( const octave_value_list args)

Definition at line 328 of file fcn-info.cc.

References get_dispatch_type().

◆ get_fcn_files()

◆ get_help_from_file() [1/2]

OCTINTERP_API std::string octave::get_help_from_file ( const std::string nm,
bool symbol_found,
std::string file 
)

◆ get_help_from_file() [2/2]

OCTINTERP_API std::string octave::get_help_from_file ( const std::string nm,
bool symbol_found 
)

◆ get_maxlights()

static int octave::get_maxlights ( void  )
static

Definition at line 1980 of file gl-render.cc.

Referenced by octave::opengl_renderer::draw_axes_children().

◆ get_size() [1/2]

static octave_idx_type octave::get_size ( double  d,
const std::string who 
)
static

◆ get_size() [2/2]

static void octave::get_size ( const Array< double > &  size,
octave_idx_type nr,
octave_idx_type nc,
bool one_elt_size_spec,
const std::string who 
)
static

Definition at line 146 of file oct-stream.cc.

References error(), get_size(), octave::math::isinf(), and Array< T >::numel().

◆ get_user_code()

◆ gl2ps_print()

OCTINTERP_API void octave::gl2ps_print ( const graphics_object fig,
const std::string stream,
const std::string term 
)

◆ gl_get_string()

static std::string octave::gl_get_string ( GLenum  id)
static

Definition at line 681 of file gl-render.cc.

References string.

Referenced by octave::opengl_renderer::draw_figure().

◆ ignore_interrupts()

OCTINTERP_API interrupt_handler octave::ignore_interrupts ( void  )

Definition at line 334 of file sighandlers.cc.

References retval, and set_signal_handler().

Referenced by do_edit_history(), octave_kbhit(), and respond_to_pending_signals().

◆ init_inf_nan()

static Cell octave::init_inf_nan ( void  )
static

Definition at line 1169 of file oct-stream.cc.

References retval.

◆ init_rep()

static base_mutex* octave::init_rep ( void  )
static

Definition at line 166 of file oct-mutex.cc.

◆ install_signal_handlers()

OCTINTERP_API void octave::install_signal_handlers ( void  )

◆ is_keyword()

bool octave::is_keyword ( const std::string s)

◆ is_nan_or_inf()

static bool octave::is_nan_or_inf ( const octave_value val)
static

◆ is_old_NA()

template<typename T >
static bool octave::is_old_NA ( )
inlinestatic

Definition at line 6273 of file oct-stream.cc.

Referenced by convert_and_copy().

◆ is_old_NA< double >()

template<>
bool octave::is_old_NA< double > ( double  val)
inline

Definition at line 6280 of file oct-stream.cc.

References __lo_ieee_is_old_NA(), and val.

◆ isa()

template<typename T , typename U >
bool octave::isa ( U *  value)

Definition at line 228 of file jit-util.h.

References value.

◆ jit_print() [1/2]

std::ostream & octave::jit_print ( std::ostream &  os,
jit_type atype 
)

Definition at line 81 of file jit-typeinfo.cc.

References octave::jit_type::name(), and os.

◆ jit_print() [2/2]

std::ostream & octave::jit_print ( std::ostream &  os,
jit_value avalue 
)

◆ jit_type_join()

jit_type * octave::jit_type_join ( jit_type lhs,
jit_type rhs 
)

Definition at line 532 of file jit-typeinfo.cc.

References octave::jit_type::depth(), and octave::jit_type::parent().

Referenced by octave::jit_phi::infer().

◆ load_fcn_from_file()

◆ load_out_of_date_fcn()

static bool octave::load_out_of_date_fcn ( const std::string ff,
const std::string dir_name,
octave_value function,
const std::string dispatch_type = "",
const std::string package_name = "" 
)
inlinestatic

Definition at line 92 of file symtab.cc.

References octave_value::is_defined(), load_fcn_from_file(), octave_value(), and retval.

Referenced by out_of_date_check().

◆ lookup_autoload()

OCTINTERP_API std::string octave::lookup_autoload ( const std::string nm)

◆ make_ft_text_renderer()

base_text_renderer * octave::make_ft_text_renderer ( void  )

Definition at line 1414 of file ft-text-renderer.cc.

Referenced by make_text_renderer().

◆ make_indices()

static void octave::make_indices ( double indices,
octave_idx_type  idx_count,
Array< idx_vector > &  result 
)
static

Definition at line 254 of file jit-typeinfo.cc.

References i, and result.

Referenced by octave_jit_paren_scalar(), and octave_jit_paren_scalar_subsasgn().

◆ make_name_list()

string_vector octave::make_name_list ( void  )

◆ make_sig_struct()

static octave_scalar_map octave::make_sig_struct ( void  )
static

Definition at line 445 of file sighandlers.cc.

References set_sig_struct_field().

Referenced by FSIG().

◆ make_value_list()

static octave_value_list octave::make_value_list ( octave::tree_evaluator tw,
octave::tree_argument_list m_args,
const string_vector m_arg_nm,
const octave_value object,
bool  rvalue = true 
)
inlinestatic

◆ maybe_compound_binary_expression()

◆ maybe_warn_string_concat()

void octave::maybe_warn_string_concat ( bool  all_dq_strings_p,
bool  all_sq_strings_p 
)

Definition at line 117 of file pt-mat.cc.

References warning_with_id().

Referenced by octave::tree_evaluator::visit_matrix().

◆ my_friendly_exit()

static void octave::my_friendly_exit ( int  sig,
bool  save_vars = true 
)
static

◆ next_power_of_2()

static int octave::next_power_of_2 ( int  n)
static

Definition at line 48 of file gl-render.cc.

References max().

Referenced by octave::opengl_texture::create().

◆ octave_jit_binary_any_any()

octave_base_value* octave::octave_jit_binary_any_any ( octave_value::binary_op  op,
octave_base_value lhs,
octave_base_value rhs 
)

Definition at line 104 of file jit-typeinfo.cc.

References do_binary_op(), octave_base_value::grab(), and result.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_call()

◆ octave_jit_cast_any_complex()

octave_base_value* octave::octave_jit_cast_any_complex ( Complex  c)

Definition at line 208 of file jit-typeinfo.cc.

References c.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_cast_any_matrix()

octave_base_value* octave::octave_jit_cast_any_matrix ( jit_matrix m)

◆ octave_jit_cast_any_range()

octave_base_value* octave::octave_jit_cast_any_range ( jit_range rng)

◆ octave_jit_cast_any_scalar()

octave_base_value* octave::octave_jit_cast_any_scalar ( double  value)

Definition at line 194 of file jit-typeinfo.cc.

References value.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_cast_complex_any()

Complex octave::octave_jit_cast_complex_any ( octave_base_value obv)

◆ octave_jit_cast_matrix_any()

jit_matrix octave::octave_jit_cast_matrix_any ( octave_base_value obv)

◆ octave_jit_cast_range_any()

jit_range octave::octave_jit_cast_range_any ( octave_base_value obv)

◆ octave_jit_cast_scalar_any()

double octave::octave_jit_cast_scalar_any ( octave_base_value obv)

◆ octave_jit_complex_div()

Complex octave::octave_jit_complex_div ( Complex  lhs,
Complex  rhs 
)

Definition at line 387 of file jit-typeinfo.cc.

References warn_divide_by_zero().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_complex_mul()

Complex octave::octave_jit_complex_mul ( Complex  lhs,
Complex  rhs 
)

Definition at line 378 of file jit-typeinfo.cc.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_compute_nelem()

octave_idx_type octave::octave_jit_compute_nelem ( double  base,
double  limit,
double  inc 
)

Definition at line 116 of file jit-typeinfo.cc.

References Range::numel().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_create_undef()

octave_base_value* octave::octave_jit_create_undef ( void  )

◆ octave_jit_end_matrix()

double octave::octave_jit_end_matrix ( jit_matrix mat,
octave_idx_type  idx,
octave_idx_type  count 
)

Definition at line 345 of file jit-typeinfo.cc.

References i, and octave::jit_array< T, U >::m_dimensions.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_err_nan_to_logical_conversion()

void octave::octave_jit_err_nan_to_logical_conversion ( void  )

Definition at line 217 of file jit-typeinfo.cc.

References err_nan_to_logical_conversion().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_gindex_range()

void octave::octave_jit_gindex_range ( int  nd,
int  dim,
octave_idx_type  iext,
octave_idx_type  ext 
)

Definition at line 232 of file jit-typeinfo.cc.

References err_index_out_of_range().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_ginvalid_index()

void octave::octave_jit_ginvalid_index ( void  )

Definition at line 223 of file jit-typeinfo.cc.

References err_invalid_index().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_grab_any()

octave_base_value* octave::octave_jit_grab_any ( octave_base_value obv)

Definition at line 135 of file jit-typeinfo.cc.

References octave_base_value::grab().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_grab_matrix()

jit_matrix octave::octave_jit_grab_matrix ( jit_matrix m)

Definition at line 142 of file jit-typeinfo.cc.

References octave::jit_array< T, U >::m_array.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_paren_scalar()

double octave::octave_jit_paren_scalar ( jit_matrix mat,
double indicies,
octave_idx_type  idx_count 
)

◆ octave_jit_paren_scalar_subsasgn()

jit_matrix octave::octave_jit_paren_scalar_subsasgn ( jit_matrix mat,
double indices,
octave_idx_type  idx_count,
double  value 
)

◆ octave_jit_paren_subsasgn_impl()

jit_matrix octave::octave_jit_paren_subsasgn_impl ( jit_matrix mat,
octave_idx_type  index,
double  value 
)

◆ octave_jit_paren_subsasgn_matrix_range()

◆ octave_jit_pow_complex_complex()

Complex octave::octave_jit_pow_complex_complex ( Complex  lhs,
Complex  rhs 
)

Definition at line 415 of file jit-typeinfo.cc.

References octave_jit_pow_scalar_scalar(), and pow().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_pow_complex_scalar()

Complex octave::octave_jit_pow_complex_scalar ( Complex  lhs,
double  rhs 
)

Definition at line 423 of file jit-typeinfo.cc.

References octave_jit_pow_scalar_scalar(), and pow().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_pow_scalar_complex()

Complex octave::octave_jit_pow_scalar_complex ( double  lhs,
Complex  rhs 
)

Definition at line 431 of file jit-typeinfo.cc.

References octave_jit_pow_scalar_scalar(), and pow().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_pow_scalar_scalar()

Complex octave::octave_jit_pow_scalar_scalar ( double  lhs,
double  rhs 
)

◆ octave_jit_print_any()

void octave::octave_jit_print_any ( const char *  name,
octave_base_value obv 
)

◆ octave_jit_print_matrix()

void octave::octave_jit_print_matrix ( jit_matrix m)

Definition at line 439 of file jit-typeinfo.cc.

◆ octave_jit_print_scalar()

void octave::octave_jit_print_scalar ( const char *  name,
double  value 
)

◆ octave_jit_release_any()

void octave::octave_jit_release_any ( octave_base_value obv)

Definition at line 123 of file jit-typeinfo.cc.

References octave_base_value::release().

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_jit_release_matrix()

void octave::octave_jit_release_matrix ( jit_matrix m)

Definition at line 129 of file jit-typeinfo.cc.

References octave::jit_array< T, U >::m_array.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ octave_scan() [1/3]

template<typename T >
std::istream& octave::octave_scan ( std::istream &  is,
const scanf_format_elt fmt,
T *  valptr 
)

◆ octave_scan() [2/3]

template<>
std::istream& octave::octave_scan ( std::istream &  is,
const scanf_format_elt ,
char *  valptr 
)

Definition at line 4273 of file oct-stream.cc.

References is.

◆ octave_scan() [3/3]

template<>
std::istream& octave::octave_scan ( std::istream &  is,
const scanf_format_elt fmt,
double valptr 
)

Definition at line 4281 of file oct-stream.cc.

References is, and panic_impossible.

◆ octave_scan_1()

template<typename T >
std::istream& octave::octave_scan_1 ( std::istream &  is,
const scanf_format_elt fmt,
T *  valptr 
)

Definition at line 4159 of file oct-stream.cc.

References is, octave::scanf_format_elt::type, and value.

Referenced by octave_scan().

◆ ok_for_signed_int_conv()

static bool octave::ok_for_signed_int_conv ( const octave_value val)
static

◆ ok_for_unsigned_int_conv()

static bool octave::ok_for_unsigned_int_conv ( const octave_value val)
static

◆ operator<<() [1/6]

std::ostream & octave::operator<< ( std::ostream &  os,
const llvm::Value &  v 
)

Definition at line 46 of file jit-util.cc.

References os.

◆ operator<<() [2/6]

std::ostream & octave::operator<< ( std::ostream &  os,
const jit_block_list blocks 
)

Definition at line 133 of file jit-ir.cc.

References octave::jit_block_list::begin(), octave::jit_block_list::end(), and os.

◆ operator<<() [3/6]

std::ostream & octave::operator<< ( std::ostream &  os,
const jit_value value 
)

Definition at line 192 of file jit-ir.cc.

References os, and value.

◆ operator<<() [4/6]

std::ostream & octave::operator<< ( std::ostream &  os,
const jit_range rng 
)

◆ operator<<() [5/6]

◆ operator<<() [6/6]

std::ostream & octave::operator<< ( std::ostream &  os,
const jit_function fn 
)

◆ out_of_date_check()

◆ pown()

static double octave::pown ( double  x,
unsigned int  n 
)
static

Definition at line 1154 of file oct-stream.cc.

References d, retval, and x.

Referenced by octave::textscan::read_double().

◆ quit_loop_now()

◆ read_data()

static int octave::read_data ( void *  buffer,
size_t  size,
size_t  nmemb,
void *  streamp 
)
static

Definition at line 231 of file url-transfer.cc.

References octave::stream::eof(), and octave::stream::read().

Referenced by octave::curl_transfer::init().

◆ replace_old_NA()

template<typename T >
static T octave::replace_old_NA ( val)
inlinestatic

Definition at line 6287 of file oct-stream.cc.

References val.

Referenced by convert_and_copy().

◆ replace_old_NA< double >()

template<>
double octave::replace_old_NA< double > ( double  val)
inline

Definition at line 6294 of file oct-stream.cc.

References __lo_ieee_replace_old_NA(), and val.

◆ respond_to_pending_signals()

◆ reverse_lookup_autoload()

OCTINTERP_API string_vector octave::reverse_lookup_autoload ( const std::string nm)

◆ save_comment_text()

void octave::save_comment_text ( const std::string text)

◆ set_interrupt_handler()

OCTINTERP_API interrupt_handler octave::set_interrupt_handler ( const volatile interrupt_handler h,
bool  restart_syscalls 
)

Definition at line 345 of file sighandlers.cc.

References h, retval, and set_signal_handler().

Referenced by do_edit_history(), octave_kbhit(), and respond_to_pending_signals().

◆ set_sig_struct_field()

static void octave::set_sig_struct_field ( octave_scalar_map m,
const char *  signame 
)
static

◆ set_signal_handler() [1/2]

OCTINTERP_API sig_handler * octave::set_signal_handler ( int  sig,
sig_handler handler,
bool  restart_syscalls 
)

◆ set_signal_handler() [2/2]

OCTINTERP_API sig_handler * octave::set_signal_handler ( const char *  signame,
sig_handler handler,
bool  restart_syscalls 
)

Definition at line 262 of file sighandlers.cc.

References octave_set_signal_handler_by_name().

◆ simplify_ldiv_op()

◆ simplify_mul_op()

◆ single_type_concat() [1/4]

template<typename TYPE , typename T >
void octave::single_type_concat ( Array< T > &  result,
tm_const tmp 
)

Definition at line 262 of file pt-tm-const.h.

References c, result, row, and tmp.

◆ single_type_concat() [2/4]

template<typename TYPE , typename T >
void octave::single_type_concat ( Array< T > &  result,
const dim_vector dv,
tm_const tmp 
)

Definition at line 296 of file pt-tm-const.h.

References dim_vector::any_zero(), Array< T >::cat(), dv, i, OCTAVE_LOCAL_BUFFER, result, row, and tmp.

◆ single_type_concat() [3/4]

template<typename TYPE , typename T >
void octave::single_type_concat ( Sparse< T > &  result,
const dim_vector dv,
tm_const tmp 
)

Definition at line 345 of file pt-tm-const.h.

References dim_vector::any_zero(), Sparse< T >::cat(), dv, i, OCTAVE_LOCAL_BUFFER, result, row, and tmp.

◆ single_type_concat() [4/4]

template<typename MAP >
void octave::single_type_concat ( octave_map result,
const dim_vector dv,
tm_const tmp 
)

Definition at line 384 of file pt-tm-const.h.

References dim_vector::any_zero(), octave_map::cat(), dv, i, OCTAVE_LOCAL_BUFFER, result, row, and tmp.

◆ source_file()

OCTINTERP_API void octave::source_file ( const std::string file_name,
const std::string context = "",
bool  verbose = false,
bool  require_file = true,
const std::string warn_for = "" 
)

◆ split_name_with_package()

static void octave::split_name_with_package ( const std::string name,
std::string fname,
std::string pname 
)
static

Definition at line 61 of file symtab.cc.

References fname, name, and pname.

Referenced by out_of_date_check().

◆ strip_trans_herm()

◆ switch_to_g_format()

static std::string octave::switch_to_g_format ( const octave::printf_format_elt elt)
static

◆ throw_away()

static size_t octave::throw_away ( void *  ,
size_t  size,
size_t  nmemb,
void *   
)
static

Definition at line 242 of file url-transfer.cc.

Referenced by octave::curl_transfer::get_fileinfo().

◆ to_octave_idx_type_ptr() [1/2]

octave_idx_type * octave::to_octave_idx_type_ptr ( suitesparse_integer i)

Definition at line 64 of file oct-sparse.cc.

References check_suitesparse_integer_size(), and i.

Referenced by dmsolve().

◆ to_octave_idx_type_ptr() [2/2]

const octave_idx_type * octave::to_octave_idx_type_ptr ( const suitesparse_integer i)

Definition at line 72 of file oct-sparse.cc.

References check_suitesparse_integer_size(), and i.

◆ to_suitesparse_intptr() [1/2]

◆ to_suitesparse_intptr() [2/2]

const suitesparse_integer * octave::to_suitesparse_intptr ( const octave_idx_type i)

Definition at line 56 of file oct-sparse.cc.

References check_suitesparse_integer_size(), and i.

◆ warn_glyph_render()

static void octave::warn_glyph_render ( FT_ULong  c)
static

Definition at line 77 of file ft-text-renderer.cc.

References c, and warning_with_id().

Referenced by octave::ft_text_renderer::process_character().

◆ warn_missing_glyph()

static void octave::warn_missing_glyph ( FT_ULong  c)
static

Definition at line 70 of file ft-text-renderer.cc.

References c, and warning_with_id().

Referenced by octave::ft_text_renderer::process_character().

◆ warn_singular_matrix()

◆ write_data()

static int octave::write_data ( void *  buffer,
size_t  size,
size_t  nmemb,
void *  streamp 
)
static

◆ xisint()

static int octave::xisint ( double  x)
inlinestatic

Definition at line 398 of file jit-typeinfo.cc.

References max(), min(), x, and octave::math::x_nint().

Referenced by octave_jit_pow_scalar_scalar().

◆ xzip() [1/4]

◆ xzip() [2/4]

template<typename X >
string_vector octave::xzip ( const Array< std::string > &  source_patterns)

Definition at line 535 of file gzip.cc.

References string.

◆ xzip() [3/4]

template<typename X >
string_vector octave::xzip ( const Array< std::string > &  source_patterns,
const std::string out_dir 
)

◆ xzip() [4/4]

template<typename X >
static octave_value_list octave::xzip ( const std::string func_name,
const octave_value_list args 
)
static

Definition at line 568 of file gzip.cc.

References octave_value_list::length(), octave_value(), print_usage(), and string.

Variable Documentation

◆ builder

◆ can_interrupt

OCTINTERP_API bool octave::can_interrupt = false

Definition at line 68 of file sighandlers.cc.

Referenced by generic_sig_handler().

◆ context [1/2]

llvm::LLVMContext& octave::context = llvm::getGlobalContext ()
static

Definition at line 79 of file jit-typeinfo.cc.

Referenced by symbol_info_list::append(), octave::symbol_record::symbol_record_rep::assign(), octave::symbol_record::assign(), octave::call_stack::backtrace(), octave_user_function::call(), call_mex(), octave::symbol_record::symbol_record_rep::clear(), octave::symbol_record::clear(), octave::jit_convert_llvm::convert(), octave::jit_convert_llvm::convert_loop(), octave::tree_evaluator::convert_return_list_to_const_vector(), octave::tree_identifier::do_lookup(), octave::symbol_record::symbol_record_rep::do_non_const_unary_op(), octave::symbol_record::do_non_const_unary_op(), octave::tree_jit::do_open_new_module(), do_save(), do_who(), octave::symbol_record::symbol_record_rep::dump(), octave::symbol_record::dump(), dump_octave_core(), Ffunctions(), final_index_error(), octave::symbol_record::find(), octave::tree_decl_elt::is_defined(), octave::tree_identifier::is_defined(), octave::tree_parameter_list::is_defined(), octave::symbol_record::symbol_record_rep::is_defined(), octave::symbol_record::is_defined(), octave::symbol_record::is_undefined(), octave::tree_decl_elt::is_variable(), octave::tree_identifier::is_variable(), octave::symbol_record::symbol_record_rep::is_variable(), octave::symbol_record::is_variable(), octave::jit_function::jit_function(), octave::jit_typeinfo::jit_typeinfo(), octave::jit_function::new_block(), octave_block_child(), octave_unblock_child(), octave::call_stack::push(), respond_to_pending_signals(), octave_fcn_handle::save_ascii(), octave_fcn_handle::save_binary(), octave_fcn_handle::save_hdf5(), save_vars(), octave::symbol_scope_rep::set_context(), octave::symbol_scope::set_context(), octave::symbol_table::set_scope_and_context(), cdef_object::subsref(), symbol_info_list::symbol_info::symbol_info(), octave::workspace_model::update_table(), octave::symbol_record::symbol_record_rep::varref(), octave::symbol_record::symbol_record_rep::varval(), octave::symbol_record::varval(), octave::tree_evaluator::visit_identifier(), octave::tree_evaluator::visit_index_expression(), and octave::tree_evaluator::visit_statement().

◆ context [2/2]

llvm::LLVMContext& octave::context = llvm::getGlobalContext ()
static

Definition at line 126 of file pt-jit.cc.

◆ event_hook_lock

◆ octave_debug_on_interrupt_state

bool octave::octave_debug_on_interrupt_state = false

Definition at line 35 of file pt-bp.cc.

Referenced by octave::tree_evaluator::do_breakpoint().

◆ pipe_handler_error_count

int octave::pipe_handler_error_count = 0

Definition at line 65 of file sighandlers.cc.

Referenced by octave::base_reader::octave_gets(), and respond_to_pending_signals().

◆ signals_caught

bool* octave::signals_caught = nullptr
static

◆ uiwidget_creator

◆ Vdebug_on_interrupt

◆ Vsighup_dumps_octave_core

bool octave::Vsighup_dumps_octave_core = true
static

Definition at line 76 of file sighandlers.cc.

Referenced by respond_to_pending_signals().

◆ Vsigquit_dumps_octave_core

bool octave::Vsigquit_dumps_octave_core = true
static

Definition at line 79 of file sighandlers.cc.

Referenced by respond_to_pending_signals().

◆ Vsigterm_dumps_octave_core

bool octave::Vsigterm_dumps_octave_core = true
static

Definition at line 82 of file sighandlers.cc.

Referenced by respond_to_pending_signals().