#include "DiagArray2.h"
Definition at line 38 of file DiagArray2.h.
typedef bool(* Array< T >::compare_fcn_type)(typename ref_param< T >::type, typename ref_param< T >::type) [inherited] |
typedef T Array< T >::element_type [inherited] |
DiagArray2< T >::DiagArray2 | ( | void | ) | [inline] |
Definition at line 48 of file DiagArray2.h.
DiagArray2< T >::DiagArray2 | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
Definition at line 51 of file DiagArray2.h.
DiagArray2< T >::DiagArray2 | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
const T & | val | |||
) | [inline] |
Definition at line 54 of file DiagArray2.h.
DiagArray2< T >::DiagArray2 | ( | const Array< T > & | a | ) | [inline, explicit] |
Definition at line 57 of file DiagArray2.h.
DiagArray2< T >::DiagArray2 | ( | const Array< T > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 40 of file DiagArray2.cc.
References Array< T >::length(), and min().
DiagArray2< T >::DiagArray2 | ( | const DiagArray2< T > & | a | ) | [inline] |
Definition at line 62 of file DiagArray2.h.
DiagArray2< T >::DiagArray2 | ( | const DiagArray2< U > & | a | ) | [inline] |
Definition at line 66 of file DiagArray2.h.
DiagArray2< T >::~DiagArray2 | ( | void | ) | [inline] |
Definition at line 69 of file DiagArray2.h.
Array< T > DiagArray2< T >::array_value | ( | void | ) | const |
Reimplemented in MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 112 of file DiagArray2.cc.
References DiagArray2< T >::dgelem(), DiagArray2< T >::dims(), DiagArray2< T >::length(), and Array< T >::xelem().
Referenced by MDiagArray2< Complex >::array_value().
void Array< T >::assign | ( | const idx_vector & | i, | |
const Array< T > & | rhs, | |||
const T & | rfv = resize_fill_value () | |||
) | [inherited] |
Definition at line 1117 of file Array.cc.
References idx_vector::assign(), Array< T >::data(), Array< T >::dimensions, idx_vector::extent(), idx_vector::fill(), Array< T >::fill(), Array< T >::fortran_vec(), gripe_invalid_assignment_size(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::numel(), Array< T >::reshape(), Array< T >::resize1(), and dim_vector::zero_by_zero().
Referenced by Sparse< T >::assign(), Array< T >::assign(), Array< T >::insert(), insert_col(), insert_row(), octave_value_list::octave_value_list(), and operator*().
void Array< T >::assign | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const Array< T > & | rhs, | |||
const T & | rfv = resize_fill_value () | |||
) | [inherited] |
Definition at line 1164 of file Array.cc.
References dim_vector::all_zero(), idx_vector::assign(), dim_vector::chop_all_singletons(), Array< T >::data(), Array< T >::dimensions, Array< T >::dims(), idx_vector::extent(), idx_vector::fill(), Array< T >::fill(), Array< T >::fortran_vec(), 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(), Array< T >::resize(), idx_vector::xelem(), dim_vector::zero_by_zero(), and zero_dims_inquire().
void Array< T >::assign | ( | const Array< idx_vector > & | ia, | |
const Array< T > & | rhs, | |||
const T & | rfv = resize_fill_value () | |||
) | [inherited] |
Definition at line 1263 of file Array.cc.
References dim_vector::all_zero(), dim_vector::alloc(), rec_index_helper::assign(), Array< T >::assign(), dim_vector::chop_all_singletons(), dim_vector::chop_trailing_singletons(), Array< T >::data(), Array< T >::dimensions, Array< T >::dims(), rec_index_helper::fill(), Array< T >::fill(), Array< T >::fortran_vec(), gripe_assignment_dimension_mismatch(), dim_vector::length(), Array< T >::length(), match(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), Array< T >::resize(), dim_vector::zero_by_zero(), and zero_dims_inquire().
DiagArray2<T> DiagArray2< T >::build_diag_matrix | ( | ) | const [inline] |
Definition at line 102 of file DiagArray2.h.
size_t DiagArray2< T >::byte_size | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 96 of file DiagArray2.h.
octave_idx_type Array< T >::capacity | ( | void | ) | const [inline, inherited] |
Definition at line 264 of file Array.h.
Referenced by daspk_user_function(), daspk_user_jacobian(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), DEFUN_DLD(), FloatDefQuad::do_integrate(), DefQuad::do_integrate(), LSODE::do_integrate(), octave_rand::do_matrix(), octave_rand::do_nd_array(), octave_rand::do_vector(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().
Array< T > Array< T >::cat | ( | int | dim, | |
octave_idx_type | n, | |||
const Array< T > * | array_list | |||
) | [static, inherited] |
Definition at line 2534 of file Array.cc.
References idx_vector::colon, dim_vector::concat(), Array< T >::dims(), Array< T >::is_empty(), dim_vector::length(), max(), Array< T >::ndims(), and dim_vector::zero_by_zero().
Referenced by single_type_concat().
bool DiagArray2< T >::check_idx | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | const [private] |
Definition at line 124 of file DiagArray2.cc.
References DiagArray2< T >::dim1(), DiagArray2< T >::dim2(), and gripe_index_out_of_range().
T DiagArray2< T >::checkelem | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | const [inline] |
Reimplemented from Array< T >.
Definition at line 127 of file DiagArray2.h.
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
Definition at line 243 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
Array< T >::crefT Array< T >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
Definition at line 250 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
T& DiagArray2< T >::checkelem | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
Reimplemented from Array< T >.
Definition at line 141 of file DiagArray2.h.
T & Array< T >::checkelem | ( | octave_idx_type | n | ) | [inherited] |
Definition at line 189 of file Array.cc.
References Array< T >::elem(), gripe_index_out_of_range(), gripe_invalid_index(), and Array< T >::slice_len.
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, | |||
octave_idx_type | k | |||
) | [inherited] |
Definition at line 209 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
T & Array< T >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inherited] |
Definition at line 216 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | n | ) | const [inherited] |
Definition at line 223 of file Array.cc.
References Array< T >::elem(), gripe_index_out_of_range(), gripe_invalid_index(), and Array< T >::slice_len.
void Array< T >::chop_trailing_singletons | ( | void | ) | [inline, inherited] |
void Array< T >::clear | ( | void | ) | [inherited] |
Definition at line 85 of file Array.cc.
References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, Array< T >::dimensions, Array< T >::ArrayRep::len, Array< T >::nil_rep(), Array< T >::rep, Array< T >::slice_data, and Array< T >::slice_len.
Referenced by octave_char_matrix_str::cellstr_value(), FloatRowVector::clear(), FloatComplexRowVector::clear(), FloatColumnVector::clear(), FloatComplexColumnVector::clear(), RowVector::clear(), ColumnVector::clear(), ComplexRowVector::clear(), ComplexColumnVector::clear(), octave_rand::do_matrix(), 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(), FloatSCHUR::init(), FloatCHOL::init(), FloatComplexSCHUR::init(), FloatComplexCHOL::init(), SCHUR::init(), CHOL::init(), ComplexSCHUR::init(), ComplexCHOL::init(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_fields::orderfields(), qs_replace(), read_mat5_binary_element(), single_type_concat(), idx_vector::idx_mask_rep::sort_idx(), idx_vector::idx_vector_rep::sort_idx(), idx_vector::idx_scalar_rep::sort_idx(), and idx_vector::idx_range_rep::sort_idx().
void Array< T >::clear | ( | const dim_vector & | dv | ) | [inherited] |
Definition at line 100 of file Array.cc.
References dim_vector::chop_trailing_singletons(), Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, Array< T >::dimensions, Array< T >::ArrayRep::len, Array< T >::rep, dim_vector::safe_numel(), Array< T >::slice_data, and Array< T >::slice_len.
void Array< T >::clear | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline, inherited] |
Definition at line 261 of file Array.h.
Referenced by Array< octave_value >::clear().
octave_idx_type DiagArray2< T >::cols | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 87 of file DiagArray2.h.
Referenced by FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), DiagArray2< T >::diag(), octave_diag_matrix::do_index_op(), imag(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), kron(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), operator*(), FloatMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), Matrix::operator-=(), operator<<(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), real(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::stack(), and xpow().
Array< T > Array< T >::column | ( | octave_idx_type | k | ) | const [inherited] |
Reimplemented in Cell, ComplexDiagMatrix, ComplexMatrix, DiagMatrix, Matrix, FloatComplexDiagMatrix, FloatComplexMatrix, FloatDiagMatrix, and FloatMatrix.
Definition at line 257 of file Array.cc.
References Array< T >::dimensions, gripe_index_out_of_range(), and dim_vector::numel().
Referenced by qp().
octave_idx_type DiagArray2< T >::columns | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 88 of file DiagArray2.h.
Referenced by FloatDiagMatrix::abs(), FloatComplexDiagMatrix::abs(), DiagMatrix::abs(), ComplexDiagMatrix::abs(), conj(), imag(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_print_internal(), and real().
octave_idx_type Array< T >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
Definition at line 168 of file Array.cc.
References Array< T >::dimensions.
Referenced by Array< T >::checkelem(), and Array< T >::compute_index().
octave_idx_type Array< T >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
Definition at line 175 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::dimensions.
octave_idx_type Array< T >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
Definition at line 182 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::dimensions.
octave_idx_type Array< T >::compute_index_unchecked | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
const T* DiagArray2< T >::data | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 177 of file DiagArray2.h.
Referenced by FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix::all_elements_are_real(), FloatComplexDiagMatrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), and ComplexDiagMatrix::operator==().
void Array< T >::delete_elements | ( | const idx_vector & | i | ) | [inherited] |
Definition at line 1363 of file Array.cc.
References Array< T >::columns(), idx_vector::complement(), copy_or_memcpy(), Array< T >::data(), Array< T >::dimensions, idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), Array< T >::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_scalar(), dim_vector::is_vector(), idx_vector::length(), Array< T >::ndims(), Array< T >::numel(), Array< T >::resize1(), and Array< T >::rows().
Referenced by delete_col(), octave_map::delete_elements(), Array< T >::delete_elements(), delete_row(), FloatCHOL::delete_sym(), FloatComplexCHOL::delete_sym(), CHOL::delete_sym(), and ComplexCHOL::delete_sym().
void Array< T >::delete_elements | ( | int | dim, | |
const idx_vector & | i | |||
) | [inherited] |
Definition at line 1403 of file Array.cc.
References idx_vector::colon, idx_vector::complement(), copy_or_memcpy(), Array< T >::data(), Array< T >::dimensions, idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), Array< T >::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), and Array< T >::ndims().
void Array< T >::delete_elements | ( | const Array< idx_vector > & | ia | ) | [inherited] |
Definition at line 1461 of file Array.cc.
References Array< T >::delete_elements(), Array< T >::dimensions, and Array< T >::length().
T DiagArray2< T >::dgelem | ( | octave_idx_type | i | ) | const [inline] |
Definition at line 121 of file DiagArray2.h.
Referenced by DiagArray2< T >::array_value(), kron(), operator*(), and xpow().
T& DiagArray2< T >::dgelem | ( | octave_idx_type | i | ) | [inline] |
Definition at line 124 of file DiagArray2.h.
T& DiagArray2< T >::dgxelem | ( | octave_idx_type | i | ) | [inline] |
Definition at line 163 of file DiagArray2.h.
Referenced by operator*().
T DiagArray2< T >::dgxelem | ( | octave_idx_type | i | ) | const [inline] |
Definition at line 166 of file DiagArray2.h.
Array< T > DiagArray2< T >::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from Array< T >.
Reimplemented in ComplexDiagMatrix, DiagMatrix, FloatComplexDiagMatrix, FloatDiagMatrix, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 58 of file DiagArray2.cc.
References DiagArray2< T >::cols(), current_liboctave_error_handler, d, min(), and DiagArray2< T >::rows().
Referenced by MDiagArray2< Complex >::diag(), and DiagArray2< T >::extract_diag().
octave_idx_type DiagArray2< T >::diag_length | ( | void | ) | const [inline] |
Definition at line 90 of file DiagArray2.h.
Referenced by kron().
octave_idx_type DiagArray2< T >::dim1 | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 83 of file DiagArray2.h.
Referenced by DiagArray2< T >::check_idx(), and DiagArray2< T >::resize().
octave_idx_type DiagArray2< T >::dim2 | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 84 of file DiagArray2.h.
Referenced by DiagArray2< T >::check_idx(), and DiagArray2< T >::resize().
octave_idx_type Array< T >::dim3 | ( | void | ) | const [inline, inherited] |
dim_vector DiagArray2< T >::dims | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 98 of file DiagArray2.h.
Referenced by DiagArray2< T >::array_value().
T& Array< T >::elem | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 353 of file Array.h.
Referenced by intNDArray< T >::abs(), intNDArray< T >::any_element_not_one_or_zero(), atan2(), FloatAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), AEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), octave_matrix::char_array_value(), octave_range::char_array_value(), octave_float_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), Array< T >::checkelem(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_max(), ComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), Matrix::column_min(), ComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), FloatNDArray::concat(), NDArray::concat(), charNDArray::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(), Array< T >::diag(), dmsolve_extract(), LSODE::do_integrate(), DiagArray2< Complex >::elem(), Array< octave_value >::elem(), FloatDiagMatrix::extract(), FloatComplexRowVector::extract(), FloatComplexDiagMatrix::extract(), FloatComplexColumnVector::extract(), DiagMatrix::extract(), ComplexRowVector::extract(), charMatrix::extract(), ComplexDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), SparseComplexMatrix::fsolve(), get_elt_idx(), octave_rand::get_internal_state(), Givens(), FloatHESS::init(), FloatGEPBALANCE::init(), FloatEIG::init(), FloatComplexHESS::init(), FloatComplexGEPBALANCE::init(), EIG::init(), HESS::init(), GEPBALANCE::init(), ComplexHESS::init(), ComplexGEPBALANCE::init(), FloatRowVector::insert(), FloatMatrix::insert(), FloatComplexRowVector::insert(), FloatColumnVector::insert(), FloatComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexColumnVector::insert(), RowVector::insert(), Matrix::insert(), ColumnVector::insert(), ComplexRowVector::insert(), ComplexNDArray::insert(), ComplexMatrix::insert(), ComplexColumnVector::insert(), octave_value::int_vector_value(), DASSL::integrate(), DASRT::integrate(), DASPK::integrate(), Array< T >::is_sorted(), Array< T >::is_sorted_rows(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_cell::load_binary(), Array< T >::lookup(), lsode_f(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::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(), FloatMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), read_mat_ascii_data(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_max(), ComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), Matrix::row_min(), ComplexMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_rand::set_internal_state(), intNDArray< T >::signum(), Sparse< T >::Sparse(), try_cellfun_internal_ops(), and x_el_div().
T& Array< T >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Definition at line 361 of file Array.h.
Referenced by Array< octave_value >::elem().
T& DiagArray2< T >::elem | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
Reimplemented from Array< T >.
Definition at line 115 of file DiagArray2.h.
T& Array< T >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< T >::elem | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< T >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
crefT Array< T >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
T DiagArray2< T >::elem | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | const [inline] |
Reimplemented from Array< T >.
Definition at line 110 of file DiagArray2.h.
Referenced by FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), FloatDiagMatrix::extract(), FloatComplexDiagMatrix::extract(), DiagMatrix::extract(), ComplexDiagMatrix::extract(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), Matrix::Matrix(), operator*(), FloatMatrix::operator+=(), FloatComplexMatrix::operator+=(), Matrix::operator+=(), ComplexMatrix::operator+=(), FloatMatrix::operator-=(), FloatComplexMatrix::operator-=(), Matrix::operator-=(), ComplexMatrix::operator-=(), operator<<(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), and ComplexDiagMatrix::row().
Array< T > DiagArray2< T >::extract_diag | ( | octave_idx_type | k = 0 |
) | const |
Definition at line 51 of file DiagArray2.cc.
References DiagArray2< T >::diag().
void Array< T >::fill | ( | const T & | val | ) | [inherited] |
Reimplemented in ComplexColumnVector, ComplexMatrix, ComplexRowVector, FloatComplexColumnVector, FloatComplexMatrix, and FloatComplexRowVector.
Definition at line 71 of file Array.cc.
References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, fill_or_memset(), Array< T >::length(), Array< T >::rep, Array< T >::slice_data, and Array< T >::slice_len.
Referenced by Array< T >::assign(), and idx_vector::idx_scalar_rep::sort_idx().
Array< octave_idx_type > Array< T >::find | ( | octave_idx_type | n = -1 , |
|
bool | backward = false | |||
) | const [inherited] |
Definition at line 2165 of file Array.cc.
References Array< T >::clear(), Array< T >::data(), Array< T >::dimensions, Array< T >::dims(), Array< T >::fortran_vec(), Array< T >::is_empty(), Array< T >::length(), Array< T >::ndims(), Array< T >::nelem(), dim_vector::numel(), Array< T >::numel(), Array< T >::resize2(), and Array< T >::rows().
Referenced by idx_vector::idx_mask_rep::as_array(), DEFUN(), find_nonzero_elem_idx(), and is_completing_dirfns().
const T* DiagArray2< T >::fortran_vec | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 179 of file DiagArray2.h.
Referenced by FloatSVD::init(), FloatComplexSVD::init(), SVD::init(), ComplexSVD::init(), octave_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), FloatComplexDiagMatrix::operator+=(), and ComplexDiagMatrix::operator+=().
T* DiagArray2< T >::fortran_vec | ( | void | ) | [inline] |
Reimplemented from Array< T >.
Definition at line 181 of file DiagArray2.h.
DiagArray2< T > DiagArray2< T >::hermitian | ( | T(*)(const T &) | fcn = 0 |
) | const |
Reimplemented from Array< T >.
Reimplemented in MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 85 of file DiagArray2.cc.
References DiagArray2< T >::d1, and DiagArray2< T >::d2.
Referenced by MDiagArray2< Complex >::hermitian().
Array< T > Array< T >::index | ( | const idx_vector & | i | ) | const [inherited] |
Definition at line 705 of file Array.cc.
References Array< T >::columns(), Array< T >::data(), 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(), Array< T >::ndims(), Array< T >::numel(), idx_vector::orig_dimensions(), and Array< T >::rows().
Referenced by convolve(), Array< T >::delete_elements(), octave_char_matrix_str::do_index_op_internal(), find_nonzero_elem_idx(), octave_map::index(), Sparse< T >::index(), Array< T >::index(), insert_col(), insert_row(), octave_print_internal(), operator*(), shift_cols(), FloatCHOL::shift_sym(), FloatComplexCHOL::shift_sym(), CHOL::shift_sym(), and ComplexCHOL::shift_sym().
Array< T > Array< T >::index | ( | const idx_vector & | i, | |
const idx_vector & | j | |||
) | const [inherited] |
Definition at line 769 of file Array.cc.
References Array< T >::data(), Array< T >::dimensions, 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(), Array< T >::numel(), dim_vector::redim(), and idx_vector::xelem().
Array< T > Array< T >::index | ( | const Array< idx_vector > & | ia | ) | const [inherited] |
Definition at line 824 of file Array.cc.
References dim_vector::alloc(), dim_vector::chop_trailing_singletons(), Array< T >::data(), Array< T >::dimensions, Array< T >::fortran_vec(), gripe_index_out_of_range(), rec_index_helper::index(), Array< T >::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 = resize_fill_value () | |||
) | const [inherited] |
Definition at line 1037 of file Array.cc.
References idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), Array< T >::numel(), and Array< T >::resize1().
Array< T > Array< T >::index | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
bool | resize_ok, | |||
const T & | rfv = resize_fill_value () | |||
) | const [inherited] |
Definition at line 1060 of file Array.cc.
References Array< T >::columns(), Array< T >::dimensions, idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), dim_vector::redim(), Array< T >::resize2(), and Array< T >::rows().
Array< T > Array< T >::index | ( | const Array< idx_vector > & | ia, | |
bool | resize_ok, | |||
const T & | rfv = resize_fill_value () | |||
) | const [inherited] |
Definition at line 1086 of file Array.cc.
References dim_vector::alloc(), Array< T >::dimensions, Array< T >::index(), Array< T >::length(), dim_vector::redim(), and Array< T >::resize().
Array< T > & Array< T >::insert | ( | const Array< T > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inherited] |
Definition at line 1499 of file Array.cc.
References Array< T >::assign(), Array< T >::columns(), Array< T >::dimensions, Array< T >::ndims(), and Array< T >::rows().
Array< T > & Array< T >::insert | ( | const Array< T > & | a, | |
const Array< octave_idx_type > & | idx | |||
) | [inherited] |
Definition at line 1520 of file Array.cc.
References Array< T >::assign(), Array< T >::dims(), Array< T >::length(), and dim_vector::redim().
Referenced by single_type_concat().
Array<T> Array< T >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline, inherited] |
Reimplemented in MArray< T >, MArray< double >, MArray< float >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 423 of file Array.h.
Referenced by MArray< Complex >::ipermute().
Definition at line 428 of file Array.h.
Referenced by Array< T >::cat(), convolve(), DEFUN(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_num2cell(), do_object2cell(), Array< T >::find(), find_nonzero_elem_idx(), get_builtin_classes(), Octave_map::intfield(), octave_char_matrix_str::load_ascii(), octave_bool_matrix::load_ascii(), tree_colon_expression::make_range(), null(), octave_print_internal(), Octave_map::stringfield(), and val_in_table().
Definition at line 441 of file Array.h.
Referenced by mx_el_or_assign(), operator*=(), operator+=(), operator-=(), operator/=(), product_eq(), and quotient_eq().
Definition at line 1976 of file Array.cc.
References ASCENDING, Array< T >::data(), Array< T >::elem(), octave_sort< T >::is_sorted(), Array< T >::numel(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_matrix::is_sorted(), octave_lazy_index::is_sorted(), octave_cell::is_sorted(), and Array< T >::lookup().
sortmode Array< T >::is_sorted_rows | ( | sortmode | mode = UNSORTED |
) | const [inherited] |
Definition at line 2029 of file Array.cc.
References ASCENDING, Array< T >::cols(), Array< T >::data(), DESCENDING, Array< T >::elem(), octave_sort< T >::is_sorted_rows(), Array< T >::rows(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_matrix::is_sorted_rows(), octave_lazy_index::is_sorted_rows(), and octave_cell::is_sorted_rows().
Definition at line 426 of file Array.h.
Referenced by FloatQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), ComplexQR::delete_row(), FloatQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), ComplexQR::insert_row(), FloatCHOL::set(), FloatComplexCHOL::set(), CHOL::set(), and ComplexCHOL::set().
Definition at line 430 of file Array.h.
Referenced by DEFUN_DLD().
octave_idx_type DiagArray2< T >::length | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 92 of file DiagArray2.h.
Referenced by FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix::all_elements_are_real(), DiagArray2< T >::array_value(), ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), octave_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), Matrix::Matrix(), operator*(), FloatMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexMatrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), FloatComplexMatrix::operator-=(), Matrix::operator-=(), ComplexMatrix::operator-=(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), and SparseMatrix::SparseMatrix().
Array< T > Array< T >::linear_slice | ( | octave_idx_type | lo, | |
octave_idx_type | up | |||
) | const [inherited] |
Definition at line 283 of file Array.cc.
References gripe_index_out_of_range(), and Array< T >::numel().
Referenced by octave_value_list::slice().
Array< octave_idx_type > Array< T >::lookup | ( | const Array< T > & | values, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
Definition at line 2109 of file Array.cc.
References ASCENDING, Array< T >::data(), DESCENDING, octave_sort< T >::descending_compare(), Array< T >::dims(), Array< T >::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().
octave_idx_type Array< T >::lookup | ( | const T & | value, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
Definition at line 2088 of file Array.cc.
References Array< T >::data(), DESCENDING, octave_sort< T >::descending_compare(), Array< T >::elem(), octave_sort< T >::lookup(), Array< T >::numel(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by DEFUN_DLD(), and val_in_table().
void Array< T >::make_unique | ( | void | ) | [inline, inherited] |
Definition at line 109 of file Array.h.
Referenced by Array< T >::fortran_vec(), octave_struct::subsasgn(), octave_cell::subsasgn(), and octave_class::subsasgn_common().
Array<U> Array< T >::map | ( | F | fcn | ) | const [inline, inherited] |
Definition at line 573 of file Array.h.
Referenced by DEFUN_DLD(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), FloatDiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), DiagMatrix::rcond(), and ComplexDiagMatrix::rcond().
void Array< T >::maybe_economize | ( | void | ) | [inline, inherited] |
void* Array< T >::mex_get_data | ( | void | ) | const [inline, inherited] |
Definition at line 529 of file Array.h.
Referenced by octave_cell::mex_get_data().
Definition at line 443 of file Array.h.
Referenced by octave_char_matrix_str::all_strings(), Array< T >::cat(), octave_char_matrix_str::cellstr_value(), convolve(), DEFUN(), Array< T >::delete_elements(), octave_matrix::diag(), octave_float_matrix::diag(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_repelems(), Array< T >::find(), Array< T >::hermitian(), MArray< T >::idx_add_nd(), Array< T >::index(), Array< T >::insert(), kron(), octave_print_internal(), octave_cell::print_raw(), Array< T >::resize1(), Array< T >::resize2(), Array< T >::sort(), Array< T >::squeeze(), octave_char_matrix_str::string_value(), Array< T >::transpose(), and octave_bool_matrix::try_narrowing_conversion().
octave_idx_type DiagArray2< T >::nelem | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 93 of file DiagArray2.h.
Referenced by octave_diag_matrix::try_narrowing_conversion(), octave_float_diag_matrix::try_narrowing_conversion(), octave_float_complex_diag_matrix::try_narrowing_conversion(), and octave_complex_diag_matrix::try_narrowing_conversion().
octave_idx_type Array< T >::nnz | ( | void | ) | const [inherited] |
Reimplemented in Cell, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 2151 of file Array.cc.
References Array< T >::data(), and Array< T >::nelem().
Referenced by idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector(), and idx_vector::idx_vector_rep::idx_vector_rep().
Array< T > Array< T >::nth_element | ( | const idx_vector & | n, | |
int | dim = 0 | |||
) | const [inherited] |
Definition at line 2244 of file Array.cc.
References ASCENDING, dim_vector::chop_trailing_singletons(), idx_vector::class_range, idx_vector::class_scalar, Array< T >::data(), Array< T >::dims(), idx_vector::idx_class(), idx_vector::increment(), idx_vector::length(), dim_vector::length(), max(), min(), nn, octave_sort< T >::nth_element(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by DEFUN().
octave_idx_type DiagArray2< T >::numel | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 94 of file DiagArray2.h.
T DiagArray2< T >::operator() | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | const [inline] |
Reimplemented from Array< T >.
Definition at line 132 of file DiagArray2.h.
T& Array< T >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
T& Array< T >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< T >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
crefT Array< T >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
T& Array< T >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
crefT Array< T >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
T& DiagArray2< T >::operator() | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
Reimplemented from Array< T >.
Definition at line 147 of file DiagArray2.h.
DiagArray2<T>& DiagArray2< T >::operator= | ( | const DiagArray2< T > & | a | ) | [inline] |
Definition at line 71 of file DiagArray2.h.
Referenced by MDiagArray2< Complex >::operator=().
bool Array< T >::optimize_dimensions | ( | const dim_vector & | dv | ) | [inherited] |
Definition at line 2656 of file Array.cc.
References Array< T >::dimensions.
Array< T > Array< T >::page | ( | octave_idx_type | k | ) | const [inherited] |
Definition at line 270 of file Array.cc.
References Array< T >::dimensions, gripe_index_out_of_range(), and dim_vector::numel().
octave_idx_type Array< T >::pages | ( | void | ) | const [inline, inherited] |
Definition at line 306 of file Array.h.
Referenced by Array3< T >::sort().
Array< T > Array< T >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inherited] |
Reimplemented in MArray< T >, MArray< double >, MArray< float >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 436 of file Array.cc.
References dim_vector::alloc(), current_liboctave_error_handler, Array< T >::data(), Array< T >::dims(), Array< T >::elem(), Array< T >::fortran_vec(), dim_vector::length(), Array< T >::length(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER_INIT, rec_permute_helper::permute(), and dim_vector::resize().
Referenced by octave_lazy_index::permute(), Octave_map::permute(), octave_map::permute(), and MArray< Complex >::permute().
void DiagArray2< T >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inline] |
Reimplemented from Array< T >.
Definition at line 183 of file DiagArray2.h.
Array<T> Array< T >::reshape | ( | octave_idx_type | nr, | |
octave_idx_type | nc | |||
) | const [inline, inherited] |
Definition at line 416 of file Array.h.
Referenced by idx_vector::idx_mask_rep::as_array(), Array< T >::assign(), octave_value::complex_vector_value(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), octave_value::int_vector_value(), octave_value::octave_idx_type_vector_value(), octave_matrix::reshape(), octave_lazy_index::reshape(), octave_map::reshape(), Cell::reshape(), MArray< Complex >::reshape(), and octave_value::vector_value().
Array<T> Array< T >::reshape | ( | const dim_vector & | new_dims | ) | const [inline, inherited] |
Reimplemented in Cell, MArray< T >, MArray< double >, MArray< float >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
void DiagArray2< T >::resize | ( | octave_idx_type | n, | |
octave_idx_type | m, | |||
const T & | rfv = Array<T>::resize_fill_value () | |||
) |
Reimplemented from Array< T >.
Definition at line 94 of file DiagArray2.cc.
References DiagArray2< T >::d1, DiagArray2< T >::d2, DiagArray2< T >::dim1(), DiagArray2< T >::dim2(), and min().
Referenced by FloatSVD::init(), FloatComplexSVD::init(), SVD::init(), and ComplexSVD::init().
void Array< T >::resize | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 459 of file Array.h.
Referenced by printf_format_list::add_elt_to_list(), scanf_format_list::add_elt_to_list(), airy(), Octave_map::assign(), Array< T >::assign(), betainc(), biry(), Cell::column(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_max(), ComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), Matrix::column_min(), ComplexMatrix::column_min(), regexp::compile_internal(), DEFUN(), DEFUN_DLD(), Array< T >::diag(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), do_object2cell(), octave_value_typeinfo::do_register_type(), filter(), find_nonzero_elem_idx(), FloatMatrix::finverse(), FloatComplexMatrix::finverse(), Matrix::finverse(), ComplexMatrix::finverse(), FloatComplexLU::FloatComplexLU(), FloatLU::FloatLU(), FloatMatrix::fourier2d(), FloatComplexMatrix::fourier2d(), Matrix::fourier2d(), ComplexMatrix::fourier2d(), gammainc(), get_ra_idx(), MArray< T >::idx_add_nd(), FloatMatrix::ifourier2d(), FloatComplexMatrix::ifourier2d(), Matrix::ifourier2d(), ComplexMatrix::ifourier2d(), Array< T >::index(), FloatSVD::init(), FloatComplexSVD::init(), SVD::init(), ComplexSVD::init(), octave_value::int_vector_value(), DASRT::integrate(), intmap_to_ov(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), LU::LU(), make_subs_cell(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value::octave_idx_type_vector_value(), octave_value_list::octave_value_list(), printf_format_list::printf_format_list(), octave_char_matrix_sq_str::resize(), octave_char_matrix_str::resize(), octave_range::resize(), Octave_map::resize(), octave_map::resize(), string_vector::resize(), FloatRowVector::resize(), FloatMatrix::resize(), FloatComplexRowVector::resize(), FloatColumnVector::resize(), FloatComplexMatrix::resize(), FloatComplexColumnVector::resize(), RowVector::resize(), Matrix::resize(), ColumnVector::resize(), ComplexRowVector::resize(), ComplexMatrix::resize(), charMatrix::resize(), ComplexColumnVector::resize(), boolMatrix::resize(), Array3< T >::resize(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_max(), ComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), Matrix::row_min(), ComplexMatrix::row_min(), scanf_format_list::scanf_format_list(), octave_base_scalar< bool >::sort(), Range::sort_internal(), SparseComplexLU::SparseComplexLU(), and SparseLU::SparseLU().
void Array< T >::resize | ( | const dim_vector & | dv, | |
const T & | rfv = resize_fill_value () | |||
) | [inherited] |
Definition at line 1013 of file Array.cc.
References dim_vector::any_neg(), Array< T >::data(), Array< T >::dimensions, Array< T >::fortran_vec(), gripe_invalid_resize(), dim_vector::length(), dim_vector::redim(), and Array< T >::resize2().
void Array< T >::resize1 | ( | octave_idx_type | n, | |
const T & | rfv = resize_fill_value () | |||
) | [inherited] |
Definition at line 898 of file Array.cc.
References Array< T >::columns(), copy_or_memcpy(), Array< T >::ArrayRep::count, Array< T >::data(), Array< T >::dimensions, fill_or_memset(), Array< T >::fortran_vec(), gripe_invalid_resize(), Array< T >::ArrayRep::len, min(), Array< T >::ndims(), nn, Array< T >::numel(), Array< T >::rep, Array< T >::rows(), Array< T >::slice_data, and Array< T >::slice_len.
Referenced by Array< T >::assign(), Array< T >::delete_elements(), MArray< T >::idx_add(), MArray< T >::idx_max(), MArray< T >::idx_min(), and Array< T >::index().
const T & Array< T >::resize_fill_value | ( | void | ) | [static, inherited] |
Reimplemented in Cell, boolMatrix, boolNDArray, charMatrix, charNDArray, ComplexMatrix, ComplexNDArray, Matrix, NDArray, FloatComplexMatrix, FloatComplexNDArray, FloatMatrix, FloatNDArray, intNDArray< T >, and intNDArray< OCTAVE_INT_T >.
Definition at line 887 of file Array.cc.
Referenced by Array< T >::diag().
octave_idx_type DiagArray2< T >::rows | ( | void | ) | const [inline] |
Reimplemented from Array< T >.
Definition at line 86 of file DiagArray2.h.
Referenced by FloatDiagMatrix::abs(), FloatComplexDiagMatrix::abs(), DiagMatrix::abs(), ComplexDiagMatrix::abs(), FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), conj(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), DiagArray2< T >::diag(), octave_diag_matrix::do_index_op(), imag(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), kron(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_print_internal(), operator*(), FloatMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), Matrix::operator-=(), operator<<(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), real(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::stack(), and xpow().
Array< T > Array< T >::sort | ( | Array< octave_idx_type > & | sidx, | |
int | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Definition at line 1813 of file Array.cc.
References Array< T >::data(), DESCENDING, Array< T >::dims(), Array< T >::fortran_vec(), Array< T >::length(), Array< T >::ndims(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
Array< T > Array< T >::sort | ( | int | dim = 0 , |
|
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Definition at line 1695 of file Array.cc.
References Array< T >::data(), 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(), FloatComplexQR::delete_col(), QR::delete_col(), ComplexQR::delete_col(), FloatQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), ComplexQR::insert_col(), octave_lazy_index::sort(), octave_cell::sort(), and Array3< T >::sort().
Array< octave_idx_type > Array< T >::sort_rows_idx | ( | sortmode | mode = ASCENDING |
) | const [inherited] |
Definition at line 2011 of file Array.cc.
References Array< T >::cols(), Array< T >::data(), Array< T >::fortran_vec(), Array< T >::rows(), safe_comparator(), and octave_sort< T >::sort_rows().
Referenced by octave_matrix::sort_rows_idx(), octave_lazy_index::sort_rows_idx(), and octave_cell::sort_rows_idx().
Reimplemented in boolNDArray, charNDArray, ComplexNDArray, NDArray, FloatComplexNDArray, FloatNDArray, intNDArray< T >, MArray< T >, intNDArray< OCTAVE_INT_T >, MArray< double >, MArray< float >, MArray< OCTAVE_INT_T >, MArray< FloatComplex >, MArray< octave_idx_type >, and MArray< Complex >.
Definition at line 115 of file Array.cc.
References Array< T >::dimensions, Array< T >::ndims(), and dim_vector::resize().
Referenced by octave_matrix::squeeze(), octave_lazy_index::squeeze(), Octave_map::squeeze(), MArray< Complex >::squeeze(), charNDArray::squeeze(), and boolNDArray::squeeze().
DiagArray2< T > DiagArray2< T >::transpose | ( | void | ) | const |
Reimplemented from Array< T >.
Reimplemented in ComplexDiagMatrix, DiagMatrix, FloatComplexDiagMatrix, FloatDiagMatrix, MDiagArray2< T >, MDiagArray2< double >, MDiagArray2< float >, MDiagArray2< FloatComplex >, and MDiagArray2< Complex >.
Definition at line 78 of file DiagArray2.cc.
References DiagArray2< T >::d1, and DiagArray2< T >::d2.
Referenced by MDiagArray2< Complex >::transpose().
T DiagArray2< T >::xelem | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | const [inline] |
Reimplemented from Array< T >.
Definition at line 158 of file DiagArray2.h.
T& Array< T >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Definition at line 330 of file Array.h.
Referenced by Array< octave_value >::xelem().
T& Array< T >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
Definition at line 338 of file Array.h.
Referenced by Array< octave_value >::xelem().
crefT Array< T >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< T >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
Definition at line 335 of file Array.h.
Referenced by Array< octave_value >::xelem().
crefT Array< T >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Definition at line 341 of file Array.h.
Referenced by Array< octave_value >::xelem().
T& Array< T >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Definition at line 333 of file Array.h.
Referenced by Array< octave_value >::xelem().
T& Array< T >::xelem | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 327 of file Array.h.
Referenced by intNDArray< T >::abs(), SparseBoolMatrix::any(), DiagArray2< T >::array_value(), idx_vector::idx_mask_rep::as_array(), idx_vector::idx_range_rep::as_array(), octave_char_matrix_str::cellstr_value(), Cell::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), DEFUN(), DEFUN_DLD(), Cell::delete_elements(), DiagArray2< Complex >::dgxelem(), Array< T >::diag(), dmsolve_extract(), do_num2cell(), do_numeric_lookup(), do_object2cell(), Array< octave_value >::elem(), FloatRowVector::extract(), FloatColumnVector::extract(), RowVector::extract(), ColumnVector::extract(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), RowVector::extract_n(), ColumnVector::extract_n(), octave_fields::fieldnames(), find_nonzero_elem_idx(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), base_lu< lu_type >::getp(), Array< T >::hermitian(), idx_vector::idx_vector_rep::idx_vector_rep(), FloatCHOL::init(), FloatComplexCHOL::init(), CHOL::init(), ComplexCHOL::init(), octave_value::int_vector_value(), idx_vector::inverse_permutation(), is_handle(), is_handle_visible(), kron(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), map_2_xlog2(), octave_value::octave_idx_type_vector_value(), octave_map::orderfields(), octave_scalar_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(), SparseQR::SparseQR_rep::Pinv(), SparseComplexQR::SparseComplexQR_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_mask_rep::sort_idx(), idx_vector::idx_range_rep::sort_idx(), SparseBoolMatrix::sum(), Array< T >::transpose(), idx_vector::idx_mask_rep::unconvert(), idx_vector::idx_vector_rep::unconvert(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), DiagArray2< Complex >::xelem(), and xgemm().
octave_idx_type DiagArray2< T >::d1 [protected] |
Definition at line 42 of file DiagArray2.h.
Referenced by DiagArray2< T >::hermitian(), operator*(), operator-(), DiagArray2< Complex >::operator=(), DiagArray2< T >::resize(), and DiagArray2< T >::transpose().
octave_idx_type DiagArray2< T >::d2 [protected] |
Definition at line 42 of file DiagArray2.h.
Referenced by DiagArray2< T >::hermitian(), operator*(), operator-(), DiagArray2< Complex >::operator=(), DiagArray2< T >::resize(), and DiagArray2< T >::transpose().
dim_vector Array< T >::dimensions [protected, inherited] |
Definition at line 132 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 >::assign(), Array< T >::clear(), Array< T >::column(), Array< T >::compute_index(), Array< T >::delete_elements(), Array< T >::find(), Array< T >::index(), Array< T >::insert(), Array< octave_value >::operator=(), Array< T >::optimize_dimensions(), Array< T >::page(), Array< T >::resize(), Array< T >::resize1(), and Array< T >::squeeze().
Definition at line 134 of file Array.h.
Referenced by Array< T >::Array(), Array< T >::clear(), Array< T >::fill(), Array< octave_value >::operator=(), Array< T >::print_info(), and Array< T >::resize1().
T* Array< T >::slice_data [protected, inherited] |
Definition at line 143 of file Array.h.
Referenced by Array< T >::clear(), Array< T >::fill(), Array< T >::fortran_vec(), Array< octave_value >::operator=(), Array< T >::print_info(), and Array< T >::resize1().
octave_idx_type Array< T >::slice_len [protected, inherited] |
Definition at line 144 of file Array.h.
Referenced by Array< T >::checkelem(), Array< T >::clear(), Array< T >::fill(), Array< octave_value >::operator=(), Array< T >::print_info(), and Array< T >::resize1().