GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "Array.h"
Classes | |
class | ArrayRep |
Public Types | |
typedef bool(* | compare_fcn_type )(typename ref_param< T >::type, typename ref_param< T >::type) |
typedef ref_param< T >::type | crefT |
typedef T | element_type |
Static Public Member Functions | |
static Array< T > | cat (int dim, octave_idx_type n, const Array< T > *array_list) |
Protected Member Functions | |
Array (const Array< T > &a, const dim_vector &dv, octave_idx_type l, octave_idx_type u) | |
Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) |
Protected Attributes | |
dim_vector | dimensions |
Array< T >::ArrayRep * | rep |
T * | slice_data |
octave_idx_type | slice_len |
Private Member Functions | |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
template<> | |
void | instantiation_guard () |
Array< T >::ArrayRep * | nil_rep (void) const |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const T &rfv) |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
Static Private Member Functions | |
static void | instantiation_guard () |
Friends | |
class | Array |
typedef T Array< T >::element_type |
|
inlineprotected |
|
inlineprotected |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
Array< T >::Array | ( | const Array< T > & | a, |
const dim_vector & | dv | ||
) |
Definition at line 48 of file Array.cc.
References dim_vector::chop_trailing_singletons(), Array< T >::ArrayRep::count, Array< T >::dimensions, Array< T >::numel(), Array< T >::rep, dim_vector::safe_numel(), and dim_vector::str().
void Array< T >::assign | ( | const idx_vector & | i, |
const Array< T > & | rhs, | ||
const T & | rfv | ||
) |
Definition at line 1120 of file Array.cc.
References idx_vector::assign(), Array< T >::data(), idx_vector::extent(), idx_vector::fill(), gripe_invalid_assignment_size(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::numel(), and Array< T >::reshape().
Referenced by Sparse< T >::assign(), octave_jit_paren_subsasgn_matrix_range(), octave_value_list::octave_value_list(), and operator*().
|
inline |
void Array< T >::assign | ( | const idx_vector & | i, |
const idx_vector & | j, | ||
const Array< T > & | rhs, | ||
const T & | rfv | ||
) |
Definition at line 1167 of file Array.cc.
References idx_vector::assign(), dim_vector::chop_all_singletons(), Array< T >::data(), Array< T >::dims(), idx_vector::extent(), idx_vector::fill(), gripe_assignment_dimension_mismatch(), idx_vector::is_colon_equiv(), dim_vector::length(), idx_vector::length(), match(), idx_vector::maybe_reduce(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), idx_vector::xelem(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inline |
void Array< T >::assign | ( | const Array< idx_vector > & | ia, |
const Array< T > & | rhs, | ||
const T & | rfv | ||
) |
Definition at line 1266 of file Array.cc.
References dim_vector::alloc(), rec_index_helper::assign(), dim_vector::chop_all_singletons(), dim_vector::chop_trailing_singletons(), Array< T >::data(), Array< T >::dims(), rec_index_helper::fill(), gripe_assignment_dimension_mismatch(), dim_vector::length(), Array< T >::length(), match(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 317 of file Array.h.
Referenced by DiagArray2< Complex >::byte_size(), octave_cell::byte_size(), and octave_perm_matrix::load_binary().
|
inline |
Definition at line 273 of file Array.h.
Referenced by daspk_user_function(), daspk_user_jacobian(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), octave_rand::do_float_nd_array(), octave_rand::do_float_vector(), LSODE::do_integrate(), DefQuad::do_integrate(), FloatDefQuad::do_integrate(), octave_rand::do_nd_array(), octave_rand::do_vector(), Fdaspk(), Fdassl(), Fquad(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
static |
Definition at line 2597 of file Array.cc.
References idx_vector::colon, dim_vector::concat(), Array< T >::dims(), dim_vector::hvcat(), dim_vector::length(), max(), and dim_vector::zero_by_zero().
Referenced by single_type_concat().
T & Array< T >::checkelem | ( | octave_idx_type | n | ) |
Definition at line 189 of file Array.cc.
References elem, gripe_index_out_of_range(), and gripe_invalid_index().
Referenced by octave_value_typeinfo::do_lookup_assign_op(), octave_value_typeinfo::do_lookup_assignany_op(), octave_value_typeinfo::do_lookup_binary_class_op(), octave_value_typeinfo::do_lookup_binary_op(), octave_value_typeinfo::do_lookup_cat_op(), octave_value_typeinfo::do_lookup_pref_assign_conv(), octave_value_typeinfo::do_lookup_type_conv_op(), octave_value_typeinfo::do_lookup_unary_class_op(), octave_value_typeinfo::do_lookup_unary_op(), octave_value_typeinfo::do_lookup_widening_op(), octave_value_typeinfo::do_register_assign_op(), octave_value_typeinfo::do_register_assignany_op(), octave_value_typeinfo::do_register_binary_class_op(), octave_value_typeinfo::do_register_binary_op(), octave_value_typeinfo::do_register_cat_op(), octave_value_typeinfo::do_register_pref_assign_conv(), octave_value_typeinfo::do_register_unary_class_op(), octave_value_typeinfo::do_register_unary_op(), do_repelems(), and PermMatrix::operator()().
T & Array< T >::checkelem | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 202 of file Array.cc.
References compute_index(), and elem.
T & Array< T >::checkelem | ( | octave_idx_type | i, |
octave_idx_type | j, | ||
octave_idx_type | k | ||
) |
Definition at line 209 of file Array.cc.
References compute_index(), and elem.
T & Array< T >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) |
Definition at line 216 of file Array.cc.
References compute_index(), and elem.
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | n | ) | const |
Definition at line 223 of file Array.cc.
References elem, gripe_index_out_of_range(), and gripe_invalid_index().
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) | const |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 236 of file Array.cc.
References compute_index(), and elem.
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | i, |
octave_idx_type | j, | ||
octave_idx_type | k | ||
) | const |
Definition at line 243 of file Array.cc.
References compute_index(), and elem.
Array< T >::crefT Array< T >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const |
Definition at line 251 of file Array.cc.
References compute_index(), and elem.
Definition at line 84 of file Array.cc.
Referenced by octave_char_matrix_str::cellstr_value(), RowVector::clear(), FloatRowVector::clear(), ColumnVector::clear(), FloatColumnVector::clear(), ComplexRowVector::clear(), FloatComplexRowVector::clear(), ComplexColumnVector::clear(), FloatComplexColumnVector::clear(), octave_rand::do_float_nd_array(), octave_rand::do_float_vector(), octave_rand::do_nd_array(), do_num2cell_helper(), do_repelems(), octave_rand::do_vector(), octave_fields::equal_up_to_order(), Array< T >::find(), Range::index(), SCHUR::init(), FloatSCHUR::init(), CHOL::init(), ComplexSCHUR::init(), FloatComplexSCHUR::init(), FloatCHOL::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), octave_fields::orderfields(), qs_replace(), read_mat5_binary_element(), single_type_concat(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_scalar_rep::sort_idx(), idx_vector::idx_vector_rep::sort_idx(), and idx_vector::idx_mask_rep::sort_idx().
void Array< T >::clear | ( | const dim_vector & | dv | ) |
Definition at line 99 of file Array.cc.
References dim_vector::chop_trailing_singletons(), Array< T >::ArrayRep::data, and dim_vector::safe_numel().
|
inline |
Definition at line 270 of file Array.h.
Referenced by Array< octave_value >::clear().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 313 of file Array.h.
Referenced by AEPBALANCE::AEPBALANCE(), airy(), Matrix::append(), FloatMatrix::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), biry(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseComplexQR::SparseComplexQR_rep::C(), SparseQR::SparseQR_rep::C(), chol2inv_internal(), cntr(), ComplexAEPBALANCE::ComplexAEPBALANCE(), ComplexLU::ComplexLU(), ComplexMatrix::ComplexMatrix(), dmsolve_insert(), dmsolve_permute(), do_bessel(), drawcn(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), elem_xpow(), FloatAEPBALANCE::FloatAEPBALANCE(), FloatComplexAEPBALANCE::FloatComplexAEPBALANCE(), FloatComplexLU::FloatComplexLU(), FloatComplexMatrix::FloatComplexMatrix(), FloatLU::FloatLU(), FloatMatrix::FloatMatrix(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), gammainc(), FloatEIG::hermitian_init(), EIG::hermitian_init(), Sparse< T >::index(), FloatQR::init(), ComplexQR::init(), FloatComplexQR::init(), ComplexQRP::init(), QR::init(), FloatComplexQRP::init(), FloatQRP::init(), QRP::init(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), SCHUR::init(), FloatSCHUR::init(), FloatComplexGEPBALANCE::init(), ComplexSCHUR::init(), CHOL::init(), FloatComplexSCHUR::init(), FloatSVD::init(), FloatCHOL::init(), ComplexCHOL::init(), ComplexSVD::init(), FloatComplexCHOL::init(), FloatComplexSVD::init(), SVD::init(), EIG::init(), FloatEIG::init(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), kron(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), LU::LU(), LuAminusSigmaB(), make_cholb(), mark_facets(), Matrix::Matrix(), matrix_real_probe(), null(), operator*(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), operator<<(), boolMatrix::operator==(), charMatrix::operator==(), Matrix::operator==(), FloatMatrix::operator==(), ComplexMatrix::operator==(), FloatComplexMatrix::operator==(), operator>>(), qrsolve(), octave_char_matrix_str::save_ascii(), octave_cell::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), log_scaler::scale(), neg_log_scaler::scale(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), stack_complex_matrix(), FloatEIG::symmetric_init(), EIG::symmetric_init(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), LU::update(), FloatLU::update(), ComplexLU::update(), QR::update(), FloatComplexLU::update(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), vector_product(), xgemm(), and xpow().
Array< T > Array< T >::column | ( | octave_idx_type | k | ) | const |
Reimplemented in FloatComplexMatrix, ComplexMatrix, FloatMatrix, Matrix, FloatComplexDiagMatrix, ComplexDiagMatrix, FloatDiagMatrix, DiagMatrix, and Cell.
Definition at line 258 of file Array.cc.
References gripe_index_out_of_range().
Referenced by qp().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 314 of file Array.h.
Referenced by column_norms(), ComplexSCHUR::ComplexSCHUR(), DEFUN_DLD(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), do_fftn(), do_mgorth(), do_repelems(), do_tril(), do_triu(), encode_bool_image(), F__octave_link_file_dialog__(), F__pchip_deriv__(), Fhex2num(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatSCHUR::FloatSCHUR(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), Array< T >::index(), Array< T >::insert(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), mark_upper_triangular(), max(), min(), octave_print_internal(), operator*(), pr_max_internal(), pr_min_internal(), row_norms(), graphics_xform::scale(), SCHUR::SCHUR(), graphics_object::set(), FloatQR::shift_cols(), ComplexQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), Array3< T >::sort(), printf_value_cache::string_value(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), LU::update(), FloatLU::update(), QR::update(), ComplexLU::update(), FloatComplexLU::update(), surface::properties::update_normals(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), and x_el_div().
octave_idx_type Array< T >::compute_index | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) | const |
Definition at line 167 of file Array.cc.
References compute_index().
octave_idx_type Array< T >::compute_index | ( | octave_idx_type | i, |
octave_idx_type | j, | ||
octave_idx_type | k | ||
) | const |
Definition at line 174 of file Array.cc.
References compute_index().
octave_idx_type Array< T >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const |
Definition at line 182 of file Array.cc.
References compute_index().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 465 of file Array.h.
Referenced by mxArray_octave_value::array_to_string(), octave_struct::as_mxArray(), octave_char_matrix::as_mxArray(), octave_float_complex_matrix::as_mxArray(), octave_cell::as_mxArray(), octave_complex_matrix::as_mxArray(), octave_float_matrix::as_mxArray(), octave_bool_matrix::as_mxArray(), octave_matrix::as_mxArray(), octave_scalar_struct::as_mxArray(), octave_range::as_mxArray(), Array< T >::assign(), binmap(), Cell::Cell(), compute_index(), Array< octave_value >::compute_index_unchecked(), convert_cdata(), DiagArray2< Complex >::data(), do_merge(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_mx_check(), do_mx_unary_op(), do_sm_binary_op(), printf_value_cache::double_value(), F__pchip_deriv__(), Fbase64_encode(), Fblkmm(), Fdot(), Fellipj(), filter(), Fqz(), get_array_limits(), mxArray_octave_value::get_string(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), idx_vector::idx_mask_rep::idx_mask_rep(), MArray< T >::idx_max(), MArray< T >::idx_min(), octave_char_matrix::index_vector(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), Array< float >::is_sorted(), kron(), Array< T >::lookup(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), ComplexRowVector::operator+=(), ComplexColumnVector::operator+=(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), ComplexRowVector::operator-=(), ComplexColumnVector::operator-=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), RowVector::operator==(), ColumnVector::operator==(), FloatRowVector::operator==(), boolMatrix::operator==(), FloatColumnVector::operator==(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), FloatComplexRowVector::operator==(), FloatComplexColumnVector::operator==(), charMatrix::operator==(), Matrix::operator==(), FloatMatrix::operator==(), ComplexMatrix::operator==(), FloatComplexMatrix::operator==(), qs_preprocess(), qs_replace(), qs_search(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_float_complex_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_float_matrix::save_binary(), octave_matrix::save_binary(), save_mat5_binary_element(), save_mat_binary_data(), log_scaler::scale(), neg_log_scaler::scale(), Sparse< T >::Sparse(), stack_complex_matrix(), strcmp_array_op(), strcmpi_array_op(), strncmp_array_op(), strncmpi_array_op(), unstack_complex_matrix(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), vector_product(), octave_stream::write(), write_mat5_array(), and xgemm().
void Array< T >::delete_elements | ( | const idx_vector & | i | ) |
Definition at line 1366 of file Array.cc.
References idx_vector::complement(), copy_or_memcpy(), idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_scalar(), and idx_vector::length().
Referenced by octave_map::delete_elements().
void Array< T >::delete_elements | ( | int | dim, |
const idx_vector & | i | ||
) |
Definition at line 1406 of file Array.cc.
References idx_vector::colon, idx_vector::complement(), copy_or_memcpy(), idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), idx_vector::is_colon(), idx_vector::is_cont_range(), and idx_vector::length().
void Array< T >::delete_elements | ( | const Array< idx_vector > & | ia | ) |
Definition at line 1464 of file Array.cc.
References jit_convention::length, and Array< T >::length().
Array< T > Array< T >::diag | ( | octave_idx_type | k = 0 | ) | const |
Reimplemented in FloatComplexMatrix, ComplexMatrix, FloatMatrix, Matrix, NDArray, FloatNDArray, FloatComplexNDArray, ComplexNDArray, Cell, boolNDArray, charNDArray, DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, charMatrix, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, MDiagArray2< Complex >, boolMatrix, intNDArray< T >, intNDArray< octave_uint8 >, and intNDArray< OCTAVE_INT_T >.
Definition at line 2488 of file Array.cc.
References abs(), current_liboctave_error_handler, d, elem, dim_vector::length(), Array< T >::resize(), and Array< T >::xelem().
Referenced by intNDArray< T >::diag().
Array< T > Array< T >::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Reimplemented in FloatComplexMatrix, ComplexMatrix, FloatMatrix, Matrix, NDArray, FloatNDArray, FloatComplexNDArray, ComplexNDArray, Cell, boolNDArray, charNDArray, intNDArray< T >, intNDArray< octave_uint8 >, and intNDArray< OCTAVE_INT_T >.
Definition at line 2577 of file Array.cc.
References current_liboctave_error_handler, Array< T >::resize(), and Array< T >::xelem().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 278 of file Array.h.
Referenced by PermMatrix::nelem(), and PermMatrix::rows().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 279 of file Array.h.
Referenced by PermMatrix::cols(), PermMatrix::columns(), PermMatrix::nelem(), ft_render::process_character(), and ft_render::render().
|
inline |
Definition at line 280 of file Array.h.
Referenced by ft_render::process_character(), and ft_render::render().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 321 of file Array.h.
Referenced by jit_operation::add_overload(), airy(), octave_map::assign(), Array< T >::assign(), Octave_map::assign(), betainc(), betaincinv(), binmap(), biry(), bitopxx(), axes::properties::calc_ticklabels(), Array< T >::cat(), octave_value::complex_vector_value(), charNDArray::concat(), conv_to_int_array(), convolve(), DEFUN(), octave_map::delete_elements(), do_bessel(), do_bitpack(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_merge(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_mx_unary_op(), do_numeric_lookup(), do_rand(), do_rc_map(), do_simple_cellfun(), do_sm_binary_op(), do_strcmp_fun(), do_tril(), do_triu(), elem_xpow(), encode_bool_image(), Fcellindexmat(), Fcomplex(), Fellipj(), Feps(), Ffilter(), filter(), find_nonzero_elem_idx(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), Flookup(), Fregexprep(), Frepelems(), Fstr2double(), Fstrfind(), Fstrrep(), gammainc(), MArray< T >::idx_add_nd(), idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector_rep::idx_vector_rep(), octave_map::index(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), Array< T >::insert(), octave_value::int_vector_value(), is_handle(), is_handle_visible(), Array< T >::lookup(), octave_float_matrix::map(), octave_matrix::map(), map_2_xlog2(), Octave_map::maybe_delete_elements(), NDArray::NDArray(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), octave_value::octave_idx_type_vector_value(), octave_print_internal(), octcellregexp(), jit_operation::overload(), octave_map::permute(), octave_cell::print_raw(), log_scaler::scale(), neg_log_scaler::scale(), graphics_xform::scale(), octave_map::setfield(), Array< T >::sort(), strcmp_array_op(), strcmpi_array_op(), try_cellfun_internal_ops(), octave_value::vector_value(), and x_el_div().
|
inline |
Definition at line 366 of file Array.h.
Referenced by atan2(), AEPBALANCE::balancing_matrix(), FloatAEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_matrix::char_array_value(), octave_range::char_array_value(), DiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::column(), FloatComplexDiagMatrix::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), charNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), conv_to_int_array(), printf_format_list::current(), ddaspk_f(), ddaspk_j(), ddasrt_j(), ddassl_f(), ddassl_j(), DEFUN(), DEFUN_DLD(), delete_graphics_objects(), DiagArray2< Complex >::dgelem(), dmsolve_extract(), LSODE::do_integrate(), DiagArray2< Complex >::elem(), Array< octave_value >::elem(), DiagMatrix::extract(), charMatrix::extract(), ComplexRowVector::extract(), FloatDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), ComplexDiagMatrix::extract(), FloatComplexDiagMatrix::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), F__go_delete__(), Fhex2num(), FloatDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Fnum2hex(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseComplexMatrix::fsolve(), get_elt_idx(), octave_rand::get_internal_state(), Givens(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), EIG::init(), FloatEIG::init(), RowVector::insert(), FloatRowVector::insert(), ColumnVector::insert(), FloatColumnVector::insert(), ComplexRowVector::insert(), ComplexColumnVector::insert(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexNDArray::insert(), octave_value::int_vector_value(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_cell::load_binary(), octave_cell::load_hdf5(), octave_bool_matrix::load_hdf5(), lsode_f(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::Matrix(), matrix_real_probe(), SparseBoolMatrix::matrix_value(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value::octave_idx_type_vector_value(), intNDArray< T >::operator!(), boolMatrix::operator!(), PermMatrix::operator()(), operator*(), operator<<(), operator>>(), string_vector::operator[](), parse_dbfunction_params(), Array< T >::permute(), plus_or_minus(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), read_mat_ascii_data(), DiagMatrix::row(), FloatDiagMatrix::row(), ComplexDiagMatrix::row(), FloatComplexDiagMatrix::row(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), graphics_object::set(), octave_rand::set_internal_state(), Sparse< T >::Sparse(), try_cellfun_internal_ops(), and x_el_div().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 372 of file Array.h.
Referenced by Array< octave_value >::elem().
|
inline |
Definition at line 374 of file Array.h.
Referenced by Array< octave_value >::elem().
|
inline |
|
inline |
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
|
inline |
|
inline |
Reimplemented in FloatComplexMatrix, ComplexMatrix, FloatComplexColumnVector, FloatComplexRowVector, ComplexColumnVector, and ComplexRowVector.
Definition at line 70 of file Array.cc.
References fill_or_memset(), and jit_convention::length.
Referenced by idx_vector::idx_scalar_rep::sort_idx().
Array< octave_idx_type > Array< idx_vector >::find | ( | octave_idx_type | , |
bool | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
Array< octave_idx_type > Array< T >::find | ( | octave_idx_type | n = -1 , |
bool | backward = false |
||
) | const |
Definition at line 2208 of file Array.cc.
References Array< T >::clear(), Array< T >::dimensions, Array< T >::fortran_vec(), Array< T >::is_empty(), Array< T >::length(), and Array< T >::resize2().
Referenced by idx_vector::idx_mask_rep::as_array(), Fdbtype(), and find_nonzero_elem_idx().
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 467 of file Array.h.
Referenced by AEPBALANCE::AEPBALANCE(), SparseBoolMatrix::any(), OCTAVE_VALUE_INT_MATRIX_T::array_value(), idx_vector::idx_vector_rep::as_array(), mxArray_number::as_octave_value(), mxArray_struct::as_octave_value(), mxArray_cell::as_octave_value(), Sparse< T >::assign(), FloatAEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), AEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), betainc(), betaincinv(), binmap(), OCTAVE_VALUE_INT_MATRIX_T::bool_array_value(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseComplexQR::SparseComplexQR_rep::C(), SparseQR::SparseQR_rep::C(), cam2xform(), OCTAVE_VALUE_INT_MATRIX_T::char_array_value(), chol2inv_internal(), idx_vector::complement(), OCTAVE_VALUE_INT_MATRIX_T::complex_array_value(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), ComplexAEPBALANCE::ComplexAEPBALANCE(), ComplexLU::ComplexLU(), ComplexSCHUR::ComplexSCHUR(), convert_cdata(), convolve(), DEFUN_DLD(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), Array< T >::delete_elements(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), CHOL::delete_sym(), FloatCHOL::delete_sym(), ComplexCHOL::delete_sym(), FloatComplexCHOL::delete_sym(), SparseMatrix::determinant(), SparseComplexMatrix::determinant(), Matrix::determinant(), FloatMatrix::determinant(), ComplexMatrix::determinant(), FloatComplexMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), do_bitpack(), do_bitunpack(), do_bsxfun_op(), octave_rand::do_float_nd_array(), octave_rand::do_float_vector(), do_inplace_bsxfun_op(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), DefQuad::do_integrate(), IndefQuad::do_integrate(), FloatDefQuad::do_integrate(), FloatIndefQuad::do_integrate(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mx_inplace_op(), do_mx_unary_op(), octave_rand::do_nd_array(), do_rand(), do_repelems(), octave_base_stream::do_scanf(), do_scanf_conv(), do_sm_binary_op(), do_tril(), do_triu(), octave_rand::do_vector(), CHOL::downdate(), FloatCHOL::downdate(), ComplexCHOL::downdate(), FloatComplexCHOL::downdate(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), encode_bool_image(), encode_indexed_images(), octave_fields::equal_up_to_order(), F__pchip_deriv__(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), Fblkmm(), Fdot(), Fellipj(), filter(), Array< T >::find(), find_starting_node(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), OCTAVE_VALUE_INT_MATRIX_T::float_array_value(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_array_value(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_matrix_value(), OCTAVE_VALUE_INT_MATRIX_T::float_matrix_value(), FloatAEPBALANCE::FloatAEPBALANCE(), FloatComplexAEPBALANCE::FloatComplexAEPBALANCE(), FloatComplexLU::FloatComplexLU(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatLU::FloatLU(), Fnum2hex(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), DiagArray2< Complex >::fortran_vec(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), NDArray::fourier(), Matrix::fourier(), FloatMatrix::fourier(), ComplexMatrix::fourier(), FloatComplexMatrix::fourier(), ComplexNDArray::fourier2d(), FloatComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), NDArray::fourier2d(), Matrix::fourier2d(), FloatMatrix::fourier2d(), ComplexMatrix::fourier2d(), FloatComplexMatrix::fourier2d(), ComplexNDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), NDArray::fourierNd(), Fqz(), Frandperm(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), FloatEIG::hermitian_init(), EIG::hermitian_init(), MArray< T >::idx_add_nd(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), NDArray::ifourier(), Matrix::ifourier(), FloatMatrix::ifourier(), ComplexMatrix::ifourier(), FloatComplexMatrix::ifourier(), ComplexNDArray::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatNDArray::ifourier2d(), NDArray::ifourier2d(), Matrix::ifourier2d(), FloatMatrix::ifourier2d(), ComplexMatrix::ifourier2d(), FloatComplexMatrix::ifourier2d(), ComplexNDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), FloatNDArray::ifourierNd(), NDArray::ifourierNd(), Range::index(), Array< T >::index(), FloatQR::init(), ComplexQR::init(), FloatComplexQR::init(), FloatComplexQRP::init(), ComplexQRP::init(), QR::init(), QRP::init(), FloatQRP::init(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), SCHUR::init(), FloatSCHUR::init(), FloatComplexGEPBALANCE::init(), FloatComplexSCHUR::init(), CHOL::init(), ComplexSCHUR::init(), FloatSVD::init(), FloatCHOL::init(), ComplexSVD::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), FloatComplexSVD::init(), SVD::init(), EIG::init(), FloatEIG::init(), CollocWt::init(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::insert_sym(), FloatCHOL::insert_sym(), ComplexCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), DASRT::integrate(), kron(), octave_char_matrix_str::load_ascii(), octave_float_complex_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_complex_matrix::load_binary(), octave_float_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_bool_matrix::load_binary(), octave_matrix::load_binary(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), ltsolve(), LU::LU(), LuAminusSigmaB(), Cell::map(), Array< octave_value >::map(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), NDArray::NDArray(), octave_base64_decode(), octave_jit_paren_subsasgn_impl(), operator*(), Array< T >::permute(), PermMatrix::power(), SparseComplexQR::SparseComplexQR_rep::Q(), SparseQR::SparseQR_rep::Q(), qrsolve(), qs_replace(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), read_indexed_images(), read_mat5_binary_element(), read_mat_binary_data(), Array< T >::resize(), Array< T >::resize1(), Array< T >::resize2(), octave_char_matrix_str::save_ascii(), octave_char_matrix_str::save_binary(), octave_bool_matrix::save_binary(), octave_float_complex_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_mat5_binary_element(), save_mat5_element_length(), FloatQR::shift_cols(), ComplexQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), CHOL::shift_sym(), FloatCHOL::shift_sym(), ComplexCHOL::shift_sym(), FloatComplexCHOL::shift_sym(), Array< T >::sort(), idx_vector::idx_vector_rep::sort_idx(), Range::sort_internal(), Array< T >::sort_rows_idx(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), sqrtm_utri_inplace(), stack_complex_matrix(), sub2ind(), SparseBoolMatrix::sum(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), Matrix::tinverse(), FloatMatrix::tinverse(), ComplexMatrix::tinverse(), FloatComplexMatrix::tinverse(), Array< T >::transpose(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), unit_cube(), unstack_complex_matrix(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), LU::update(), FloatLU::update(), QR::update(), ComplexLU::update(), FloatComplexLU::update(), CHOL::update(), FloatCHOL::update(), FloatComplexCHOL::update(), ComplexCHOL::update(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), utsolve(), and xgemm().
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, MDiagArray2< Complex >, MArray< T >, MArray< double >, MArray< float >, MArray< octave_uint8 >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 1621 of file Array.cc.
References Array< T >::xelem().
Referenced by MArray< Complex >::hermitian().
Array< T > Array< T >::index | ( | const idx_vector & | i | ) | const |
Definition at line 706 of file Array.cc.
References idx_vector::extent(), Array< T >::fortran_vec(), gripe_index_out_of_range(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), dim_vector::is_vector(), idx_vector::length(), and idx_vector::orig_dimensions().
Referenced by convolve(), octave_char_matrix_str::do_index_op_internal(), find_nonzero_elem_idx(), octave_map::index(), Array< T >::index(), Sparse< T >::index(), octave_print_internal(), operator*(), and ft_render::render().
Array< T > Array< T >::index | ( | const idx_vector & | i, |
const idx_vector & | j | ||
) | const |
Definition at line 770 of file Array.cc.
References idx_vector::extent(), Array< T >::fortran_vec(), gripe_index_out_of_range(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), idx_vector::maybe_reduce(), dim_vector::redim(), and idx_vector::xelem().
Array< T > Array< T >::index | ( | const Array< idx_vector > & | ia | ) | const |
Definition at line 825 of file Array.cc.
References dim_vector::alloc(), dim_vector::chop_trailing_singletons(), Array< T >::fortran_vec(), gripe_index_out_of_range(), rec_index_helper::index(), rec_index_helper::is_cont_range(), Array< T >::length(), and dim_vector::redim().
Array< T > Array< T >::index | ( | const idx_vector & | i, |
bool | resize_ok, | ||
const T & | rfv | ||
) | const |
Definition at line 1040 of file Array.cc.
References idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), Array< T >::numel(), and Array< T >::resize1().
|
inline |
Array< T > Array< T >::index | ( | const idx_vector & | i, |
const idx_vector & | j, | ||
bool | resize_ok, | ||
const T & | rfv | ||
) | const |
Definition at line 1063 of file Array.cc.
References Array< T >::columns(), idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), dim_vector::redim(), Array< T >::resize2(), and Array< T >::rows().
|
inline |
Array< T > Array< T >::index | ( | const Array< idx_vector > & | ia, |
bool | resize_ok, | ||
const T & | rfv | ||
) | const |
Definition at line 1089 of file Array.cc.
References dim_vector::alloc(), Array< T >::dimensions, Array< T >::index(), Array< T >::length(), dim_vector::redim(), and Array< T >::resize().
|
inline |
Array< T > & Array< T >::insert | ( | const Array< T > & | a, |
const Array< octave_idx_type > & | idx | ||
) |
Definition at line 1562 of file Array.cc.
References Array< T >::dims(), Array< T >::length(), and dim_vector::redim().
Referenced by intNDArray< T >::insert(), and single_type_concat().
Array< T > & Array< T >::insert | ( | const Array< T > & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 1541 of file Array.cc.
References Array< T >::columns(), Array< T >::dimensions, Array< T >::ndims(), and Array< T >::rows().
|
private |
Definition at line 36 of file Array-idx-vec.cc.
Definition at line 38 of file Array-s.cc.
Definition at line 45 of file Array-i.cc.
|
private |
Definition at line 55 of file Array-i.cc.
|
private |
Definition at line 56 of file Array-i.cc.
|
private |
Definition at line 57 of file Array-i.cc.
|
private |
Definition at line 58 of file Array-i.cc.
|
private |
Definition at line 66 of file Array-i.cc.
|
private |
Definition at line 67 of file Array-i.cc.
|
private |
Definition at line 68 of file Array-i.cc.
|
inline |
Reimplemented in MArray< T >, MArray< double >, MArray< float >, MArray< octave_uint8 >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 453 of file Array.h.
Referenced by MArray< Complex >::ipermute().
Definition at line 458 of file Array.h.
Referenced by ft_render::compute_bbox(), ft_render::compute_line_xoffset(), convolve(), DEFUN(), DEFUN_DLD(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_minmax_red_op< boolNDArray >(), do_num2cell(), do_object2cell(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), Array< T >::find(), find_nonzero_elem_idx(), Foctave_config_info(), get_builtin_classes(), Octave_map::intfield(), octave_char_matrix_str::load_ascii(), octave_bool_matrix::load_ascii(), LuAminusSigmaB(), tree_colon_expression::make_range(), null(), octave_print_internal(), octave_cell::short_disp(), Octave_map::stringfield(), and val_in_table().
Definition at line 471 of file Array.h.
Referenced by mx_el_or_assign(), operator*=(), operator+=(), operator-=(), operator/=(), product_eq(), and quotient_eq().
sortmode Array< idx_vector >::is_sorted | ( | sortmode | ) | const |
Definition at line 34 of file Array-idx-vec.cc.
Definition at line 2018 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_lazy_index::is_sorted(), octave_cell::is_sorted(), octave_matrix::is_sorted(), and Array< T >::lookup().
sortmode Array< idx_vector >::is_sorted_rows | ( | sortmode | ) | const |
Definition at line 34 of file Array-idx-vec.cc.
Definition at line 2071 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted_rows(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_perm_matrix::is_sorted_rows(), octave_base_diag< DiagMatrix, Matrix >::is_sorted_rows(), octave_lazy_index::is_sorted_rows(), octave_cell::is_sorted_rows(), octave_base_matrix< boolNDArray >::is_sorted_rows(), and octave_matrix::is_sorted_rows().
Definition at line 456 of file Array.h.
Referenced by FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::set(), FloatCHOL::set(), FloatComplexCHOL::set(), and ComplexCHOL::set().
|
inline |
Definition at line 712 of file Array.h.
Referenced by octave_jit_paren_subsasgn_matrix_range().
Definition at line 714 of file Array.h.
Referenced by octave_jit_paren_subsasgn_matrix_range().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 274 of file Array.h.
Referenced by scanf_format_list::add_elt_to_list(), printf_format_list::add_elt_to_list(), load_path::add_to_fcn_map(), scanf_format_list::all_character_conversions(), all_colon_equiv(), dir_path::all_directories(), scanf_format_list::all_numeric_conversions(), all_ok(), all_ones(), octave_cell::all_strings(), any_ones(), any_orig_empty(), RowVector::append(), FloatRowVector::append(), ComplexRowVector::append(), FloatComplexRowVector::append(), Matrix::append(), FloatMatrix::append(), string_vector::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), array_concat(), Array< T >::assign(), Octave_map::assign(), calc_dimensions(), Cell::Cell(), compute_index(), Sparse< T >::compute_index(), Array< octave_value >::compute_index_unchecked(), conv_to_int_array(), printf_format_list::current(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), ddaspk_f(), ddasrt_f(), ddassl_f(), decode_subscripts(), DEFUN(), DEFUN_DLD(), DEFUNX(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), Array< T >::delete_elements(), DiagArray2< Complex >::diag_length(), DiagArray2< T >::DiagArray2(), do_bessel(), do_cellslices_nda(), do_clear_functions(), do_clear_globals(), do_clear_variables(), gh_manager::do_execute_callback(), load_path::do_files(), load_path::do_find_all_first_of(), load_path::do_find_file(), load_path::do_find_first_of(), do_history(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_num2cell_helper(), load_path::do_path(), do_permute(), do_rand(), octave_value_typeinfo::do_register_type(), string_array_property::do_set(), octave_qt_link::do_set_history(), octave_sparse_params::do_set_vals(), do_sm_binary_op(), do_strcmp_fun(), printf_value_cache::double_value(), CHOL::downdate(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), ComplexCHOL::downdate(), opengl_renderer::draw(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), elem_xpow(), octave_fields::equal_up_to_order(), expand_amble(), extract_keyword(), F__contourc__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mput__(), F__get__(), F__pchip_deriv__(), F__which__(), Fbase64_decode(), Fcellslices(), Fchar(), Fcompletion_matches(), Fdaspk(), Fdasrt(), Fdassl(), Fdrawnow(), Fexec(), Ffile_in_loadpath(), Ffile_in_path(), Ffilter(), Fget(), DiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), filter(), Array< T >::find(), find_first_of(), find_nonzero_elem_idx(), Flsode(), Fmatrix_type(), Fnum2hex(), Fpopen2(), Fquadcc(), freeze(), Freset(), Freshape(), Fresize(), Fsave(), Fset(), Fstrvcat(), generate_completion(), genpath(), get_dim_vector(), get_dimensions(), get_elt_idx(), get_fcn_files(), load_path::dir_info::get_file_list(), get_scalar_idx(), get_size(), get_struct_elts(), symbol_table::glob_variables(), hash_lookup(), MArray< T >::idx_add(), MArray< T >::idx_max(), MArray< T >::idx_min(), idx_vector::idx_vector_rep::idx_vector_rep(), increment_index(), Array< T >::index(), index_in_bounds(), base_diff_alg_eqn::initialize(), ODES::initialize(), RowVector::insert(), ColumnVector::insert(), FloatRowVector::insert(), FloatColumnVector::insert(), ComplexRowVector::insert(), ComplexColumnVector::insert(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), Sparse< T >::insert(), Array< T >::insert(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::insert_sym(), FloatCHOL::insert_sym(), ComplexCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), DASRT::integrate(), sparse_base_chol< chol_type, chol_elt, p_type >::inverse(), regexp::is_match(), keys_ok(), kpse_brace_expand_element(), kpse_db_search(), printf_format_list::last_elt_p(), DiagArray2< Complex >::length(), linspace(), log_search(), lsode_f(), lsode_user_function(), lsode_user_jacobian(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), LuAminusSigmaB(), make_absolute(), make_name_list(), octave_fcn_inline::map_value(), mat2cell_mismatch(), glob_match::match(), Octave_map::maybe_delete_elements(), base_url_transfer::mget_directory(), mk_tmp_hist_file(), load_path::move_fcn_map(), base_url_transfer::mput_directory(), printf_format_list::next(), null(), num_ones(), octave_class::numeric_conv(), octave_fcn_inline::octave_fcn_inline(), octave_fnmatch(), octave_glob(), Octave_map::Octave_map(), octave_print_internal(), octave_recursive_rmdir(), octregexp(), operator*(), ComplexRowVector::operator+=(), ComplexColumnVector::operator+=(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), ComplexRowVector::operator-=(), ComplexColumnVector::operator-=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), operator<<(), RowVector::operator==(), FloatRowVector::operator==(), ColumnVector::operator==(), FloatColumnVector::operator==(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), FloatComplexRowVector::operator==(), FloatComplexColumnVector::operator==(), operator>>(), parse_save_options(), symbol_info_list::parse_whos_line_format(), path_find_first_of(), PermMatrix::PermMatrix(), Array< T >::permute(), Sparse< T >::permute(), print_DASPK_options(), print_DASRT_options(), print_DASSL_options(), print_LSODE_options(), octave_fcn_inline::print_raw(), octave_struct::print_raw(), octave_scalar_struct::print_raw(), scanf_format_list::printme(), printf_format_list::printme(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), qp(), Sparse< T >::range_error(), read_images(), read_indexed_images(), rec_permute_helper::rec_permute_helper(), symbol_table::regexp_variables(), load_path::remove_fcn_map(), octave_fcn_inline::save_ascii(), octave_fcn_inline::save_binary(), octave_fcn_inline::save_hdf5(), search_path_for_all_files(), octave_rand::set_internal_state(), show_DASPK_options(), show_DASRT_options(), show_DASSL_options(), show_LSODE_options(), octave_value_list::slice(), Array< T >::sort(), Sparse< T >::Sparse(), ColumnVector::stack(), FloatColumnVector::stack(), ComplexColumnVector::stack(), FloatComplexColumnVector::stack(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), string_array_property::string_value(), sub2ind(), octave_struct::subsref(), octave_cell::subsref(), octave_class::subsref(), file_ops::tilde_expand(), tilde_find_prefix(), tilde_find_suffix(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), LU::update(), FloatLU::update(), QR::update(), ComplexLU::update(), FloatComplexLU::update(), CHOL::update(), FloatCHOL::update(), FloatComplexCHOL::update(), ComplexCHOL::update(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), tree_print_code::visit_index_expression(), x_el_div(), zero_dims_inquire(), printf_format_list::~printf_format_list(), and scanf_format_list::~scanf_format_list().
Array< T > Array< T >::linear_slice | ( | octave_idx_type | lo, |
octave_idx_type | up | ||
) | const |
Definition at line 284 of file Array.cc.
References gripe_index_out_of_range().
Referenced by octave_value_list::slice().
octave_idx_type Array< idx_vector >::lookup | ( | idx_vector const & | , |
sortmode | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
Array< octave_idx_type > Array< idx_vector >::lookup | ( | const Array< idx_vector > & | , |
sortmode | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
octave_idx_type Array< T >::lookup | ( | const T & | value, |
sortmode | mode = UNSORTED |
||
) | const |
Definition at line 2130 of file Array.cc.
References ASCENDING, DESCENDING, octave_sort< T >::descending_compare(), elem, octave_sort< T >::lookup(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by do_numeric_lookup(), Flookup(), and val_in_table().
Array< octave_idx_type > Array< T >::lookup | ( | const Array< T > & | values, |
sortmode | mode = UNSORTED |
||
) | const |
Definition at line 2151 of file Array.cc.
References ASCENDING, Array< T >::data(), DESCENDING, octave_sort< T >::descending_compare(), Array< T >::dims(), elem, Array< T >::is_sorted(), octave_sort< T >::lookup(), octave_sort< T >::lookup_sorted(), Array< T >::numel(), octave_sort< T >::set_compare(), UNSORTED, and xlog2().
Definition at line 110 of file Array.h.
Referenced by octave_struct::subsasgn(), octave_cell::subsasgn(), and octave_class::subsasgn_common().
Definition at line 635 of file Array.h.
Referenced by Fstr2double(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_diag_matrix::map(), DiagMatrix::rcond(), FloatDiagMatrix::rcond(), ComplexDiagMatrix::rcond(), and FloatComplexDiagMatrix::rcond().
Definition at line 587 of file Array.h.
Referenced by octave_cell::mex_get_data().
Definition at line 473 of file Array.h.
Referenced by octave_char_matrix_str::all_strings(), octave_char_matrix_str::cellstr_value(), convolve(), DEFUN(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_repelems(), encode_bool_image(), Frepelems(), MArray< T >::idx_add_nd(), Array< T >::insert(), kron(), octave_print_internal(), octave_cell::print_raw(), octave_char_matrix_str::short_disp(), octave_char_matrix_str::string_value(), and octave_bool_matrix::try_narrowing_conversion().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 275 of file Array.h.
Referenced by DEFUN_DLD(), Flu(), Fluinc(), octave_bool_matrix::load_ascii(), Range::matrix_value(), PermMatrix::numel(), octave_jit_paren_subsasgn_impl(), operator<<(), operator>>(), parse_dbfunction_params(), octave_bool_matrix::save_binary(), octave_bool_matrix::save_hdf5(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), octave_float_matrix::try_narrowing_conversion(), and octave_matrix::try_narrowing_conversion().
octave_idx_type Array< idx_vector >::nnz | ( | void | ) | const |
Reimplemented in MDiagArray2< T >.
Definition at line 34 of file Array-idx-vec.cc.
octave_idx_type Array< T >::nnz | ( | void | ) | const |
Reimplemented in Cell, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 2194 of file Array.cc.
Referenced by DEFUN_DLD(), idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector(), and idx_vector::idx_vector_rep::idx_vector_rep().
Array< idx_vector > Array< idx_vector >::nth_element | ( | const idx_vector & | , |
int | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
Array< T > Array< T >::nth_element | ( | const idx_vector & | n, |
int | dim = 0 |
||
) | const |
Definition at line 2287 of file Array.cc.
References ASCENDING, dim_vector::chop_trailing_singletons(), idx_vector::class_range, idx_vector::class_scalar, DESCENDING, idx_vector::idx_class(), idx_vector::increment(), dim_vector::length(), idx_vector::length(), max(), min(), nn, octave_sort< T >::nth_element(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by Fnth_element().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 276 of file Array.h.
Referenced by Array< T >::Array(), Array< T >::assign(), binmap(), bitopxx(), axes::properties::calc_ticklabels(), axes::properties::calc_ticks_and_lims(), Cell::Cell(), check_limit_vals(), ComplexNDArray::ComplexNDArray(), charNDArray::concat(), boolNDArray::concat(), ComplexNDArray::concat(), FloatComplexNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), intNDArray< T >::concat(), concat(), convert_cdata(), convert_position(), convert_text_position(), tree_parameter_list::convert_to_const_vector(), default_numeric_conversion_function(), DEFUN(), DEFUN_DLD(), delete_graphics_objects(), do_bitpack(), do_bsxfun_op(), do_cleanup_waitfor_listener(), gh_manager::do_close_all_figures(), children_property::do_init_children(), do_inplace_bsxfun_op(), do_mx_check(), do_mx_inplace_op(), do_mx_unary_op(), do_rc_map(), string_array_property::do_set(), text_label_property::do_set(), color_property::do_set(), children_property::do_set(), do_simple_cellfun(), do_strcmp_fun(), F__get__(), F__go_delete__(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), octave_base_matrix< Cell >::fast_elem_insert(), Fbase64_encode(), Fcellindexmat(), Fcomplex(), Fellipj(), Feps(), Ffilter(), Fget(), finalize_r(), find_nonzero_elem_idx(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), Flookup(), curl_transfer::form_query_string(), Fregexprep(), Frepelems(), Fspparms(), Fstr2double(), Fstrfind(), Fstrrep(), Furlread(), Furlwrite(), Fwarning(), get_array_limits(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), get_children_limits(), get_dims_str(), get_object_dims(), axes::properties::get_scale(), get_sort_mode(), axes::properties::get_ticklabel_extents(), idx_vector::idx_vector(), Array< T >::index(), initialize_r(), tree_parameter_list::initialize_undefined_elements(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), octave_value::int_vector_value(), is_handle(), is_handle_visible(), Array< float >::is_sorted(), octave_perm_matrix::load_binary(), Array< T >::lookup(), map_2_xlog2(), NDArray::NDArray(), null(), octave_fields::octave_fields(), octave_value::octave_idx_type_vector_value(), Octave_map::Octave_map(), octcellregexp(), prepare_idx(), qs_preprocess(), qs_replace(), qs_search(), read_indexed_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), figure::properties::remove_child(), ft_render::render(), safe_comparator(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), save_mat5_binary_element(), save_mat5_element_length(), log_scaler::scale(), neg_log_scaler::scale(), gnuplot_graphics_toolkit::send_quit(), graphics_object::set(), ft_render::set_color(), figure::properties::set_integerhandle(), ft_render::set_mode(), single_type_concat(), Sparse< T >::Sparse(), strcmp_array_op(), strcmpi_array_op(), string_array_property::string_array_property(), strncmp_array_op(), strncmpi_array_op(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_class::subsasgn_common(), text_label_property::text_label_property(), ft_render::text_to_pixels(), try_cellfun_internal_ops(), octave_float_complex_matrix::try_narrowing_conversion(), octave_complex_matrix::try_narrowing_conversion(), hggroup::update_axis_limits(), base_properties::update_boundingbox(), text::properties::update_position(), vector_norm(), tree_evaluator::visit_complex_for_command(), warning_query(), octave_stream::write(), write_mat5_array(), and write_mat5_cell_array().
|
inline |
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
|
inline |
|
inline |
Definition at line 247 of file Array.h.
Referenced by boolMatrix::operator=(), boolNDArray::operator=(), Array3< T >::operator=(), charNDArray::operator=(), string_vector::operator=(), charMatrix::operator=(), DiagArray2< Complex >::operator=(), and MArray< Complex >::operator=().
bool Array< T >::optimize_dimensions | ( | const dim_vector & | dv | ) |
Array< T > Array< T >::page | ( | octave_idx_type | k | ) | const |
Definition at line 271 of file Array.cc.
References gripe_index_out_of_range().
|
inline |
Definition at line 315 of file Array.h.
Referenced by Array3< T >::sort().
Array< T > Array< T >::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Reimplemented in MArray< T >, MArray< double >, MArray< float >, MArray< octave_uint8 >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 437 of file Array.cc.
References dim_vector::alloc(), current_liboctave_error_handler, Array< T >::elem(), Array< T >::fortran_vec(), dim_vector::length(), Array< T >::length(), OCTAVE_LOCAL_BUFFER_INIT, rec_permute_helper::permute(), and dim_vector::resize().
Referenced by MArray< Complex >::permute(), octave_lazy_index::permute(), octave_map::permute(), and Octave_map::permute().
void Array< T >::print_info | ( | std::ostream & | os, |
const std::string & | prefix | ||
) | const |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 2703 of file Array.cc.
Referenced by DiagArray2< Complex >::print_info().
|
inline |
Definition at line 446 of file Array.h.
Referenced by idx_vector::idx_mask_rep::as_array(), Array< T >::assign(), octave_value::complex_vector_value(), Fbase64_decode(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), octave_value::int_vector_value(), octave_value::octave_idx_type_vector_value(), MArray< Complex >::reshape(), Cell::reshape(), octave_lazy_index::reshape(), octave_matrix::reshape(), octave_map::reshape(), and octave_value::vector_value().
|
inline |
|
inline |
Definition at line 490 of file Array.h.
Referenced by scanf_format_list::add_elt_to_list(), printf_format_list::add_elt_to_list(), jit_operation::add_overload(), airy(), Octave_map::assign(), betainc(), betaincinv(), biry(), bitopxx(), Cell::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), regexp::compile_internal(), ComplexLU::ComplexLU(), DEFUN_DLD(), Array< T >::diag(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), do_object2cell(), octave_value_typeinfo::do_register_type(), F__get__(), Fbsxfun(), Ffilter(), Fget(), filter(), find_nonzero_elem_idx(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), FloatComplexLU::FloatComplexLU(), FloatLU::FloatLU(), Frandperm(), Fwarning(), gammainc(), get_ra_idx(), MArray< T >::idx_add_nd(), Array< T >::index(), FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), SVD::init(), octave_value::int_vector_value(), DASRT::integrate(), intmap_to_ov(), 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(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), LU::LU(), make_indices(), make_subs_cell(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_base64_decode(), octave_value::octave_idx_type_vector_value(), octave_value_list::octave_value_list(), printf_format_list::printf_format_list(), Array3< T >::resize(), boolMatrix::resize(), charMatrix::resize(), string_vector::resize(), RowVector::resize(), FloatRowVector::resize(), octave_char_matrix_str::resize(), ColumnVector::resize(), FloatColumnVector::resize(), octave_range::resize(), ComplexRowVector::resize(), FloatComplexRowVector::resize(), Matrix::resize(), FloatMatrix::resize(), ComplexColumnVector::resize(), FloatComplexColumnVector::resize(), ComplexMatrix::resize(), DiagArray2< T >::resize(), FloatComplexMatrix::resize(), octave_char_matrix_sq_str::resize(), octave_map::resize(), Octave_map::resize(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), scanf_format_list::scanf_format_list(), DASRT_options::set_relative_tolerance(), DASSL_options::set_relative_tolerance(), DASPK_options::set_relative_tolerance(), octave_base_scalar< bool >::sort(), Range::sort_internal(), SparseComplexLU::SparseComplexLU(), and SparseLU::SparseLU().
|
inline |
Reimplemented in FloatComplexMatrix, ComplexMatrix, DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
void Array< T >::resize | ( | const dim_vector & | dv, |
const T & | rfv | ||
) |
Definition at line 1016 of file Array.cc.
References dim_vector::any_neg(), Array< T >::fortran_vec(), gripe_invalid_resize(), dim_vector::length(), dim_vector::redim(), and rec_resize_helper::resize_fill().
|
inline |
Definition at line 504 of file Array.h.
Referenced by Array< octave_value >::resize().
void Array< T >::resize1 | ( | octave_idx_type | n, |
const T & | rfv | ||
) |
Definition at line 900 of file Array.cc.
References copy_or_memcpy(), fill_or_memset(), Array< T >::fortran_vec(), gripe_invalid_resize(), min(), and nn.
Referenced by Array< T >::index(), and octave_jit_paren_subsasgn_impl().
|
inline |
Definition at line 488 of file Array.h.
Referenced by Array< octave_value >::resize1().
|
private |
Definition at line 974 of file Array.cc.
References c1, copy_or_memcpy(), fill_or_memset(), Array< T >::fortran_vec(), gripe_invalid_resize(), min(), and r1.
Referenced by Array< T >::find(), Array< T >::index(), and Array< octave_value >::resize2().
|
inlineprivate |
Reimplemented in Cell.
Definition at line 889 of file Array.cc.
Referenced by Array< octave_value >::resize2().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, and PermMatrix.
Definition at line 312 of file Array.h.
Referenced by AEPBALANCE::AEPBALANCE(), airy(), octave_char_matrix_str::all_strings(), Matrix::append(), FloatMatrix::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), AEPBALANCE::balancing_matrix(), FloatAEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), biry(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseComplexQR::SparseComplexQR_rep::C(), SparseQR::SparseQR_rep::C(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), cntr(), column_norms(), ComplexAEPBALANCE::ComplexAEPBALANCE(), ComplexLU::ComplexLU(), ComplexMatrix::ComplexMatrix(), ComplexSCHUR::ComplexSCHUR(), convert_cdata(), DEFUN_DLD(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), CHOL::delete_sym(), FloatCHOL::delete_sym(), ComplexCHOL::delete_sym(), FloatComplexCHOL::delete_sym(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), dmsolve_insert(), dmsolve_permute(), do_bessel(), do_fftn(), do_repelems(), string_array_property::do_set(), do_sqrtm(), do_tril(), do_triu(), CHOL::downdate(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), ComplexCHOL::downdate(), drawcn(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), elem_xpow(), encode_bool_image(), encode_indexed_images(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__pchip_deriv__(), Fhex2num(), find_nonzero_elem_idx(), FloatAEPBALANCE::FloatAEPBALANCE(), FloatComplexAEPBALANCE::FloatComplexAEPBALANCE(), FloatComplexLU::FloatComplexLU(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatLU::FloatLU(), FloatMatrix::FloatMatrix(), FloatSCHUR::FloatSCHUR(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), Frepelems(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), gammainc(), FloatEIG::hermitian_init(), EIG::hermitian_init(), Array< T >::index(), Sparse< T >::index(), FloatQR::init(), ComplexQR::init(), FloatComplexQR::init(), ComplexQRP::init(), QR::init(), FloatComplexQRP::init(), QRP::init(), FloatQRP::init(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), SCHUR::init(), ComplexGEPBALANCE::init(), FloatSCHUR::init(), FloatComplexGEPBALANCE::init(), ComplexSCHUR::init(), CHOL::init(), FloatComplexSCHUR::init(), FloatCHOL::init(), FloatSVD::init(), ComplexSVD::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), FloatComplexSVD::init(), SVD::init(), EIG::init(), FloatEIG::init(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), Array< T >::insert(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::insert_sym(), FloatCHOL::insert_sym(), ComplexCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), kron(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), LU::LU(), LuAminusSigmaB(), mark_facets(), mark_upper_triangular(), Matrix::Matrix(), matrix_real_probe(), max(), min(), null(), octave_print_internal(), operator*(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), operator<<(), boolMatrix::operator==(), charMatrix::operator==(), Matrix::operator==(), FloatMatrix::operator==(), ComplexMatrix::operator==(), FloatComplexMatrix::operator==(), operator>>(), pr_max_internal(), pr_min_internal(), qrsolve(), row_norms(), octave_char_matrix_str::save_ascii(), octave_cell::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), save_three_d(), log_scaler::scale(), neg_log_scaler::scale(), graphics_xform::scale(), SCHUR::SCHUR(), FloatQR::shift_cols(), ComplexQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), CHOL::shift_sym(), FloatCHOL::shift_sym(), ComplexCHOL::shift_sym(), FloatComplexCHOL::shift_sym(), Array3< T >::sort(), sqrtm_utri_inplace(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), stack_complex_matrix(), printf_value_cache::string_value(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), FloatQR::update(), ComplexQR::update(), LU::update(), FloatComplexQR::update(), FloatLU::update(), QR::update(), ComplexLU::update(), FloatComplexLU::update(), CHOL::update(), FloatCHOL::update(), FloatComplexCHOL::update(), ComplexCHOL::update(), surface::properties::update_normals(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), vector_product(), x_el_div(), xgemm(), and xpow().
Array< idx_vector > Array< idx_vector >::sort | ( | Array< octave_idx_type > & | sidx, |
int | , | ||
sortmode | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
Array< idx_vector > Array< idx_vector >::sort | ( | int | , |
sortmode | |||
) | const |
Definition at line 34 of file Array-idx-vec.cc.
Definition at line 1737 of file Array.cc.
References DESCENDING, Array< T >::dims(), Array< T >::fortran_vec(), dim_vector::length(), Array< T >::length(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
Referenced by FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), children_property::do_set(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), Array3< T >::sort(), octave_lazy_index::sort(), and octave_cell::sort().
Array< T > Array< T >::sort | ( | Array< octave_idx_type > & | sidx, |
int | dim = 0 , |
||
sortmode | mode = ASCENDING |
||
) | const |
Definition at line 1855 of file Array.cc.
References DESCENDING, Array< T >::dims(), Array< T >::fortran_vec(), Array< T >::length(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
Array< octave_idx_type > Array< idx_vector >::sort_rows_idx | ( | sortmode | ) | const |
Definition at line 34 of file Array-idx-vec.cc.
Array< octave_idx_type > Array< T >::sort_rows_idx | ( | sortmode | mode = ASCENDING | ) | const |
Definition at line 2053 of file Array.cc.
References Array< T >::fortran_vec(), safe_comparator(), and octave_sort< T >::sort_rows().
Referenced by octave_perm_matrix::sort_rows_idx(), octave_base_diag< DiagMatrix, Matrix >::sort_rows_idx(), octave_lazy_index::sort_rows_idx(), octave_cell::sort_rows_idx(), and octave_base_matrix< boolNDArray >::sort_rows_idx().
Reimplemented in NDArray, FloatNDArray, FloatComplexNDArray, ComplexNDArray, intNDArray< T >, intNDArray< octave_uint8 >, intNDArray< OCTAVE_INT_T >, charNDArray, boolNDArray, MArray< T >, MArray< double >, MArray< float >, MArray< octave_uint8 >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 114 of file Array.cc.
References dim_vector::resize().
Referenced by octave_lazy_index::squeeze(), MArray< Complex >::squeeze(), boolNDArray::squeeze(), charNDArray::squeeze(), octave_matrix::squeeze(), and Octave_map::squeeze().
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, DiagArray2< Complex >, FloatComplexMatrix, ComplexMatrix, FloatMatrix, Matrix, intNDArray< T >, intNDArray< octave_uint8 >, intNDArray< OCTAVE_INT_T >, FloatComplexDiagMatrix, ComplexDiagMatrix, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, MDiagArray2< Complex >, PermMatrix, FloatComplexColumnVector, MArray< T >, MArray< double >, MArray< float >, MArray< octave_uint8 >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, MArray< Complex >, FloatComplexRowVector, ComplexColumnVector, ComplexRowVector, DiagMatrix, FloatDiagMatrix, charMatrix, FloatColumnVector, ColumnVector, FloatRowVector, RowVector, and boolMatrix.
Definition at line 1578 of file Array.cc.
References rec_permute_helper::blk_trans(), Array< T >::fortran_vec(), and Array< T >::xelem().
Referenced by Sparse< T >::index(), Sparse< T >::sort(), boolMatrix::transpose(), charMatrix::transpose(), and MArray< Complex >::transpose().
|
inline |
Definition at line 339 of file Array.h.
Referenced by intNDArray< T >::abs(), SparseBoolMatrix::any(), DiagArray2< T >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), DEFUN_DLD(), Cell::delete_elements(), DiagArray2< Complex >::dgxelem(), Array< T >::diag(), dmsolve_extract(), children_property::do_init_children(), do_num2cell(), do_numeric_lookup(), do_object2cell(), children_property::do_set(), Array< octave_value >::elem(), elem_xpow(), RowVector::extract(), ColumnVector::extract(), FloatRowVector::extract(), FloatColumnVector::extract(), RowVector::extract_n(), ColumnVector::extract_n(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), Fcomplex(), octave_fields::fieldnames(), find_nonzero_elem_idx(), Flookup(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), base_lu< lu_type >::getp(), Array< T >::hermitian(), idx_vector::idx_vector_rep::idx_vector_rep(), CHOL::init(), FloatCHOL::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), octave_value::int_vector_value(), idx_vector::inverse_permutation(), is_handle(), is_handle_visible(), kron(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), map_2_xlog2(), octave_value::octave_idx_type_vector_value(), octave_jit_paren_scalar(), octave_jit_paren_scalar_subsasgn(), octave_jit_paren_subsasgn_matrix_range(), octave_scalar_map::orderfields(), octave_map::orderfields(), SparseQR::SparseQR_rep::P(), SparseComplexQR::SparseComplexQR_rep::P(), base_lu< lu_type >::P_vec(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pc_vec(), SparseComplexQR::SparseComplexQR_rep::Pinv(), SparseQR::SparseQR_rep::Pinv(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pr_vec(), put_int(), qrsolve(), qs_search(), read_mat_binary_data(), row_norms(), intNDArray< T >::signum(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_mask_rep::sort_idx(), SparseBoolMatrix::sum(), Array< T >::transpose(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), DiagArray2< Complex >::xelem(), and xgemm().
|
inline |
|
inline |
Definition at line 342 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
inline |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 344 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
inline |
Definition at line 347 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
inline |
Definition at line 349 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
inline |
Definition at line 352 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
inline |
Definition at line 355 of file Array.h.
Referenced by Array< octave_value >::xelem().
|
protected |
Definition at line 133 of file Array.h.
Referenced by Array< T >::Array(), Array< octave_value >::as_column(), Array< octave_value >::as_matrix(), Array< octave_value >::as_row(), Array< T >::find(), Array< T >::index(), Array< T >::insert(), and Array< octave_value >::operator=().
Definition at line 135 of file Array.h.
Referenced by Array< T >::Array(), Array< octave_value >::jit_array_rep(), and Array< octave_value >::operator=().
|
protected |
Definition at line 144 of file Array.h.
Referenced by Array< octave_value >::jit_slice_data(), and Array< octave_value >::operator=().
|
protected |
Definition at line 145 of file Array.h.
Referenced by Array< octave_value >::operator=().