#include "intNDArray.h"
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 |
Public Member Functions | |
intNDArray (void) | |
intNDArray (T val) | |
intNDArray (const dim_vector &dv, T val) | |
template<class U > | |
intNDArray (const Array< U > &a) | |
intNDArray (const dim_vector &dv) | |
template<class U > | |
intNDArray (const MArray< U > &a) | |
template<class U > | |
intNDArray (const intNDArray< U > &a) | |
intNDArray | abs (void) const |
boolNDArray | all (int dim=-1) const |
boolNDArray | any (int dim=-1) const |
bool | any_element_is_nan (void) const |
bool | any_element_not_one_or_zero (void) const |
Array< T > | as_column (void) const |
Array< T > | as_matrix (void) const |
Array< T > | as_row (void) const |
void | assign (const idx_vector &i, const Array< T > &rhs, const T &rfv=resize_fill_value()) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv=resize_fill_value()) |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv=resize_fill_value()) |
size_t | byte_size (void) const |
octave_idx_type | capacity (void) const |
intNDArray & | changesign (void) |
T & | checkelem (octave_idx_type n) |
T & | checkelem (octave_idx_type i, octave_idx_type j) |
T & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
T & | checkelem (const Array< octave_idx_type > &ra_idx) |
crefT | checkelem (octave_idx_type n) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
void | chop_trailing_singletons (void) GCC_ATTR_DEPRECATED |
void | clear (void) |
void | clear (octave_idx_type r, octave_idx_type c) |
void | clear (const dim_vector &dv) |
octave_idx_type | cols (void) const |
Array< T > | column (octave_idx_type k) const |
octave_idx_type | columns (void) const |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
intNDArray | concat (const intNDArray< T > &rb, const Array< octave_idx_type > &ra_idx) |
intNDArray | cummax (int dim=-1) const |
intNDArray | cummax (Array< octave_idx_type > &index, int dim=-1) const |
intNDArray | cummin (int dim=-1) const |
intNDArray | cummin (Array< octave_idx_type > &index, int dim=-1) const |
intNDArray | cumsum (int dim) const |
const T * | data (void) const |
void | delete_elements (int dim, const idx_vector &i) |
void | delete_elements (const Array< idx_vector > &ia) |
void | delete_elements (const idx_vector &i) |
intNDArray | diag (octave_idx_type k=0) const |
intNDArray | diff (octave_idx_type order=1, int dim=-1) const |
octave_idx_type | dim1 (void) const |
octave_idx_type | dim2 (void) const |
octave_idx_type | dim3 (void) const |
const dim_vector & | dims (void) const |
NDArray | dsum (int dim) const |
T & | elem (octave_idx_type n) |
T & | elem (octave_idx_type i, octave_idx_type j) |
T & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
T & | elem (const Array< octave_idx_type > &ra_idx) |
crefT | elem (octave_idx_type n) const |
crefT | elem (octave_idx_type i, octave_idx_type j) const |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
void | fill (const T &val) |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
T * | fortran_vec (void) |
const T * | fortran_vec (void) const |
MArray< T > | hermitian (T(*fcn)(const T &)=0) const |
void | idx_add (const idx_vector &idx, T val) |
void | idx_add (const idx_vector &idx, const MArray< T > &vals) |
void | idx_add_nd (const idx_vector &idx, const MArray< T > &vals, int dim=-1) |
void | idx_max (const idx_vector &idx, const MArray< T > &vals) |
void | idx_min (const idx_vector &idx, const MArray< T > &vals) |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv=resize_fill_value()) const |
Array< T > | index (const idx_vector &i) const |
Array< T > | index (const idx_vector &i, const idx_vector &j) const |
Array< T > | index (const Array< idx_vector > &ia) const |
Array< T > | index (const idx_vector &i, bool resize_ok, const T &rfv=resize_fill_value()) const |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv=resize_fill_value()) const |
intNDArray & | insert (const intNDArray< T > &a, octave_idx_type r, octave_idx_type c) |
intNDArray & | insert (const intNDArray< T > &a, const Array< octave_idx_type > &ra_idx) |
Array< T > & | insert (const Array< T > &a, const Array< octave_idx_type > &idx) |
Array< T > & | insert (const Array< T > &a, octave_idx_type r, octave_idx_type c) |
MArray< T > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_shared (void) |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
bool | is_square (void) const |
bool | is_vector (void) const |
octave_idx_type | length (void) const |
Array< T > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
octave_idx_type | lookup (const T &value, sortmode mode=UNSORTED) const |
Array< octave_idx_type > | lookup (const Array< T > &values, sortmode mode=UNSORTED) const |
void | make_unique (void) |
template<class U , class F > | |
Array< U > | map (F fcn) const |
template<class U > | |
Array< U > | map (U(&fcn)(T)) const |
template<class U > | |
Array< U > | map (U(&fcn)(const T &)) const |
intNDArray | max (int dim=-1) const |
intNDArray | max (Array< octave_idx_type > &index, int dim=-1) const |
void | maybe_economize (void) |
void * | mex_get_data (void) const |
intNDArray | min (Array< octave_idx_type > &index, int dim=-1) const |
intNDArray | min (int dim=-1) const |
int | ndims (void) const |
octave_idx_type | nelem (void) const |
octave_idx_type | nnz (void) const |
Array< T > | nth_element (const idx_vector &n, int dim=0) const |
octave_idx_type | numel (void) const |
boolNDArray | operator! (void) const |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
crefT | operator() (octave_idx_type n) const |
T & | operator() (octave_idx_type n) |
T & | operator() (octave_idx_type i, octave_idx_type j) |
T & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
crefT | operator() (octave_idx_type i, octave_idx_type j) const |
T & | operator() (const Array< octave_idx_type > &ra_idx) |
intNDArray & | operator= (const intNDArray< T > &a) |
bool | optimize_dimensions (const dim_vector &dv) |
Array< T > | page (octave_idx_type k) const |
octave_idx_type | pages (void) const |
MArray< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
void | print_info (std::ostream &os, const std::string &prefix) const |
MArray< T > | reshape (const dim_vector &new_dims) const |
Array< T > | reshape (octave_idx_type nr, octave_idx_type nc) const |
void | resize (const dim_vector &dv, const T &rfv=resize_fill_value()) |
void | resize (octave_idx_type n) GCC_ATTR_DEPRECATED |
void | resize (octave_idx_type nr, octave_idx_type nc, const T &rfv=resize_fill_value()) GCC_ATTR_DEPRECATED |
void | resize1 (octave_idx_type n, const T &rfv=resize_fill_value()) |
octave_idx_type | rows (void) const |
intNDArray | signum (void) const |
Array< T > | sort (int dim=0, sortmode mode=ASCENDING) const |
Array< T > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
intNDArray | squeeze (void) const |
intNDArray | sum (int dim) const |
template<class F , bool zero> | |
bool | test (F fcn) const |
template<class F > | |
bool | test_all (F fcn) const |
bool | test_all (bool(&fcn)(const T &)) const |
bool | test_all (bool(&fcn)(T)) const |
bool | test_any (bool(&fcn)(T)) const |
bool | test_any (bool(&fcn)(const T &)) const |
template<class F > | |
bool | test_any (F fcn) const |
intNDArray | transpose (void) const |
T & | xelem (octave_idx_type n) |
T & | xelem (const Array< octave_idx_type > &ra_idx) |
T & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
T & | xelem (octave_idx_type i, octave_idx_type j) |
crefT | xelem (octave_idx_type n) const |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
Static Public Member Functions | |
static Array< T > | cat (int dim, octave_idx_type n, const Array< T > *array_list) |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
static T | resize_fill_value (void) |
Protected Attributes | |
dim_vector | dimensions |
Array< T >::ArrayRep * | rep |
T * | slice_data |
octave_idx_type | slice_len |
Definition at line 31 of file intNDArray.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] |
intNDArray< T >::intNDArray | ( | void | ) | [inline] |
Definition at line 38 of file intNDArray.h.
intNDArray< T >::intNDArray | ( | T | val | ) | [inline] |
Definition at line 40 of file intNDArray.h.
intNDArray< T >::intNDArray | ( | const dim_vector & | dv | ) | [inline] |
Definition at line 42 of file intNDArray.h.
intNDArray< T >::intNDArray | ( | const dim_vector & | dv, | |
T | val | |||
) | [inline] |
Definition at line 44 of file intNDArray.h.
Definition at line 48 of file intNDArray.h.
Definition at line 51 of file intNDArray.h.
intNDArray< T >::intNDArray | ( | const intNDArray< U > & | a | ) | [inline] |
Definition at line 54 of file intNDArray.h.
intNDArray< T > intNDArray< T >::abs | ( | void | ) | const |
Definition at line 174 of file intNDArray.cc.
References Array< T >::dims(), Array< T >::elem(), Array< T >::nelem(), and Array< T >::xelem().
boolNDArray intNDArray< T >::all | ( | int | dim = -1 |
) | const |
Definition at line 76 of file intNDArray.cc.
boolNDArray intNDArray< T >::any | ( | int | dim = -1 |
) | const |
Definition at line 83 of file intNDArray.cc.
bool intNDArray< T >::any_element_is_nan | ( | void | ) | const [inline] |
Definition at line 64 of file intNDArray.h.
bool intNDArray< T >::any_element_not_one_or_zero | ( | void | ) | const |
Definition at line 50 of file intNDArray.cc.
References Array< T >::elem(), and Array< T >::nelem().
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().
size_t Array< T >::byte_size | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 308 of file Array.h.
Referenced by octave_cell::byte_size(), DiagArray2< Complex >::byte_size(), and octave_perm_matrix::load_binary().
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().
intNDArray& intNDArray< T >::changesign | ( | void | ) | [inline] |
Reimplemented from MArray< T >.
Definition at line 69 of file intNDArray.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 | |||
) | [inherited] |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 202 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
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.
Array< T >::crefT Array< T >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 236 of file Array.cc.
References Array< T >::compute_index(), and Array< T >::elem().
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().
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 | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline, inherited] |
Definition at line 261 of file Array.h.
Referenced by Array< octave_value >::clear().
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.
octave_idx_type Array< T >::cols | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 304 of file Array.h.
Referenced by AEPBALANCE::AEPBALANCE(), airy(), FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), betainc(), biry(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseQR::SparseQR_rep::C(), SparseComplexQR::SparseComplexQR_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(), FloatMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexMatrix::fsolve(), gammainc(), FloatEIG::hermitian_init(), EIG::hermitian_init(), Sparse< T >::index(), FloatSVD::init(), FloatSCHUR::init(), FloatQRP::init(), FloatQR::init(), FloatHESS::init(), FloatGEPBALANCE::init(), FloatCHOL::init(), FloatEIG::init(), FloatComplexSVD::init(), FloatComplexSCHUR::init(), FloatComplexQRP::init(), FloatComplexQR::init(), FloatComplexHESS::init(), FloatComplexGEPBALANCE::init(), FloatComplexCHOL::init(), EIG::init(), SVD::init(), SCHUR::init(), QRP::init(), QR::init(), HESS::init(), GEPBALANCE::init(), CHOL::init(), ComplexSVD::init(), ComplexSCHUR::init(), ComplexQRP::init(), ComplexQR::init(), ComplexHESS::init(), ComplexGEPBALANCE::init(), ComplexCHOL::init(), FloatComplexMatrix::insert(), ComplexMatrix::insert(), Array< T >::is_sorted_rows(), kron(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), FloatMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), LU::LU(), mark_facets(), Matrix::Matrix(), matrix_real_probe(), null(), operator*(), FloatComplexMatrix::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), ComplexMatrix::operator-=(), operator<<(), FloatMatrix::operator==(), FloatComplexMatrix::operator==(), Matrix::operator==(), ComplexMatrix::operator==(), charMatrix::operator==(), boolMatrix::operator==(), operator>>(), qrsolve(), octave_char_matrix_str::save_ascii(), octave_cell::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), Array< T >::sort_rows_idx(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::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(), FloatComplexQR::update(), QR::update(), ComplexQR::update(), FloatMatrix::utsolve(), FloatComplexMatrix::utsolve(), SparseMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), xgemm(), 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 Array< T >::columns | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 305 of file Array.h.
Referenced by column_norms(), ComplexSCHUR::ComplexSCHUR(), DEFUN_DLD(), FloatQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), ComplexQR::delete_col(), Array< T >::delete_elements(), FloatQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), ComplexQR::delete_row(), octave_matrix::diag(), octave_float_matrix::diag(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), do_fftn(), do_mgorth(), do_repelems(), do_tril(), do_triu(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatSCHUR::FloatSCHUR(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), Array< T >::index(), Array< T >::insert(), FloatQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), ComplexQR::insert_col(), insert_col(), FloatQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), ComplexQR::insert_row(), insert_row(), mark_upper_triangular(), max(), min(), octave_print_internal(), operator*(), pr_max_internal(), pr_min_internal(), Array< T >::resize1(), Array< T >::resize2(), row_norms(), SCHUR::SCHUR(), FloatQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), ComplexQR::shift_cols(), shift_cols(), Array3< T >::sort(), printf_value_cache::string_value(), FloatQR::update(), FloatComplexQR::update(), QR::update(), ComplexQR::update(), and x_el_div().
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 | ( | 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 intNDArray< T >::compute_index | ( | Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions | |||
) | [static] |
Definition at line 99 of file intNDArray.cc.
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_unchecked | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
intNDArray< T > intNDArray< T >::concat | ( | const intNDArray< T > & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 107 of file intNDArray.cc.
References intNDArray< T >::insert(), and Array< T >::numel().
intNDArray< T > intNDArray< T >::cummax | ( | int | dim = -1 |
) | const |
Definition at line 255 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummax | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 262 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummin | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 276 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummin | ( | int | dim = -1 |
) | const |
Definition at line 269 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cumsum | ( | int | dim | ) | const |
Definition at line 220 of file intNDArray.cc.
const T* Array< T >::data | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 435 of file Array.h.
Referenced by mxArray_octave_value::array_to_string(), octave_scalar_struct::as_mxArray(), octave_struct::as_mxArray(), octave_matrix::as_mxArray(), octave_range::as_mxArray(), octave_float_matrix::as_mxArray(), octave_float_complex_matrix::as_mxArray(), octave_complex_matrix::as_mxArray(), octave_char_matrix::as_mxArray(), octave_cell::as_mxArray(), octave_bool_matrix::as_mxArray(), Array< T >::assign(), binmap(), Cell::Cell(), compute_index(), Array< octave_value >::compute_index_unchecked(), convert_cdata(), DiagArray2< Complex >::data(), DEFUN_DLD(), Array< T >::delete_elements(), do_merge(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_mx_check(), do_mx_cum_op(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_minmax_op(), do_mx_red_op(), do_mx_unary_op(), do_sm_binary_op(), printf_value_cache::double_value(), filter(), Array< T >::find(), 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(), Array< T >::index(), octave_char_matrix::index_vector(), Array< T >::is_sorted(), Array< float >::is_sorted(), Array< double >::is_sorted(), Array< T >::is_sorted_rows(), kron(), Array< T >::lookup(), Array< T >::nnz(), Array< T >::nth_element(), octave_value_list::octave_value_list(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), FloatComplexRowVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexColumnVector::operator+=(), ComplexRowVector::operator+=(), ComplexMatrix::operator+=(), ComplexColumnVector::operator+=(), FloatComplexRowVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexColumnVector::operator-=(), ComplexRowVector::operator-=(), ComplexMatrix::operator-=(), ComplexColumnVector::operator-=(), FloatRowVector::operator==(), FloatMatrix::operator==(), FloatComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexMatrix::operator==(), FloatComplexColumnVector::operator==(), RowVector::operator==(), Matrix::operator==(), ColumnVector::operator==(), ComplexRowVector::operator==(), ComplexMatrix::operator==(), charMatrix::operator==(), ComplexColumnVector::operator==(), boolMatrix::operator==(), Array< T >::permute(), qs_preprocess(), qs_replace(), qs_search(), Array< T >::resize(), Array< T >::resize1(), Array< T >::resize2(), octave_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_float_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), save_mat5_binary_element(), save_mat_binary_data(), Array< T >::sort(), Array< T >::sort_rows_idx(), Sparse< T >::Sparse(), stack_complex_matrix(), strcmp_array_op(), strcmpi_array_op(), strncmp_array_op(), strncmpi_array_op(), Array< T >::transpose(), unstack_complex_matrix(), octave_stream::write(), write_mat5_array(), and xgemm().
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().
intNDArray< T > intNDArray< T >::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from Array< T >.
Definition at line 67 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::diff | ( | octave_idx_type | order = 1 , |
|
int | dim = -1 | |||
) | const |
Definition at line 283 of file intNDArray.cc.
Referenced by do_diff().
octave_idx_type Array< T >::dim1 | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 269 of file Array.h.
Referenced by Array< T >::hermitian(), PermMatrix::nelem(), PermMatrix::rows(), and Array< T >::transpose().
octave_idx_type Array< T >::dim2 | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 270 of file Array.h.
Referenced by PermMatrix::cols(), PermMatrix::columns(), Array< T >::hermitian(), PermMatrix::nelem(), and Array< T >::transpose().
octave_idx_type Array< T >::dim3 | ( | void | ) | const [inline, inherited] |
const dim_vector& Array< T >::dims | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 311 of file Array.h.
Referenced by intNDArray< T >::abs(), airy(), Octave_map::assign(), octave_map::assign(), Array< T >::assign(), betainc(), binmap(), biry(), Array< T >::cat(), octave_value::complex_vector_value(), charNDArray::concat(), conv_to_int_array(), convolve(), DEFUN(), DEFUN_DLD(), octave_map::delete_elements(), Array< T >::diag(), do_bessel(), do_bitpack(), do_bsxfun_op(), do_cellslices_nda(), do_inplace_bsxfun_op(), do_merge(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_mx_cum_op(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_minmax_op(), do_mx_red_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(), filter(), Array< T >::find(), find_nonzero_elem_idx(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), 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(), FloatComplexGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexNDArray::insert(), ComplexNDArray::insert(), Array< T >::insert(), octave_value::int_vector_value(), is_handle(), is_handle_visible(), Array< T >::lookup(), octave_matrix::map(), octave_float_matrix::map(), map_2_xlog2(), Octave_map::maybe_delete_elements(), NDArray::NDArray(), Array< T >::nth_element(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), octave_value::octave_idx_type_vector_value(), octave_print_internal(), octcellregexp(), intNDArray< T >::operator!(), octave_map::permute(), Array< T >::permute(), octave_cell::print_raw(), octave_map::setfield(), intNDArray< T >::signum(), Array< T >::sort(), strcmp_array_op(), strcmpi_array_op(), try_cellfun_internal_ops(), octave_value::vector_value(), and x_el_div().
NDArray intNDArray< T >::dsum | ( | int | dim | ) | const |
Definition at line 213 of file intNDArray.cc.
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 | |||
) | [inline, inherited] |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 359 of file Array.h.
Referenced by Array< octave_value >::elem().
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& 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 | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
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] |
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* Array< T >::fortran_vec | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 437 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_cell::as_octave_value(), mxArray_struct::as_octave_value(), mxArray_number::as_octave_value(), Sparse< T >::assign(), Array< T >::assign(), FloatAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), AEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), OCTAVE_VALUE_INT_MATRIX_T::bool_array_value(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseQR::SparseQR_rep::C(), SparseComplexQR::SparseComplexQR_rep::C(), cam2xform(), OCTAVE_VALUE_INT_MATRIX_T::char_array_value(), chol2inv_internal(), idx_vector::complement(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), ComplexAEPBALANCE::ComplexAEPBALANCE(), ComplexLU::ComplexLU(), ComplexSCHUR::ComplexSCHUR(), convert_cdata(), convolve(), DEFUN_DLD(), Array< T >::delete_elements(), FloatMatrix::determinant(), FloatComplexMatrix::determinant(), SparseMatrix::determinant(), Matrix::determinant(), SparseComplexMatrix::determinant(), ComplexMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), do_bitpack(), do_bitunpack(), do_bsxfun_op(), do_inplace_bsxfun_op(), FloatIndefQuad::do_integrate(), FloatDefQuad::do_integrate(), IndefQuad::do_integrate(), DefQuad::do_integrate(), LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), octave_rand::do_matrix(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mx_cum_op(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_inplace_op(), do_mx_minmax_op(), do_mx_red_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(), octave_fields::equal_up_to_order(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), filter(), Array< T >::find(), find_starting_node(), FloatMatrix::finverse(), FloatComplexMatrix::finverse(), Matrix::finverse(), ComplexMatrix::finverse(), 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(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), DiagArray2< Complex >::fortran_vec(), FloatNDArray::fourier(), FloatMatrix::fourier(), FloatComplexNDArray::fourier(), FloatComplexMatrix::fourier(), NDArray::fourier(), Matrix::fourier(), ComplexNDArray::fourier(), ComplexMatrix::fourier(), FloatNDArray::fourier2d(), FloatMatrix::fourier2d(), FloatComplexNDArray::fourier2d(), FloatComplexMatrix::fourier2d(), NDArray::fourier2d(), Matrix::fourier2d(), ComplexNDArray::fourier2d(), ComplexMatrix::fourier2d(), FloatNDArray::fourierNd(), FloatComplexNDArray::fourierNd(), NDArray::fourierNd(), ComplexNDArray::fourierNd(), FloatMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexMatrix::fsolve(), FloatEIG::hermitian_init(), EIG::hermitian_init(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), MArray< T >::idx_max(), MArray< T >::idx_min(), FloatNDArray::ifourier(), FloatMatrix::ifourier(), FloatComplexNDArray::ifourier(), FloatComplexMatrix::ifourier(), NDArray::ifourier(), Matrix::ifourier(), ComplexNDArray::ifourier(), ComplexMatrix::ifourier(), FloatNDArray::ifourier2d(), FloatMatrix::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatComplexMatrix::ifourier2d(), NDArray::ifourier2d(), Matrix::ifourier2d(), ComplexNDArray::ifourier2d(), ComplexMatrix::ifourier2d(), FloatNDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), NDArray::ifourierNd(), ComplexNDArray::ifourierNd(), Range::index(), Array< T >::index(), FloatSVD::init(), FloatSCHUR::init(), FloatQRP::init(), FloatQR::init(), FloatHESS::init(), FloatGEPBALANCE::init(), FloatCHOL::init(), FloatEIG::init(), FloatComplexSVD::init(), FloatComplexSCHUR::init(), FloatComplexQRP::init(), FloatComplexQR::init(), FloatComplexHESS::init(), FloatComplexGEPBALANCE::init(), FloatComplexCHOL::init(), EIG::init(), SVD::init(), SCHUR::init(), QRP::init(), QR::init(), HESS::init(), GEPBALANCE::init(), CHOL::init(), CollocWt::init(), ComplexSVD::init(), ComplexSCHUR::init(), ComplexQRP::init(), ComplexQR::init(), ComplexHESS::init(), ComplexGEPBALANCE::init(), ComplexCHOL::init(), DASRT::integrate(), kron(), octave_char_matrix_str::load_ascii(), octave_char_matrix_str::load_binary(), octave_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_float_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_complex_matrix::load_binary(), octave_bool_matrix::load_binary(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), FloatMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), Matrix::ltsolve(), ComplexMatrix::ltsolve(), LU::LU(), Cell::map(), Array< octave_value >::map(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), NDArray::NDArray(), operator*(), Array< T >::permute(), PermMatrix::power(), SparseQR::SparseQR_rep::Q(), SparseComplexQR::SparseComplexQR_rep::Q(), qrsolve(), qs_replace(), FloatMatrix::rcond(), FloatComplexMatrix::rcond(), Matrix::rcond(), ComplexMatrix::rcond(), 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(), save_mat5_binary_element(), save_mat5_element_length(), 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(), FloatMatrix::tinverse(), FloatComplexMatrix::tinverse(), Matrix::tinverse(), ComplexMatrix::tinverse(), Array< T >::transpose(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), unit_cube(), unstack_complex_matrix(), FloatMatrix::utsolve(), FloatComplexMatrix::utsolve(), Matrix::utsolve(), ComplexMatrix::utsolve(), and xgemm().
T * Array< T >::fortran_vec | ( | void | ) | [inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 1678 of file Array.cc.
References Array< T >::make_unique(), and Array< T >::slice_data.
MArray<T> MArray< T >::hermitian | ( | T(*)(const T &) | fcn = 0 |
) | const [inline, inherited] |
Reimplemented from Array< T >.
Definition at line 86 of file MArray.h.
Referenced by do_mgorth(), FloatComplexMatrix::hermitian(), and ComplexMatrix::hermitian().
void MArray< T >::idx_add | ( | const idx_vector & | idx, | |
T | val | |||
) | [inherited] |
Definition at line 57 of file MArray.cc.
References idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::length(), Array< T >::length(), idx_vector::loop(), and Array< T >::resize1().
void MArray< T >::idx_add | ( | const idx_vector & | idx, | |
const MArray< T > & | vals | |||
) | [inherited] |
Definition at line 75 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::length(), Array< T >::length(), idx_vector::loop(), min(), and Array< T >::resize1().
void MArray< T >::idx_add_nd | ( | const idx_vector & | idx, | |
const MArray< T > & | vals, | |||
int | dim = -1 | |||
) | [inherited] |
Definition at line 140 of file MArray.cc.
References Array< T >::data(), Array< T >::dims(), idx_vector::extent(), dim_vector::first_non_singleton(), Array< T >::fortran_vec(), get_extent_triplet(), idx_vector::length(), idx_vector::loop(), max(), Array< T >::ndims(), dim_vector::redim(), and Array< T >::resize().
void MArray< T >::idx_max | ( | const idx_vector & | idx, | |
const MArray< T > & | vals | |||
) | [inherited] |
Definition at line 121 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::length(), Array< T >::length(), idx_vector::loop(), min(), and Array< T >::resize1().
void MArray< T >::idx_min | ( | const idx_vector & | idx, | |
const MArray< T > & | vals | |||
) | [inherited] |
Definition at line 103 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::length(), Array< T >::length(), idx_vector::loop(), min(), and Array< T >::resize1().
void intNDArray< T >::increment_index | ( | Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions, | |||
int | start_dimension = 0 | |||
) | [static] |
Definition at line 90 of file intNDArray.cc.
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 >::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 >::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().
intNDArray< T > & intNDArray< T >::insert | ( | const intNDArray< T > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 116 of file intNDArray.cc.
Referenced by intNDArray< T >::concat(), and intNDArray< T >::insert().
intNDArray< T > & intNDArray< T >::insert | ( | const intNDArray< T > & | a, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 124 of file intNDArray.cc.
References intNDArray< T >::insert().
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().
MArray<T> MArray< T >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline, inherited] |
Reimplemented from Array< T >.
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 Array< T >::length | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 265 of file Array.h.
Referenced by printf_format_list::add_elt_to_list(), scanf_format_list::add_elt_to_list(), load_path::add_to_fcn_map(), scanf_format_list::all_character_conversions(), all_colon_equiv(), scanf_format_list::all_numeric_conversions(), all_ok(), all_ones(), octave_cell::all_strings(), any_ones(), any_orig_empty(), string_vector::append(), FloatRowVector::append(), FloatMatrix::append(), FloatComplexRowVector::append(), FloatComplexMatrix::append(), RowVector::append(), Matrix::append(), ComplexRowVector::append(), ComplexMatrix::append(), array_concat(), Octave_map::assign(), Array< T >::assign(), calc_dimensions(), Cell::Cell(), Sparse< T >::compute_index(), 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(), FloatComplexQR::delete_col(), QR::delete_col(), ComplexQR::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(), 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(), DASSL::do_integrate(), DASPK::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(), octave_sparse_params::do_set_vals(), do_sm_binary_op(), do_strcmp_fun(), printf_value_cache::double_value(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), CHOL::downdate(), ComplexCHOL::downdate(), edit_history_repl_hist(), elem_xpow(), octave_fields::equal_up_to_order(), expand_amble(), extract_keyword(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), Array< T >::fill(), filter(), Array< T >::find(), find_first_of(), find_nonzero_elem_idx(), freeze(), 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(), ODES::initialize(), Sparse< T >::insert(), FloatRowVector::insert(), FloatMatrix::insert(), FloatComplexRowVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexColumnVector::insert(), RowVector::insert(), Matrix::insert(), ColumnVector::insert(), ComplexRowVector::insert(), ComplexMatrix::insert(), ComplexColumnVector::insert(), Array< T >::insert(), FloatQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), ComplexQR::insert_col(), FloatQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), ComplexQR::insert_row(), FloatCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), CHOL::insert_sym(), ComplexCHOL::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(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), make_absolute(), make_name_list(), octave_fcn_inline::map_value(), mat2cell_mismatch(), glob_match::match(), Octave_map::maybe_delete_elements(), mk_tmp_hist_file(), load_path::move_fcn_map(), 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(), intNDArray< T >::operator!(), operator*(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), ComplexRowVector::operator-=(), ComplexColumnVector::operator-=(), operator<<(), FloatRowVector::operator==(), FloatComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexColumnVector::operator==(), RowVector::operator==(), ColumnVector::operator==(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), operator>>(), parse_save_options(), path_find_first_of(), PermMatrix::PermMatrix(), Sparse< T >::permute(), Array< T >::permute(), octave_scalar_struct::print_raw(), octave_struct::print_raw(), octave_fcn_inline::print_raw(), printf_format_list::printme(), scanf_format_list::printme(), FloatMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), qp(), Sparse< T >::range_error(), rec_permute_helper::rec_permute_helper(), symbol_table::regexp_variables(), load_path::remove_fcn_map(), octave_perm_matrix::save_ascii(), octave_fcn_inline::save_ascii(), octave_fcn_inline::save_binary(), search_path_for_all_files(), octave_rand::set_internal_state(), octave_value_list::slice(), Array< T >::sort(), Sparse< T >::Sparse(), FloatMatrix::stack(), FloatColumnVector::stack(), FloatComplexMatrix::stack(), FloatComplexColumnVector::stack(), Matrix::stack(), ColumnVector::stack(), ComplexMatrix::stack(), ComplexColumnVector::stack(), sub2ind(), octave_struct::subsref(), octave_class::subsref(), octave_cell::subsref(), file_ops::tilde_expand(), tilde_find_prefix(), tilde_find_suffix(), FloatQR::update(), FloatCHOL::update(), FloatComplexQR::update(), FloatComplexCHOL::update(), QR::update(), CHOL::update(), ComplexQR::update(), ComplexCHOL::update(), tree_print_code::visit_index_expression(), octave_stream::write(), 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 [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().
intNDArray< T > intNDArray< T >::max | ( | int | dim = -1 |
) | const |
Definition at line 227 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::max | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 234 of file intNDArray.cc.
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().
intNDArray< T > intNDArray< T >::min | ( | int | dim = -1 |
) | const |
Definition at line 241 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::min | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 248 of file intNDArray.cc.
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 Array< T >::nelem | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 266 of file Array.h.
Referenced by intNDArray< T >::abs(), intNDArray< T >::any_element_not_one_or_zero(), DEFUN_DLD(), Array< T >::find(), octave_bool_matrix::load_ascii(), Range::matrix_value(), Array< T >::nnz(), PermMatrix::numel(), operator<<(), operator>>(), parse_dbfunction_params(), octave_bool_matrix::save_binary(), intNDArray< T >::signum(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), octave_matrix::try_narrowing_conversion(), and octave_float_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 Array< T >::numel | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 267 of file Array.h.
Referenced by Array< T >::Array(), Array< T >::assign(), binmap(), Cell::Cell(), check_limit_vals(), ComplexNDArray::ComplexNDArray(), intNDArray< T >::concat(), FloatNDArray::concat(), FloatComplexNDArray::concat(), NDArray::concat(), concat(), ComplexNDArray::concat(), charNDArray::concat(), boolNDArray::concat(), convert_cdata(), convert_position(), convert_text_position(), tree_parameter_list::convert_to_const_vector(), default_numeric_conversion_function(), DEFUN(), DEFUN_DLD(), Array< T >::delete_elements(), delete_graphics_objects(), do_bitpack(), do_bitunpack(), do_bsxfun_op(), do_cleanup_waitfor_listener(), do_inplace_bsxfun_op(), do_mx_check(), do_mx_inplace_op(), do_mx_unary_op(), do_num2cell(), do_rc_map(), do_simple_cellfun(), do_strcmp_fun(), octave_base_matrix< Cell >::fast_elem_insert(), finalize_r(), Array< T >::find(), find_nonzero_elem_idx(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), get_array_limits(), get_children_limits(), get_dims_str(), get_object_dims(), get_sort_mode(), idx_vector::idx_vector(), Array< T >::index(), initialize_r(), tree_parameter_list::initialize_undefined_elements(), FloatComplexNDArray::insert(), ComplexNDArray::insert(), octave_value::int_vector_value(), is_handle(), is_handle_visible(), Array< T >::is_sorted(), Array< float >::is_sorted(), Array< double >::is_sorted(), Array< T >::linear_slice(), octave_perm_matrix::load_binary(), Array< T >::lookup(), map_2_xlog2(), NDArray::NDArray(), Array< T >::nth_element(), null(), octave_fields::octave_fields(), octave_value::octave_idx_type_vector_value(), Octave_map::Octave_map(), octcellregexp(), Array< T >::permute(), prepare_idx(), qs_preprocess(), qs_replace(), qs_search(), read_mat5_binary_element(), read_mat5_binary_file_header(), Array< T >::resize1(), safe_comparator(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), save_mat5_binary_element(), save_mat5_element_length(), gnuplot_graphics_toolkit::send_quit(), single_type_concat(), Sparse< T >::Sparse(), strcmp_array_op(), strcmpi_array_op(), strncmp_array_op(), strncmpi_array_op(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_class::subsasgn_common(), try_cellfun_internal_ops(), octave_float_complex_matrix::try_narrowing_conversion(), octave_complex_matrix::try_narrowing_conversion(), vector_norm(), tree_evaluator::visit_complex_for_command(), write_mat5_array(), and write_mat5_cell_array().
boolNDArray intNDArray< T >::operator! | ( | void | ) | const |
Definition at line 38 of file intNDArray.cc.
References Array< T >::dims(), Array< T >::elem(), and Array< T >::length().
T& Array< T >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
crefT Array< T >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< T >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
T& Array< T >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
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 | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
T& Array< T >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
crefT Array< T >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
intNDArray& intNDArray< T >::operator= | ( | const intNDArray< T > & | a | ) | [inline] |
Definition at line 56 of file intNDArray.h.
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().
MArray<T> MArray< T >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inline, inherited] |
Reimplemented from Array< T >.
void Array< T >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 2640 of file Array.cc.
References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, Array< T >::ArrayRep::len, Array< T >::rep, Array< T >::slice_data, and Array< T >::slice_len.
Referenced by DiagArray2< Complex >::print_info().
MArray<T> MArray< T >::reshape | ( | const dim_vector & | new_dims | ) | const [inline, inherited] |
Reimplemented from Array< T >.
Definition at line 71 of file MArray.h.
Referenced by DEFUN_DLD(), Range::index(), and octave_matrix::reshape().
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().
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 >::resize | ( | octave_idx_type | nr, | |
octave_idx_type | nc, | |||
const T & | rfv = resize_fill_value () | |||
) | [inline, inherited] |
Reimplemented in ComplexMatrix, DiagArray2< T >, FloatComplexMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
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 >::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().
static T intNDArray< T >::resize_fill_value | ( | void | ) | [inline, static] |
Reimplemented from Array< T >.
Definition at line 117 of file intNDArray.h.
octave_idx_type Array< T >::rows | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, PermMatrix, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 303 of file Array.h.
Referenced by AEPBALANCE::AEPBALANCE(), airy(), octave_char_matrix_str::all_strings(), FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), FloatAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), AEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), betainc(), biry(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), SparseQR::SparseQR_rep::C(), SparseComplexQR::SparseComplexQR_rep::C(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), cntr(), column_norms(), ComplexAEPBALANCE::ComplexAEPBALANCE(), ComplexLU::ComplexLU(), ComplexMatrix::ComplexMatrix(), ComplexSCHUR::ComplexSCHUR(), convert_cdata(), DEFUN(), DEFUN_DLD(), FloatQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), ComplexQR::delete_col(), Array< T >::delete_elements(), FloatQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), ComplexQR::delete_row(), FloatCHOL::delete_sym(), FloatComplexCHOL::delete_sym(), CHOL::delete_sym(), ComplexCHOL::delete_sym(), octave_matrix::diag(), octave_float_matrix::diag(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), dmsolve_insert(), dmsolve_permute(), do_bessel(), do_fftn(), do_repelems(), do_sqrtm(), do_tril(), do_triu(), FloatCHOL::downdate(), FloatComplexCHOL::downdate(), CHOL::downdate(), ComplexCHOL::downdate(), drawcn(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), elem_xpow(), Array< T >::find(), find_nonzero_elem_idx(), FloatAEPBALANCE::FloatAEPBALANCE(), FloatComplexAEPBALANCE::FloatComplexAEPBALANCE(), FloatComplexLU::FloatComplexLU(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexSCHUR::FloatComplexSCHUR(), FloatLU::FloatLU(), FloatMatrix::FloatMatrix(), FloatSCHUR::FloatSCHUR(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), FloatMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexMatrix::fsolve(), gammainc(), FloatEIG::hermitian_init(), EIG::hermitian_init(), Sparse< T >::index(), Array< T >::index(), FloatSVD::init(), FloatSCHUR::init(), FloatQRP::init(), FloatQR::init(), FloatHESS::init(), FloatGEPBALANCE::init(), FloatCHOL::init(), FloatEIG::init(), FloatComplexSVD::init(), FloatComplexSCHUR::init(), FloatComplexQRP::init(), FloatComplexQR::init(), FloatComplexHESS::init(), FloatComplexGEPBALANCE::init(), FloatComplexCHOL::init(), EIG::init(), SVD::init(), SCHUR::init(), QRP::init(), QR::init(), HESS::init(), GEPBALANCE::init(), CHOL::init(), ComplexSVD::init(), ComplexSCHUR::init(), ComplexQRP::init(), ComplexQR::init(), ComplexHESS::init(), ComplexGEPBALANCE::init(), ComplexCHOL::init(), FloatComplexMatrix::insert(), ComplexMatrix::insert(), Array< T >::insert(), FloatQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), ComplexQR::insert_col(), insert_col(), FloatQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), ComplexQR::insert_row(), insert_row(), FloatCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), CHOL::insert_sym(), ComplexCHOL::insert_sym(), Array< T >::is_sorted_rows(), kron(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), FloatMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), ComplexMatrix::ltsolve(), LU::LU(), mark_facets(), mark_upper_triangular(), Matrix::Matrix(), matrix_real_probe(), max(), min(), null(), octave_print_internal(), operator*(), FloatComplexMatrix::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), ComplexMatrix::operator-=(), operator<<(), FloatMatrix::operator==(), FloatComplexMatrix::operator==(), Matrix::operator==(), ComplexMatrix::operator==(), charMatrix::operator==(), boolMatrix::operator==(), operator>>(), pr_max_internal(), pr_min_internal(), qrsolve(), Array< T >::resize1(), Array< T >::resize2(), row_norms(), octave_char_matrix_str::save_ascii(), octave_cell::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), save_three_d(), SCHUR::SCHUR(), FloatQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), ComplexQR::shift_cols(), FloatCHOL::shift_sym(), FloatComplexCHOL::shift_sym(), CHOL::shift_sym(), ComplexCHOL::shift_sym(), singular(), Array3< T >::sort(), Array< T >::sort_rows_idx(), sqrtm_utri_inplace(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::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(), FloatCHOL::update(), FloatComplexQR::update(), FloatComplexCHOL::update(), QR::update(), CHOL::update(), ComplexQR::update(), ComplexCHOL::update(), FloatMatrix::utsolve(), FloatComplexMatrix::utsolve(), SparseMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), ComplexMatrix::utsolve(), x_el_div(), xgemm(), and xpow().
intNDArray< T > intNDArray< T >::signum | ( | void | ) | const |
Definition at line 190 of file intNDArray.cc.
References Array< T >::dims(), Array< T >::elem(), Array< T >::nelem(), and Array< T >::xelem().
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< 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< 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().
intNDArray intNDArray< T >::squeeze | ( | void | ) | const [inline] |
Reimplemented from MArray< T >.
Definition at line 99 of file intNDArray.h.
intNDArray< T > intNDArray< T >::sum | ( | int | dim | ) | const |
Definition at line 206 of file intNDArray.cc.
intNDArray intNDArray< T >::transpose | ( | void | ) | const [inline] |
Reimplemented from MArray< T >.
Definition at line 102 of file intNDArray.h.
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().
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().
crefT Array< T >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
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 | |||
) | [inline, inherited] |
Definition at line 330 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 | ( | 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 | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< T >, DiagArray2< double >, DiagArray2< float >, DiagArray2< FloatComplex >, and DiagArray2< Complex >.
Definition at line 331 of file Array.h.
Referenced by Array< octave_value >::xelem().
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().