GNU Octave  4.2.1
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
Classes | Functions | Variables
ov-struct.cc File Reference
#include <iostream>
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "mxarray.h"
#include "oct-lvalue.h"
#include "oct-hdf5.h"
#include "ov-struct.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "Array-util.h"
#include "oct-locbuf.h"
#include "byte-swap.h"
#include "ls-oct-text.h"
#include "ls-oct-binary.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
#include "pr-output.h"
Include dependency graph for ov-struct.cc:

Go to the source code of this file.

Classes

struct  ode
 
struct  trong
 

Functions

 A (1) esult
 
static void err_invalid_index_for_assignment (void)
 
static void err_invalid_index_type (const std::string &nm, char t)
 
OCTAVE_EXPORT octave_value_list F__fieldnames__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fcell2struct (const octave_value_list &args, int) that is ode
 
OCTAVE_EXPORT octave_value_list Fisfield (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fisstruct (const octave_value_list &args, int) iscell
 
OCTAVE_EXPORT octave_value_list Fnumfields (const octave_value_list &args, int)
 
 for (int i=0;i< nargin;i+=2)
 
nd deftypefn *OCTAVE_EXPORT
octave_value_list 
Fprint_struct_array_contents (const octave_value_list &args, int nargout) values of struct array elements are printed.This variable does not affect scalar structures whose elements are always printed.In both cases
 
OCTAVE_EXPORT octave_value_list Frmfield (const octave_value_list &args, int) remove each of the named fields.eealso
 
OCTAVE_EXPORT octave_value_list Fstruct (const octave_value_list &args, int) ar
 
OCTAVE_EXPORT octave_value_list Fstruct_levels_to_print (const octave_value_list &args, int nargout) the variable is changed locally for the function and any subroutines it calls.The original variable value is restored when exiting the function.eealso
 
 if (nargin==1 &&args(0).is_map()) return ovl(args(0))
 
 if ((nargin==1||nargin==2)&&args(0).is_empty()&&args(0).is_real_matrix())
 
static void maybe_warn_invalid_field_name (const std::string &key, const char *who)
 
return ovl (map)
 
OCTAVE_EXPORT
octave_value_list isa nd
deftypefn *return 
ovl (args(0).is_map())
 
return ovl (m)
 
static bool scalar (const dim_vector &dims)
 
create a structure array and
initialize its values The
dimensions of each cell array
of values must match Singleton
cells and non cell values are
repeated so that they fill the
entire array If the cells are
create an empty structure
array with the specified field
names If the argument is an
return the underlying struct
Observe that the syntax is
optimized for struct trong 
struct ("foo", 1) esult
 

Variables

If a value of is assumed
xample roup 
A = cell2struct ("Peter", "Hannah", "Robert"; 185, 170, 168, "Name","Height", 1)
 
 ar {value2}
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
cell2struct
 
dim_vector dims (1, 1)
 
create a structure array and
initialize its values The
dimensions of each cell array
of values must match Singleton
cells and non cell values are
repeated so that they fill the
entire array If the cells are 
empty
 
scalar structure containing the esult {} 0x0 struct array containing the fields: foo struct ("foo", ) esult{} scalar structure containing the fields: foo = (0x0) struct ("foo", 1, 2, 3) esult{} 1x3 struct array containing the fields: foo nd group nd example oindent The first case is an ordinary scalar struct---one field
 
Cell fcell = fval(0).cell_value ()
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
fieldnames
 
scalar structure containing the fields
 
int first_dimensioned_value = 0
 
octave_value_list fval = Fcellstr (args(1), 1)
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
getfield
 
nd deftypefn *OCTAVE_EXPORT
octave_value_list 
however
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
isfield
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
isstruct
 
nd deftypefn *octave_map m = args(0).xmap_value ("rmfield: first argument must be a struct")
 
octave_map map (dims)
 
 Name
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
nargin = args.length ()
 
create a structure array and
initialize its values The
dimensions of each cell array
of values must match Singleton
cells and non cell values are
repeated so that they fill the
entire array If the cells are
create an empty structure
array with the specified field
names If the argument is an 
object
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
orderfields
 
 ots {} variables are strings specifying the names of the fields and the ar{value1}
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
rmfield
 
scalar structure containing
the one value The second
produces an empty struct array
with one field and no values
since being passed an empty
cell array of struct array
values When the value is a
cell array containing a single
entry this becomes a scalar
struct with that single entry
as the value of the field That
single entry happens to be an
empty cell array Finally if
the value is a non scalar cell
array then ode 
setfield
 
static bool Vprint_struct_array_contents = false
 
static int Vstruct_levels_to_print = 2
 

Function Documentation

A ( )

Definition at line 1958 of file ov-struct.cc.

static void err_invalid_index_for_assignment ( void  )
static

Definition at line 95 of file ov-struct.cc.

References error().

Referenced by octave_struct::subsasgn().

static void err_invalid_index_type ( const std::string nm,
char  t 
)
static

Definition at line 101 of file ov-struct.cc.

References error(), and t.

Referenced by octave_struct::subsasgn(), and octave_struct::subsref().

OCTAVE_EXPORT octave_value_list F__fieldnames__ ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fcell2struct ( const octave_value_list args,
int   
)

Definition at line 1958 of file ov-struct.cc.

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Fisfield ( const octave_value_list args,
int   
)

Definition at line 1860 of file ov-struct.cc.

References c, Array< T >::dims(), octave_map::isfield(), m, print_usage(), retval, and string.

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Fisstruct ( const octave_value_list args,
int   
)

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Fnumfields ( const octave_value_list args,
int   
)

Definition at line 1909 of file ov-struct.cc.

References error(), ovl(), and print_usage().

Referenced by install_ov_struct_fcns().

for ( )
nd deftypefn* OCTAVE_EXPORT octave_value_list Fprint_struct_array_contents ( const octave_value_list args,
int  nargout 
)

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Frmfield ( const octave_value_list args,
int   
)

Definition at line 2053 of file ov-struct.cc.

References print_usage().

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Fstruct ( const octave_value_list args,
int   
)

Definition at line 1688 of file ov-struct.cc.

Referenced by install_ov_struct_fcns().

OCTAVE_EXPORT octave_value_list Fstruct_levels_to_print ( const octave_value_list args,
int  nargout 
)

Definition at line 2104 of file ov-struct.cc.

References max(), and SET_INTERNAL_VARIABLE_WITH_LIMITS.

Referenced by install_ov_struct_fcns(), and maximum_braindamage().

if ( nargin  = =1 &&args(0).is_map())
if ( (nargin==1||nargin==2)&&args(0).is_empty()&&args(0).is_real_matrix()  )

Definition at line 1706 of file ov-struct.cc.

References dims, and ovl().

static void maybe_warn_invalid_field_name ( const std::string key,
const char *  who 
)
static
return ovl ( map  )

Referenced by Fnumfields(), if(), and struct().

OCTAVE_EXPORT octave_value_list isa nd deftypefn* return ovl ( args(0).is_map()  )
return ovl ( m  )
static bool scalar ( const dim_vector dims)
static

Definition at line 648 of file ov-struct.cc.

References dims, and dim_vector::ndims().

create a structure array and initialize its values The dimensions of each cell array of values must match Singleton cells and non cell values are repeated so that they fill the entire array If the cells are create an empty structure array with the specified field names If the argument is an return the underlying struct Observe that the syntax is optimized for struct trong struct ( "foo"  ,
 
)

Variable Documentation

If a value of is assumed xample roup A = cell2struct ("Peter", "Hannah", "Robert"; 185, 170, 168, "Name","Height", 1)

Definition at line 1958 of file ov-struct.cc.

nd deftypefn* OCTAVE_EXPORT octave_value_list printing will be limited to the number of levels specified by ar {value2}

Definition at line 1688 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode cell2struct
dim_vector dims(1, 1)

Referenced by if(), and scalar().

create a structure array and initialize its values The dimensions of each cell array of values must match Singleton cells and non cell values are repeated so that they fill the entire array If the cells are empty

Definition at line 1688 of file ov-struct.cc.

Referenced by octave::lexical_feedback::token_cache::at(), octave::lexical_feedback::token_cache::back(), ListDialog::buttonCancel_clicked(), InputDialog::buttonCancel_clicked(), octave::lexical_feedback::token_cache::clear(), octave::lexical_feedback::symbol_table_context::curr_scope(), event_queue::discard_first(), octave::lexical_feedback::token_cache::front(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), octave_base_int_matrix< T >::load_hdf5(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), main(), action_container::operator bool(), octave::lexical_feedback::symbol_table_context::pop(), octave::lexical_feedback::token_cache::pop(), FileDialog::rejectSelection(), event_queue::run_first(), octave_base_int_matrix< T >::save_hdf5(), octave_sparse_bool_matrix::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_char_matrix_str::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_cell::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_hdf5_empty(), TerminalImageFilterChain::setImage(), event_queue_safe::~event_queue_safe(), text_element_list::~text_element_list(), tree_decl_init_list::~tree_decl_init_list(), tree_if_command_list::~tree_if_command_list(), tree_statement_list::~tree_statement_list(), tree_switch_case_list::~tree_switch_case_list(), and octave::unwind_protect_safe::~unwind_protect_safe().

scalar structure containing the esult {} 0x0 struct array containing the fields: foo struct ("foo", ) esult{} scalar structure containing the fields: foo = (0x0) struct ("foo", 1, 2, 3) esult{} 1x3 struct array containing the fields: foo nd group nd example oindent The first case is an ordinary scalar struct---one field

Definition at line 1688 of file ov-struct.cc.

Cell fcell = fval(0).cell_value ()

Definition at line 2062 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode fieldnames
scalar structure containing the fields
int first_dimensioned_value = 0

Definition at line 1731 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode getfield
nd deftypefn* OCTAVE_EXPORT octave_value_list however

Definition at line 2127 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode isfield
scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode isstruct
nd deftypefn* octave_map m = args(0).xmap_value ("rmfield: first argument must be a struct")

Definition at line 2058 of file ov-struct.cc.

Referenced by octave_int_arith_base< T, true >::abs(), load_path::loader::add_to_method_map(), QtHandles::Canvas::addEventMask(), octave_range::all(), octave_range::any(), octave_range::as_mxArray(), mxArray_struct::as_octave_value(), property_list::as_struct(), Sparse< T >::assign(), rec_permute_helper::blk_trans(), octave_sparse_matrix::bool_array_value(), octave_range::bool_array_value(), box(), box_more(), Cell::Cell(), check_access(), check_limit_vals(), octave::delimited_stream::clear(), line::properties::compute_xlim(), line::properties::compute_ylim(), files_dock_widget::contextmenu_copy_selection(), files_dock_widget::contextmenu_delete(), files_dock_widget::contextmenu_findfiles(), files_dock_widget::contextmenu_load(), files_dock_widget::contextmenu_newdir(), files_dock_widget::contextmenu_newfile(), files_dock_widget::contextmenu_open(), files_dock_widget::contextmenu_open_in_app(), files_dock_widget::contextmenu_open_in_editor(), files_dock_widget::contextmenu_rename(), workspace_view::contextmenu_requested(), files_dock_widget::contextmenu_requested(), files_dock_widget::contextmenu_run(), files_dock_widget::contextmenu_setcurrentdir(), octave_stdiostream::create(), octave_zstdiostream::create(), decode_subscripts(), default_axes_outerposition(), default_axes_position(), default_axes_tick(), default_axes_ticklength(), default_axes_view(), default_figure_paperposition(), default_figure_papersize(), default_figure_position(), default_image_cdata(), default_light_position(), default_lim(), default_patch_faces(), default_patch_vertices(), default_patch_xdata(), default_patch_ydata(), default_surface_xdata(), default_surface_ydata(), default_surface_zdata(), Array< T >::delete_elements(), dmdm_div_impl(), dmdm_leftdiv_impl(), dmm_leftdiv_impl(), dmperm_internal(), dmsolve(), bp_table::do_add_breakpoint(), gtk_manager::do_available_toolkits_list(), octave_base_diag< DMT, MT >::do_index_op(), gtk_manager::do_loaded_toolkits_list(), do_rand(), color_property::do_set(), do_tril(), do_triu(), octave::opengl_renderer::draw_patch(), octave::math::ellipj(), QtHandles::BaseControl::eventFilter(), QtHandles::Panel::eventFilter(), QtHandles::ButtonGroup::eventFilter(), octave_class::exemplar_info::exemplar_info(), F__dispatch__(), F__fieldnames__(), base_properties::factory_defaults(), root_figure::properties::factory_defaults(), figure::properties::factory_defaults(), axes::properties::factory_defaults(), line::properties::factory_defaults(), text::properties::factory_defaults(), image::properties::factory_defaults(), light::properties::factory_defaults(), patch::properties::factory_defaults(), surface::properties::factory_defaults(), hggroup::properties::factory_defaults(), uimenu::properties::factory_defaults(), uicontextmenu::properties::factory_defaults(), uicontrol::properties::factory_defaults(), uibuttongroup::properties::factory_defaults(), uipanel::properties::factory_defaults(), uitoolbar::properties::factory_defaults(), uipushtool::properties::factory_defaults(), uitoggletool::properties::factory_defaults(), Fdet(), octave::build_env::features(), Fellipj(), Ffunctions(), Fget(), load_path::loader::find_method(), load_path::loader::find_private_fcn(), Finv(), Fisfield(), qr< T >::form(), Frcond(), FSIG(), G__voronoi__(), octave_sort< T >::gallop_left(), octave_sort< T >::gallop_right(), Gchol(), base_properties::get(), root_figure::properties::get(), figure::properties::get(), axes::properties::get(), line::properties::get(), text::properties::get(), image::properties::get(), light::properties::get(), patch::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uibuttongroup::properties::get(), uipanel::properties::get(), uitoolbar::properties::get(), uipushtool::properties::get(), uitoggletool::properties::get(), base_properties::get_dynamic(), text::properties::get_extent(), uicontrol::properties::get_extent(), profile_data_accumulator::get_flat(), profile_data_accumulator::get_hierarchical(), array_property::get_limits(), workspace_view::get_var_name(), Vt102Emulation::getMode(), Screen::getMode(), glpk(), Gqr(), workspace_view::handle_contextmenu_rename(), hex2num(), higham(), Sparse< T >::index(), qrp< T >::init(), qr< T >::init(), qr< T >::insert_col(), octave::math::sparse_chol< chol_type >::inverse(), octave_range::is_true(), is_vector(), find_files_dialog::item_double_clicked(), jit_typeinfo::join(), octave::math::sparse_chol< chol_type >::L(), lin_interpn(), linspace(), octave_struct::load_ascii(), octave_class::load_ascii(), octave_scalar_struct::load_ascii(), octave_float_complex_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_base_int_matrix< T >::load_binary(), octave_float_diag_matrix::load_binary(), octave_diag_matrix::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_struct::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_complex_matrix::load_binary(), octave_class::load_binary(), octave_float_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_bool_matrix::load_binary(), octave_matrix::load_binary(), octave_scalar_struct::load_binary(), octave_base_int_matrix< T >::load_hdf5(), octave_sparse_bool_matrix::load_hdf5(), octave_struct::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_class::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), octave_scalar_struct::load_hdf5(), find_files_dialog::look_for_files(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), tree_index_expression::make_arg_struct(), make_idx_args(), octave::make_sig_struct(), octave_sparse_bool_matrix::map(), octave_char_matrix::map(), octave_bool_matrix::map(), octave_bool::map(), octave_range::map(), OCTAVE_VALUE_INT_MATRIX_T::map(), OCTAVE_VALUE_INT_SCALAR_T::map(), Array< octave_value >::map(), octave_fcn_inline::map_value(), max(), max_str_len(), mdm_div_impl(), load_path::loader::methods(), mexGet(), min(), mk_gr_map(), mk_pw_map(), mk_stat_map(), mk_tm_map(), mx_inline_xsum(), mxArray_matlab::mxArray_matlab(), mxArray_number::mxArray_number(), next_power_of_2(), Array< T >::nth_element(), oct_binop_sub(), octave_jit_cast_matrix_any(), octave_print_internal(), octave_print_internal_template(), operator<<(), load_path::loader::overloads(), pprsc(), pr_max_internal(), pr_min_internal(), print_nd_array(), qs_preprocess(), qs_search(), rational_approx(), read_mat5_binary_element(), base_graphics_object::remove_all_listeners(), Vt102Emulation::resetMode(), Screen::resetMode(), octave_user_function::restore_warning_states(), Screen::restoreMode(), row_norms(), octave_struct::save_ascii(), octave_class::save_ascii(), octave_scalar_struct::save_ascii(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_struct::save_binary(), octave_float_complex_matrix::save_binary(), octave_char_matrix_str::save_binary(), octave_complex_matrix::save_binary(), octave_class::save_binary(), octave_float_matrix::save_binary(), octave_bool_matrix::save_binary(), octave_matrix::save_binary(), octave_scalar_struct::save_binary(), octave_sparse_bool_matrix::save_hdf5(), octave_struct::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_char_matrix_str::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_class::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), octave_matrix::save_hdf5(), octave_scalar_struct::save_hdf5(), save_mat5_binary_element(), save_mat5_element_length(), save_mat_ascii_data(), save_mat_binary_data(), Vt102Emulation::saveMode(), Screen::saveMode(), lin_scaler::scale(), graphics_xform::scale(), mxArray_matlab::set_m(), octave::ft_text_renderer::set_mode(), QtHandles::Canvas::setEventMask(), Vt102Emulation::setMode(), Screen::setMode(), octave::delimited_stream::setstate(), Sparse< T >::sort(), Array< T >::sort(), sparse(), stack_complex_matrix(), find_files_dialog::start_find(), find_files_dialog::stop_find(), octave::math::svd< T >::svd(), unbox(), unit_cube(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), octave::sys::windows_glob(), xform_matrix(), xform_scale(), and xform_translate().

Name

Definition at line 1958 of file ov-struct.cc.

Referenced by settings_dialog::settings_dialog().

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode nargin = args.length ()

Referenced by struct().

create a structure array and initialize its values The dimensions of each cell array of values must match Singleton cells and non cell values are repeated so that they fill the entire array If the cells are create an empty structure array with the specified field names If the argument is an object

Definition at line 1688 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode orderfields
ots {} variables are strings specifying the names of the fields and the ar{value1}

Definition at line 1688 of file ov-struct.cc.

scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode rmfield
scalar structure containing the one value The second produces an empty struct array with one field and no values since being passed an empty cell array of struct array values When the value is a cell array containing a single entry this becomes a scalar struct with that single entry as the value of the field That single entry happens to be an empty cell array Finally if the value is a non scalar cell array then ode setfield
bool Vprint_struct_array_contents = false
static

Definition at line 59 of file ov-struct.cc.

Referenced by octave_struct::print_raw().

int Vstruct_levels_to_print = 2
static

Definition at line 55 of file ov-struct.cc.