GNU Octave
3.8.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 43 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 36 of file oct-obj.cc.
References Array< T >::assign(), data, and Array< T >::resize().
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().
Definition at line 169 of file oct-obj.cc.
References elem(), and length().
Referenced by make_argv().
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 named_hook_function::eval(), fcn_handle_hook_function::eval(), 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 80 of file oct-obj.h.
Referenced by bitop(), do_bessel(), do_rand(), Fbase64_encode(), Fbsxfun(), Fconvn(), Feps(), and parse_dbfunction_params().
Definition at line 82 of file oct-obj.h.
Referenced by octave_user_function::bind_automatic_vars(), DEFUN(), octcellregexp(), tree_cell::rvalue1(), and try_cellfun_internal_ops().
Definition at line 143 of file oct-obj.h.
Referenced by octave_builtin::do_multi_index_op(), and get_output_list().
|
inlineprivate |
Definition at line 156 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 |
Definition at line 92 of file oct-obj.h.
References jit_convention::length.
Referenced by Fbsxfun(), Fcanonicalize_file_name(), Fcellfun(), Fdot(), tree_simple_assignment::rvalue1(), tree_index_expression::rvalue1(), tree_identifier::rvalue1(), tree_multi_assignment::rvalue1(), and symbol_table::fcn_info::fcn_info_rep::xfind().
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 90 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(), 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(), DEFUN(), DEFUN_DLD(), 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_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_base_sparse< T >::do_index_op(), octave_range::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(), F__accumarray_sum__(), F__accumdim_sum__(), F__go_figure__(), F__profiler_data__(), F__profiler_enable__(), F__profiler_reset__(), F__sort_rows_idx__(), Fairy(), Farrayfun(), Fatexit(), Fbalance(), Fbase64_decode(), Fbase64_encode(), Fbesselh(), Fcd(), Fcellfun(), Fcolloc(), Fcputime(), Fdaspk_options(), Fdasrt_options(), Fdassl_options(), Fdet(), Fdiary(), Fdiff(), Fdisp(), Fdlmread(), Fdup2(), Fecho(), Feig(), Fellipj(), Fendgrent(), Fendpwent(), Feps(), Fexec(), Feye(), Ffcntl(), Ffdisp(), Fferror(), Ffgetl(), Ffgets(), Ffilter(), Ffind(), Ffopen(), Ffork(), Fformat(), Ffread(), Ffreport(), Ffscanf(), Ffull(), Fgetgrent(), Fgetgrgid(), Fgetgrnam(), Fgetpgrp(), Fgetpwent(), Fgetpwnam(), Fgetpwuid(), Fgivens(), Fhess(), fill_matrix(), Finput(), Finv(), Fissorted(), Fkeyboard(), Flastwarn(), Flinspace(), Fload(), Flsode_options(), Flu(), Fmerge(), Fmgorth(), Fmkdir(), Fmkfifo(), Fmkstemp(), Fmore(), Fnorm(), Fnth_element(), Fpipe(), Fputenv(), Fquad_options(), Fquadcc(), Fqz(), Freadline_read_init_file(), Fregexp(), Fregexpi(), Fregexprep(), Fremove_input_event_hook(), Frepelems(), Freshape(), Fresize(), Frmdir(), Fsave(), Fschur(), Fsetgrent(), Fsetpwent(), Fsize(), Fsort(), Fspparms(), Fsprintf(), Fsqrtm(), Fsqueeze(), Fsscanf(), Fsvd(), Ftic(), Ftmpfile(), Ftoc(), Funlink(), Furlread(), Furlwrite(), Fvec(), Fwaitpid(), get_dispatch_type(), get_user_input(), handle_message(), has_magic_colon(), Cell::index(), octave_map::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(), parse_dbfunction_params(), parse_options(), prepend(), quad_float_user_function(), quad_user_function(), octave_class::reconstruct_exemplar(), tree_statement_list::remove_all_breakpoints(), reverse(), base_property::run_listeners(), tree_index_expression::rvalue(), tree_multi_assignment::rvalue(), tree_cell::rvalue1(), sanitize(), graphics_object::set(), set_internal_variable(), 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(), 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(), 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().
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 134 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().
|
inline |
Definition at line 94 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 >(), 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 108 of file oct-obj.h.
References Array< T >::length(), Array< T >::linear_slice(), min(), names, and names().
Referenced by octave_user_function::all_va_args(), DEFUN(), Fcellindexmat(), 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 F__go_figure__(), and make_graphics_object().
|
inline |
Definition at line 132 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(), and tree_index_expression::rvalue().
|
inline |
Definition at line 138 of file oct-obj.h.
Referenced by octave_builtin::do_multi_index_op(), Farrayfun(), Fcellfun(), and octave_jit_call().
|
private |
Definition at line 150 of file oct-obj.h.
Referenced by make_storable_values(), octave_value_list(), and operator=().
|
private |
Definition at line 154 of file oct-obj.h.
Referenced by operator=(), and slice().