GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-obj.h"
Private Member Functions | |
octave_value & | elem (octave_idx_type n) |
const octave_value & | elem (octave_idx_type n) const |
Private Attributes | |
Array< octave_value > | data |
string_vector | names |
|
inline |
Definition at line 42 of file oct-obj.h.
Referenced by Farrayfun(), Fcellfun(), Fdbcont(), Fdbquit(), and Fdbstep().
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
octave_value_list::octave_value_list | ( | const std::list< octave_value_list > & | lst | ) |
Definition at line 35 of file oct-obj.cc.
References Array< T >::assign(), data, and Array< T >::resize().
bool octave_value_list::all_scalars | ( | void | ) | const |
Definition at line 181 of file oct-obj.cc.
References dim_vector::all_ones(), octave_value::dims(), elem(), and length().
Referenced by octave_struct::subsasgn(), and octave_cell::subsasgn().
bool octave_value_list::all_strings_p | ( | void | ) | const |
Definition at line 169 of file oct-obj.cc.
References elem(), and length().
Referenced by make_argv().
bool octave_value_list::any_cell | ( | void | ) | const |
Definition at line 196 of file oct-obj.cc.
octave_value_list & octave_value_list::append | ( | const octave_value & | val | ) |
Definition at line 85 of file oct-obj.cc.
References elem(), length(), and resize().
Referenced by octave_comment_list::append(), named_hook_function::eval(), fcn_handle_hook_function::eval(), F__ichol0__(), F__icholt__(), F__ilu0__(), F__iluc__(), F__ilutp__(), annotation_dialog::get_gui_props(), and tree_breakpoint::take_action().
octave_value_list & octave_value_list::append | ( | const octave_value_list & | lst | ) |
Definition at line 97 of file oct-obj.cc.
|
inline |
Definition at line 79 of file oct-obj.h.
Referenced by bitop(), do_bessel(), do_rand(), Fbase64_encode(), Fbsxfun(), Fconvn(), Feps(), and parse_dbfunction_params().
|
inline |
Definition at line 81 of file oct-obj.h.
Referenced by octave_user_function::bind_automatic_vars(), Frmfield(), octcellregexp(), tree_cell::rvalue1(), and try_cellfun_internal_ops().
|
inline |
Definition at line 148 of file oct-obj.h.
Referenced by octave_builtin::do_multi_index_op(), F__icholt__(), F__iluc__(), F__ilutp__(), and get_output_list().
|
inlineprivate |
Definition at line 161 of file oct-obj.h.
References jit_convention::length.
Referenced by all_scalars(), all_strings_p(), any_cell(), append(), has_magic_colon(), make_argv(), prepend(), reverse(), and splice().
|
inlineprivate |
|
inline |
Definition at line 91 of file oct-obj.h.
References jit_convention::length.
Referenced by eval_string(), Fbsxfun(), Fcanonicalize_file_name(), Fcellfun(), Fdot(), cdef_class::cdef_class_rep::meta_subsref(), cdef_method::cdef_method_rep::meta_subsref(), tree_simple_assignment::rvalue1(), tree_funcall::rvalue1(), tree_index_expression::rvalue1(), tree_identifier::rvalue1(), tree_multi_assignment::rvalue1(), cdef_object_array::subsref(), and symbol_table::fcn_info::fcn_info_rep::xfind().
bool octave_value_list::has_magic_colon | ( | void | ) | const |
Definition at line 208 of file oct-obj.cc.
References elem(), and length().
Referenced by octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), and tree_index_expression::lvalue().
|
inline |
Definition at line 89 of file oct-obj.h.
Referenced by base_property::add_listener(), all_scalar_1x1(), all_scalars(), octave_class::all_strings(), all_strings_p(), octave_user_function::all_va_args(), any_cell(), append(), Cell::assign(), octave_base_matrix< MT >::assign(), octave_base_sparse< T >::assign(), octave_map::assign(), attempt_type_conversion(), binary_assoc_op_defun_body(), binary_op_defun_body(), bind_ans(), bitop(), call_mex(), class_fevalStatic(), class_fromName(), class_get_inferiorclasses(), class_get_methods(), class_get_properties(), class_get_superclasses(), class_getConstant(), compare_property_values(), const_value(), property::create(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), tree_parameter_list::define_from_arg_vector(), tree_statement_list::delete_breakpoint(), Cell::delete_elements(), octave_base_matrix< MT >::delete_elements(), octave_base_sparse< T >::delete_elements(), octave_map::delete_elements(), base_property::delete_listener(), dims_to_numel(), do_accumarray_minmax_fun(), do_bessel(), do_cat(), do_class_concat(), do_colon_op(), do_cumminmax_body(), do_dbstack(), do_dbupdown(), do_fft(), do_fft2(), do_fftn(), do_find_bkpt_list(), bp_table::do_get_breakpoint_list(), do_history(), octave_diag_matrix::do_index_op(), octave_perm_matrix::do_index_op(), octave_base_diag< DMT, MT >::do_index_op(), octave_base_matrix< MT >::do_index_op(), octave_range::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_char_matrix_str::do_index_op_internal(), do_isglobal(), do_keyboard(), do_minmax_body(), octave_builtin::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_fcn_binder::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_permute(), bp_table::do_remove_breakpoint_1(), do_simple_cellfun(), do_trilu(), octave_struct::dotref(), octave_class::dotref(), octave_scalar_struct::dotref(), eigs_complex_func(), eigs_func(), jit_function_info::execute(), cdef_method::cdef_method_rep::execute(), F__accumarray_sum__(), F__accumdim_sum__(), F__go_figure__(), F__ichol0__(), F__icholt__(), F__ilu0__(), F__iluc__(), F__ilutp__(), F__java_get__(), F__java_set__(), F__profiler_data__(), F__profiler_enable__(), F__profiler_reset__(), F__sort_rows_idx__(), Fairy(), Farrayfun(), Fassignin(), Fatexit(), Fbalance(), Fbase64_decode(), Fbase64_encode(), Fbesselh(), Fbuiltin(), Fcd(), Fcellfun(), Fcolloc(), Fcolon(), Fcputime(), Fdaspk_options(), Fdasrt_options(), Fdassl_options(), Fdet(), Fdiary(), Fdiff(), Fdisp(), Fdlmread(), Fdup2(), Fecho(), Feig(), Fellipj(), Fendgrent(), Fendpwent(), Feps(), feval(), Feval(), Fevalin(), Fexec(), Feye(), Ffcntl(), Ffdisp(), Fferror(), Ffeval(), Ffgetl(), Ffgets(), Ffilter(), Ffind(), Ffopen(), Ffork(), Fformat(), Ffread(), Ffreport(), Ffscanf(), Ffull(), Fgetgrent(), Fgetgrgid(), Fgetgrnam(), Fgetpgrp(), Fgetpwent(), Fgetpwnam(), Fgetpwuid(), Fgivens(), Fhess(), fill_matrix(), Finput(), Finv(), Fisjava(), Fissorted(), Fjava2mat(), FjavaMethod(), FjavaObject(), Fkeyboard(), Flastwarn(), Flinspace(), Fload(), Flsode_options(), Flu(), Fmerge(), Fmgorth(), Fmkdir(), Fmkfifo(), Fmkstemp(), Fmore(), Fnorm(), Fnth_element(), Fpipe(), Fquad_options(), Fquadcc(), Fqz(), Freadline_read_init_file(), Fregexp(), Fregexpi(), Fregexprep(), Fremove_input_event_hook(), Frepelems(), Freshape(), Fresize(), Frmdir(), Fschur(), Fsetenv(), Fsetgrent(), Fsetpwent(), Fsize(), Fsort(), Fsource(), Fspparms(), Fsprintf(), Fsqrtm(), Fsqueeze(), Fsscanf(), Fsvd(), Ftic(), Ftmpfile(), Ftoc(), Ftsearch(), Funlink(), Furlread(), Furlwrite(), Fvec(), Fwaitpid(), G__delaunayn__(), G__eigs__(), G__glpk__(), G__player_audioplayer__(), G__recorder_audiorecorder__(), G__voronoi__(), Gamd(), Gaudioread(), Gccolamd(), Gchol(), Gcolamd(), Gconvhulln(), Gcsymamd(), get_dispatch_type(), get_feval_args(), get_user_input(), Getree(), Gqr(), Gsymamd(), Gsymbfact(), handle_message(), has_magic_colon(), Cell::index(), octave_map::index(), octave_class::index_vector(), tm_row_const::tm_row_const_rep::init(), jit_function_info::jit_function_info(), lsode_user_function(), lsode_user_jacobian(), make_argv(), make_graphics_object(), make_idx_args(), make_storable_values(), make_subs_cell(), make_value_list(), jit_function_info::match(), maybe_extract_message_id(), mexCallMATLAB(), mk_tmp_hist_file(), octave_class::numel(), octave_class::octave_class(), octave_jit_call(), octregexp(), octregexprep(), package_fromName(), package_get_classes(), package_get_functions(), package_get_packages(), parse_dbfunction_params(), parse_options(), prepend(), tree_funcall::print_raw(), quad_float_user_function(), quad_user_function(), octave_class::reconstruct_exemplar(), tree_statement_list::remove_all_breakpoints(), reverse(), cdef_class::cdef_class_rep::run_constructor(), base_property::run_listeners(), tree_funcall::rvalue(), tree_index_expression::rvalue(), tree_multi_assignment::rvalue(), tree_cell::rvalue1(), sanitize(), graphics_object::set(), annotation_dialog::set_gui_props(), set_internal_variable(), cdef_property::cdef_property_rep::set_value(), single_type_concat(), single_type_concat_map(), octave_class::size(), splice(), octave_base_diag< DMT, MT >::subsasgn(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_scalar_struct::subsasgn(), cdef_object_array::subsasgn(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_mex_function::subsref(), octave_builtin::subsref(), octave_struct::subsref(), octave_cell::subsref(), octave_fcn_handle::subsref(), octave_class::subsref(), octave_user_script::subsref(), octave_java::subsref(), octave_user_function::subsref(), cdef_object_array::subsref(), octave_classdef_meta::subsref(), octave_classdef_superclass_ref::subsref(), octave_classdef::subsref(), unary_op_defun_body(), octave_lvalue::value(), waitfor_del_listener(), waitfor_listener(), and xset().
string_vector octave_value_list::make_argv | ( | const std::string & | fcn_name = std::string () | ) | const |
Definition at line 220 of file oct-obj.cc.
References octave_value::all_strings(), all_strings_p(), elem(), error(), length(), string_vector::resize(), octave_value::rows(), and octave_value::string_value().
void octave_value_list::make_storable_values | ( | void | ) |
Definition at line 272 of file oct-obj.cc.
References data, octave_value::is_copy_of(), and length().
Referenced by octave_builtin::do_multi_index_op().
|
inline |
Definition at line 139 of file oct-obj.h.
References names().
Referenced by octave_user_function::do_multi_index_op().
|
inline |
|
inline |
|
inline |
octave_value_list & octave_value_list::prepend | ( | const octave_value & | val | ) |
Definition at line 67 of file oct-obj.cc.
References elem(), length(), and resize().
Referenced by get_output_list(), and cdef_class::cdef_class_rep::run_constructor().
|
inline |
Definition at line 93 of file oct-obj.h.
Referenced by base_property::add_listener(), append(), call_mex(), base_property::delete_listener(), do_class_concat(), do_cumminmax_red_op(), do_minmax_red_op(), do_minmax_red_op< charNDArray >(), cdef_method::cdef_method_rep::execute(), F__octave_link_file_dialog__(), Farrayfun(), Fbsxfun(), Fcellfun(), Ffprintf(), Fgcd(), Fprintf(), Fsize(), Fsort(), Fsprintf(), Fsqrtm(), maybe_extract_message_id(), mexCallMATLAB(), octregexp(), octregexprep(), octave_base_stream::oscanf(), prepend(), splice(), octave_class::subsasgn_common(), and tree_evaluator::visit_simple_for_command().
octave_value_list & octave_value_list::reverse | ( | void | ) |
Definition at line 111 of file oct-obj.cc.
|
inline |
Definition at line 107 of file oct-obj.h.
References jit_convention::length, Array< T >::length(), Array< T >::linear_slice(), min(), names, and names().
Referenced by octave_user_function::all_va_args(), octave_user_function::do_multi_index_op(), Fcellindexmat(), Fclass(), get_feval_args(), and tree_multi_assignment::rvalue().
octave_value_list octave_value_list::splice | ( | octave_idx_type | offset, |
octave_idx_type | len, | ||
const octave_value_list & | lst = octave_value_list () |
||
) | const |
Definition at line 126 of file oct-obj.cc.
References elem(), error(), length(), and resize().
Referenced by class_fevalStatic(), F__go_figure__(), and make_graphics_object().
|
inline |
Definition at line 137 of file oct-obj.h.
References names().
Referenced by make_subs_cell(), make_value_list(), octave_fcn_binder::maybe_binder(), octave_class::print_with_name(), octave_classdef::print_with_name(), and tree_index_expression::rvalue().
|
inline |
Definition at line 143 of file oct-obj.h.
Referenced by octave_builtin::do_multi_index_op(), Farrayfun(), Fcellfun(), and octave_jit_call().
|
private |
Definition at line 155 of file oct-obj.h.
Referenced by make_storable_values(), octave_value_list(), and operator=().
|
private |
Definition at line 159 of file oct-obj.h.
Referenced by operator=(), and slice().