#include "Cell.h"
Definition at line 36 of file Cell.h.
typedef bool(* Array< octave_value >::compare_fcn_type)(typename ref_param< octave_value >::type, typename ref_param< octave_value >::type) [inherited] |
typedef ref_param<octave_value >::type Array< octave_value >::crefT [inherited] |
typedef octave_value(octave_value::* Cell::ctype_mapper)(void) const [private] |
typedef octave_value Array< octave_value >::element_type [inherited] |
Cell::Cell | ( | const octave_value & | val | ) | [inline] |
Cell::Cell | ( | const octave_value_list & | ovl | ) |
Cell::Cell | ( | octave_idx_type | n, | |
octave_idx_type | m, | |||
const octave_value & | val = resize_fill_value () | |||
) | [inline] |
Cell::Cell | ( | const dim_vector & | dv, | |
const octave_value & | val = resize_fill_value () | |||
) | [inline] |
Cell::Cell | ( | const Array< octave_value > & | c | ) | [inline] |
Cell::Cell | ( | const Array< octave_value > & | c, | |
octave_idx_type | nr, | |||
octave_idx_type | nc | |||
) | [inline] |
Cell::Cell | ( | const string_vector & | sv, | |
bool | trim = false | |||
) |
Definition at line 40 of file Cell.cc.
References Array< octave_value >::elem(), Array< T >::length(), and Array< octave_value >::resize().
Cell::Cell | ( | const std::list< std::string > & | lst | ) |
Definition at line 65 of file Cell.cc.
References Array< octave_value >::elem(), and Array< octave_value >::resize().
Cell::Cell | ( | const Array< std::string > & | sa | ) |
Definition at line 84 of file Cell.cc.
References Array< T >::data(), Array< octave_value >::fortran_vec(), and Array< T >::numel().
Cell::Cell | ( | const dim_vector & | dv, | |
const string_vector & | sv, | |||
bool | trim = false | |||
) |
Definition at line 99 of file Cell.cc.
References Array< octave_value >::elem(), Array< T >::length(), and Array< octave_value >::numel().
boolMatrix Cell::all | ( | int | = 0 |
) | const [inline] |
boolMatrix Cell::any | ( | int | = 0 |
) | const [inline] |
Array<octave_value > Array< octave_value >::as_column | ( | void | ) | const [inline, inherited] |
Definition at line 274 of file Array.h.
References Array< T >::dimensions, and dim_vector::length().
Array<octave_value > Array< octave_value >::as_matrix | ( | void | ) | const [inline, inherited] |
Definition at line 294 of file Array.h.
References Array< T >::dimensions, dim_vector::length(), and dim_vector::redim().
Array<octave_value > Array< octave_value >::as_row | ( | void | ) | const [inline, inherited] |
Definition at line 284 of file Array.h.
References Array< T >::dimensions, and dim_vector::length().
void Cell::assign | ( | const octave_value_list & | idx, | |
const Cell & | rhs, | |||
const octave_value & | fill_val = resize_fill_value () | |||
) |
Definition at line 219 of file Cell.cc.
References octave_value_list::length().
Referenced by Octave_map::assign(), and octave_map::assign().
void Array< octave_value >::assign | ( | const idx_vector & | i, | |
const Array< octave_value > & | rhs, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< octave_value >::assign | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const Array< octave_value > & | rhs, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< octave_value >::assign | ( | const Array< idx_vector > & | ia, | |
const Array< octave_value > & | rhs, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | [inherited] |
size_t Array< octave_value >::byte_size | ( | void | ) | const [inline, inherited] |
octave_idx_type Array< octave_value >::capacity | ( | void | ) | const [inline, inherited] |
static Array<octave_value > Array< octave_value >::cat | ( | int | dim, | |
octave_idx_type | n, | |||
const Array< octave_value > * | array_list | |||
) | [static, inherited] |
Array< std::string > Cell::cellstr_value | ( | void | ) | const |
Definition at line 146 of file Cell.cc.
References Array< octave_value >::dims(), Array< octave_value >::elem(), Array< octave_value >::numel(), octave_value::string_value(), and Array< T >::xelem().
Referenced by octave_cell::cellstr_value(), and DEFUN().
octave_value & Array< octave_value >::checkelem | ( | octave_idx_type | n | ) | [inherited] |
octave_value & Array< octave_value >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inherited] |
octave_value & Array< octave_value >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inherited] |
octave_value & Array< octave_value >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inherited] |
crefT Array< octave_value >::checkelem | ( | octave_idx_type | n | ) | const [inherited] |
crefT Array< octave_value >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
crefT Array< octave_value >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
crefT Array< octave_value >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
void Array< octave_value >::chop_trailing_singletons | ( | void | ) | [inline, inherited] |
Definition at line 315 of file Array.h.
References dim_vector::chop_trailing_singletons().
void Array< octave_value >::clear | ( | const dim_vector & | dv | ) | [inherited] |
void Array< octave_value >::clear | ( | void | ) | [inherited] |
void Array< octave_value >::clear | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline, inherited] |
Definition at line 261 of file Array.h.
References Array< T >::clear().
octave_idx_type Array< octave_value >::cols | ( | void | ) | const [inline, inherited] |
Cell Cell::column | ( | octave_idx_type | i | ) | const |
Reimplemented from Array< octave_value >.
Definition at line 255 of file Cell.cc.
References Array< octave_value >::cols(), Array< octave_value >::elem(), error(), Array< octave_value >::ndims(), Array< T >::resize(), Array< octave_value >::rows(), and Array< T >::xelem().
octave_idx_type Array< octave_value >::columns | ( | void | ) | const [inline, inherited] |
octave_idx_type Array< octave_value >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
octave_idx_type Array< octave_value >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
octave_idx_type Array< octave_value >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
octave_idx_type Array< octave_value >::compute_index_unchecked | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Definition at line 322 of file Array.h.
References dim_vector::compute_index(), Array< T >::data(), and Array< T >::length().
Cell Cell::concat | ( | const Cell & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
const octave_value * Array< octave_value >::data | ( | void | ) | const [inline, inherited] |
void Array< octave_value >::delete_elements | ( | const Array< idx_vector > & | ia | ) | [inherited] |
void Cell::delete_elements | ( | const octave_value_list & | idx | ) |
Definition at line 234 of file Cell.cc.
References octave_value_list::length(), and Array< T >::xelem().
Referenced by Octave_map::maybe_delete_elements().
void Array< octave_value >::delete_elements | ( | const idx_vector & | i | ) | [inherited] |
void Array< octave_value >::delete_elements | ( | int | dim, | |
const idx_vector & | i | |||
) | [inherited] |
Cell Cell::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from Array< octave_value >.
octave_idx_type Array< octave_value >::dim1 | ( | void | ) | const [inline, inherited] |
octave_idx_type Array< octave_value >::dim2 | ( | void | ) | const [inline, inherited] |
octave_idx_type Array< octave_value >::dim3 | ( | void | ) | const [inline, inherited] |
const dim_vector& Array< octave_value >::dims | ( | void | ) | const [inline, inherited] |
Definition at line 311 of file Array.h.
Referenced by cellstr_value(), and map().
octave_value & Array< octave_value >::elem | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 353 of file Array.h.
Referenced by Cell(), cellstr_value(), column(), and is_cellstr().
octave_value & Array< octave_value >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Definition at line 359 of file Array.h.
References Array< T >::elem().
octave_value & Array< octave_value >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Definition at line 361 of file Array.h.
References Array< T >::elem().
octave_value & Array< octave_value >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Definition at line 363 of file Array.h.
References Array< T >::elem().
crefT Array< octave_value >::elem | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< octave_value >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
crefT Array< octave_value >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
crefT Array< octave_value >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Definition at line 389 of file Array.h.
References Array< T >::xelem().
void Array< octave_value >::fill | ( | const octave_value & | val | ) | [inherited] |
Array<octave_idx_type> Array< octave_value >::find | ( | octave_idx_type | n = -1 , |
|
bool | backward = false | |||
) | const [inherited] |
const octave_value * Array< octave_value >::fortran_vec | ( | void | ) | const [inline, inherited] |
octave_value * Array< octave_value >::fortran_vec | ( | void | ) | [inherited] |
Array<octave_value > Array< octave_value >::hermitian | ( | octave_value (*)(const octave_value &) | fcn = 0 |
) | const [inherited] |
Array<octave_value > Array< octave_value >::index | ( | const idx_vector & | i, | |
bool | resize_ok, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | const [inherited] |
Array<octave_value > Array< octave_value >::index | ( | const idx_vector & | i | ) | const [inherited] |
Array<octave_value > Array< octave_value >::index | ( | const idx_vector & | i, | |
const idx_vector & | j | |||
) | const [inherited] |
Array<octave_value > Array< octave_value >::index | ( | const Array< idx_vector > & | ia | ) | const [inherited] |
Cell Cell::index | ( | const octave_value_list & | idx, | |
bool | resize_ok = false | |||
) | const |
Definition at line 159 of file Cell.cc.
References error_state, octave_value_list::length(), and resize_fill_value().
Referenced by DEFUN(), do_cellslices_nda(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), and octave_class::subsref().
Array<octave_value > Array< octave_value >::index | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
bool | resize_ok, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | const [inherited] |
Array<octave_value > Array< octave_value >::index | ( | const Array< idx_vector > & | ia, | |
bool | resize_ok, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | const [inherited] |
Cell & Cell::insert | ( | const Cell & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 286 of file Cell.cc.
Referenced by octave_map::concat(), concat(), and insert().
Cell & Cell::insert | ( | const Cell & | a, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Array<octave_value >& Array< octave_value >::insert | ( | const Array< octave_value > & | a, | |
const Array< octave_idx_type > & | idx | |||
) | [inherited] |
Array<octave_value >& Array< octave_value >::insert | ( | const Array< octave_value > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inherited] |
Array<octave_value > Array< octave_value >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline, inherited] |
bool Cell::is_cellstr | ( | void | ) | const |
Definition at line 127 of file Cell.cc.
References Array< octave_value >::elem(), and Array< octave_value >::numel().
Referenced by do_strcmp_fun(), octave_cell::is_cellstr(), and Octave_map::Octave_map().
bool Array< octave_value >::is_empty | ( | void | ) | const [inline, inherited] |
bool Array< octave_value >::is_shared | ( | void | ) | [inline, inherited] |
Definition at line 441 of file Array.h.
References Array< T >::ArrayRep::count.
sortmode Array< octave_value >::is_sorted | ( | sortmode | mode = UNSORTED |
) | const [inherited] |
sortmode Array< octave_value >::is_sorted_rows | ( | sortmode | mode = UNSORTED |
) | const [inherited] |
bool Array< octave_value >::is_square | ( | void | ) | const [inline, inherited] |
bool Array< octave_value >::is_vector | ( | void | ) | const [inline, inherited] |
Definition at line 430 of file Array.h.
References dim_vector::is_vector().
octave_idx_type Array< octave_value >::length | ( | void | ) | const [inline, inherited] |
Array<octave_value > Array< octave_value >::linear_slice | ( | octave_idx_type | lo, | |
octave_idx_type | up | |||
) | const [inherited] |
octave_idx_type Array< octave_value >::lookup | ( | const octave_value & | value, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
Array<octave_idx_type> Array< octave_value >::lookup | ( | const Array< octave_value > & | values, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
void Array< octave_value >::make_unique | ( | void | ) | [inline, inherited] |
Cell Cell::map | ( | ctype_mapper | fcn | ) | const [private] |
Definition at line 300 of file Cell.cc.
References Array< octave_value >::data(), Array< octave_value >::dims(), Array< T >::fortran_vec(), and Array< octave_value >::numel().
Array<U> Array< octave_value >::map | ( | F | fcn | ) | const [inline, inherited] |
Definition at line 573 of file Array.h.
References Array< T >::fortran_vec().
Array<U> Array< octave_value >::map | ( | U(&)(const octave_value &) | fcn | ) | const [inline, inherited] |
Array<U> Array< octave_value >::map | ( | U(&)(octave_value ) | fcn | ) | const [inline, inherited] |
void Array< octave_value >::maybe_economize | ( | void | ) | [inline, inherited] |
Definition at line 514 of file Array.h.
References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, and Array< T >::ArrayRep::len.
void* Array< octave_value >::mex_get_data | ( | void | ) | const [inline, inherited] |
int Array< octave_value >::ndims | ( | void | ) | const [inline, inherited] |
octave_idx_type Array< octave_value >::nelem | ( | void | ) | const [inline, inherited] |
octave_idx_type Cell::nnz | ( | void | ) | const |
Reimplemented from Array< octave_value >.
Definition at line 248 of file Cell.cc.
References gripe_wrong_type_arg().
Array<octave_value > Array< octave_value >::nth_element | ( | const idx_vector & | n, | |
int | dim = 0 | |||
) | const [inherited] |
octave_idx_type Array< octave_value >::numel | ( | void | ) | const [inline, inherited] |
Definition at line 267 of file Array.h.
Referenced by Cell(), cellstr_value(), is_cellstr(), and map().
octave_value & Array< octave_value >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
octave_value & Array< octave_value >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
octave_value & Array< octave_value >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< octave_value >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< octave_value >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
crefT Array< octave_value >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
crefT Array< octave_value >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
octave_value & Array< octave_value >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
bool Array< octave_value >::optimize_dimensions | ( | const dim_vector & | dv | ) | [inherited] |
Array<octave_value > Array< octave_value >::page | ( | octave_idx_type | k | ) | const [inherited] |
octave_idx_type Array< octave_value >::pages | ( | void | ) | const [inline, inherited] |
Array<octave_value > Array< octave_value >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inherited] |
void Array< octave_value >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inherited] |
Cell Cell::reshape | ( | const dim_vector & | new_dims | ) | const [inline] |
Reimplemented from Array< octave_value >.
Definition at line 91 of file Cell.h.
References Array< T >::reshape().
Referenced by DEFUN(), octave_struct::subsasgn(), octave_cell::subsasgn(), and octave_class::subsasgn_common().
Array<octave_value > Array< octave_value >::reshape | ( | octave_idx_type | nr, | |
octave_idx_type | nc | |||
) | const [inline, inherited] |
void Array< octave_value >::resize | ( | octave_idx_type | n | ) | [inline, inherited] |
void Array< octave_value >::resize | ( | octave_idx_type | nr, | |
octave_idx_type | nc, | |||
const octave_value & | rfv = resize_fill_value () | |||
) | [inline, inherited] |
void Array< octave_value >::resize | ( | const dim_vector & | dv, | |
const octave_value & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< octave_value >::resize1 | ( | octave_idx_type | n, | |
const octave_value & | rfv = resize_fill_value () | |||
) | [inherited] |
static octave_value Cell::resize_fill_value | ( | void | ) | [inline, static] |
Reimplemented from Array< octave_value >.
Definition at line 113 of file Cell.h.
Referenced by Octave_map::assign(), octave_map::assign(), index(), Octave_map::resize(), and octave_map::resize().
octave_idx_type Array< octave_value >::rows | ( | void | ) | const [inline, inherited] |
Array<octave_value > Array< octave_value >::sort | ( | int | dim = 0 , |
|
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Array<octave_value > Array< octave_value >::sort | ( | Array< octave_idx_type > & | sidx, | |
int | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Array<octave_idx_type> Array< octave_value >::sort_rows_idx | ( | sortmode | mode = ASCENDING |
) | const [inherited] |
Array<octave_value > Array< octave_value >::squeeze | ( | void | ) | const [inherited] |
bool Array< octave_value >::test | ( | F | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_all | ( | bool(&)(const octave_value &) | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_all | ( | F | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_all | ( | bool(&)(octave_value ) | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_any | ( | bool(&)(octave_value ) | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_any | ( | bool(&)(const octave_value &) | fcn | ) | const [inline, inherited] |
bool Array< octave_value >::test_any | ( | F | fcn | ) | const [inline, inherited] |
Array<octave_value > Array< octave_value >::transpose | ( | void | ) | const [inherited] |
octave_value & Array< octave_value >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Definition at line 333 of file Array.h.
References Array< T >::xelem().
crefT Array< octave_value >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Definition at line 341 of file Array.h.
References Array< T >::xelem().
crefT Array< octave_value >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< octave_value >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Definition at line 331 of file Array.h.
References Array< T >::xelem().
octave_value & Array< octave_value >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Definition at line 330 of file Array.h.
References Array< T >::xelem().
octave_value & Array< octave_value >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Definition at line 338 of file Array.h.
References Array< T >::xelem().
crefT Array< octave_value >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
Definition at line 335 of file Array.h.
References Array< T >::xelem().
octave_value & Array< octave_value >::xelem | ( | octave_idx_type | n | ) | [inline, inherited] |
Cell Cell::xisascii | ( | void | ) | const [inline] |
Definition at line 119 of file Cell.h.
References xisascii().
Cell Cell::xtoascii | ( | void | ) | const [inline] |
Definition at line 129 of file Cell.h.
References xtoascii().
dim_vector Array< octave_value >::dimensions [protected, inherited] |
Array<octave_value >::ArrayRep* Array< octave_value >::rep [protected, inherited] |
octave_value * Array< octave_value >::slice_data [protected, inherited] |
octave_idx_type Array< octave_value >::slice_len [protected, inherited] |