GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "MDiagArray2.h"
Protected 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 |
Protected Member Functions | |
Array< T > | as_column (void) const |
Return the array as a column vector. More... | |
Array< T > | as_matrix (void) const |
Return the array as a matrix. More... | |
Array< T > | as_row (void) const |
Return the array as a row vector. More... | |
T & | checkelem (octave_idx_type n) |
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, octave_idx_type k) const |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
void | clear (void) |
void | clear (const dim_vector &dv) |
void | clear (octave_idx_type r, octave_idx_type c) |
Array< T > | column (octave_idx_type k) const |
Extract column: A(:,k+1). More... | |
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 |
T & | elem (octave_idx_type n) |
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, octave_idx_type k) const |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
void | fill (const T &val) |
template<> | |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
template<> | |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
template<> | |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
template<> | |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
Array< T > & | insert (const Array< T > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
Array< T > & | insert (const Array< T > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
Array< T > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_shared (void) |
template<> | |
sortmode | is_sorted (sortmode) const |
template<> | |
sortmode | is_sorted (sortmode) const |
template<> | |
sortmode | is_sorted (sortmode) const |
template<> | |
sortmode | is_sorted (sortmode) const |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
template<> | |
sortmode | is_sorted_rows (sortmode) const |
template<> | |
sortmode | is_sorted_rows (sortmode) const |
template<> | |
sortmode | is_sorted_rows (sortmode) const |
template<> | |
sortmode | is_sorted_rows (sortmode) const |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
bool | is_square (void) const |
bool | is_vector (void) const |
Array< T > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
Extract a slice from this array as a column vector: A(:)(lo+1:up). More... | |
template<> | |
octave_idx_type | lookup (idx_vector const &, sortmode) const |
template<> | |
Array< octave_idx_type > | lookup (const Array< idx_vector > &, sortmode) const |
template<> | |
octave_idx_type | lookup (scanf_format_elt_ptr const &, sortmode) const |
template<> | |
Array< octave_idx_type > | lookup (const Array< scanf_format_elt_ptr > &, sortmode) const |
template<> | |
Array< octave_idx_type > | lookup (const Array< printf_format_elt_ptr > &, sortmode) const |
template<> | |
octave_idx_type | lookup (printf_format_elt_ptr const &, sortmode) const |
template<> | |
octave_idx_type | lookup (octave_stream const &, sortmode) const |
template<> | |
Array< octave_idx_type > | lookup (const Array< octave_stream > &, sortmode) const |
octave_idx_type | lookup (const T &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
Array< octave_idx_type > | lookup (const Array< T > &values, sortmode mode=UNSORTED) const |
Ditto, but for an array of values, specializing on the case when values are sorted. More... | |
void | make_unique (void) |
template<class U , class F > | |
Array< U > | map (F fcn) const |
Apply function fcn to each element of the Array<T>. More... | |
void | maybe_economize (void) |
void * | mex_get_data (void) const |
Give a pointer to the data in mex format. More... | |
int | ndims (void) const |
template<> | |
Array< idx_vector > | nth_element (const idx_vector &, int) const |
template<> | |
Array< scanf_format_elt_ptr > | nth_element (const idx_vector &, int) const |
template<> | |
Array< printf_format_elt_ptr > | nth_element (const idx_vector &, int) const |
template<> | |
Array< octave_stream > | nth_element (const idx_vector &, int) const |
Array< T > | nth_element (const idx_vector &n, int dim=0) const |
Returns the n-th element in increasing order, using the same ordering as used for sort. More... | |
T & | operator() (octave_idx_type n) |
T & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
T & | operator() (const Array< octave_idx_type > &ra_idx) |
crefT | operator() (octave_idx_type n) 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 |
bool | optimize_dimensions (const dim_vector &dv) |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv. More... | |
Array< T > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
Array< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
Array< T > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Array< T > | reshape (const dim_vector &new_dims) const |
virtual T | resize_fill_value (void) const |
template<> | |
Array< idx_vector > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
template<> | |
Array< idx_vector > | sort (int, sortmode) const |
template<> | |
Array< scanf_format_elt_ptr > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
template<> | |
Array< scanf_format_elt_ptr > | sort (int, sortmode) const |
template<> | |
Array< printf_format_elt_ptr > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
template<> | |
Array< printf_format_elt_ptr > | sort (int, sortmode) const |
template<> | |
Array< octave_stream > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
template<> | |
Array< octave_stream > | sort (int, sortmode) 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 |
template<> | |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
template<> | |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
template<> | |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
template<> | |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
Array< T > | squeeze (void) const |
Chop off leading singleton dimensions. More... | |
template<class F , bool zero> | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
T & | xelem (octave_idx_type n) |
crefT | xelem (octave_idx_type n) const |
T & | xelem (octave_idx_type i, octave_idx_type j) |
T & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
T & | xelem (const Array< octave_idx_type > &ra_idx) |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
void | resize (const dim_vector &dv, const T &rfv) |
void | resize (const dim_vector &dv) |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const T &rfv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
void | resize1 (octave_idx_type n, const T &rfv) |
void | resize1 (octave_idx_type n) |
octave_idx_type | capacity (void) const |
Number of elements in the array. More... | |
Third dimension | |
Get the third dimension of the array (number of pages) | |
octave_idx_type | dim3 (void) const |
octave_idx_type | pages (void) const |
Array< T > | index (const idx_vector &i) const |
Indexing without resizing. More... | |
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) const |
Indexing with possible resizing and fill. More... | |
Array< T > | index (const idx_vector &i, bool resize_ok) const |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv) const |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv) const |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok) const |
void | assign (const idx_vector &i, const Array< T > &rhs, const T &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const Array< T > &rhs) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs) |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv) |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs) |
void | delete_elements (const idx_vector &i) |
Deleting elements. More... | |
void | delete_elements (int dim, const idx_vector &i) |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More... | |
void | delete_elements (const Array< idx_vector > &ia) |
Dispatcher to the above two. More... | |
template<class U > | |
Array< U > | map (U(&fcn)(T)) const |
Overloads for function references. More... | |
template<class U > | |
Array< U > | map (U(&fcn)(const T &)) const |
template<class F > | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
template<class F > | |
bool | test_all (F fcn) const |
bool | test_any (bool(&fcn)(T)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const T &)) const |
bool | test_all (bool(&fcn)(T)) const |
bool | test_all (bool(&fcn)(const T &)) const |
int * | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
T * | jit_slice_data (void) const |
octave_idx_type * | jit_dimensions (void) const |
void * | jit_array_rep (void) const |
Static Protected Member Functions | |
static Array< T > | cat (int dim, octave_idx_type n, const Array< T > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
Protected Attributes | |
octave_idx_type | d1 |
octave_idx_type | d2 |
dim_vector | dimensions |
Array< T >::ArrayRep * | rep |
T * | slice_data |
octave_idx_type | slice_len |
Friends | |
MDiagArray2< T > | operator* (const MDiagArray2< T > &, const T &) |
MDiagArray2< T > | operator* (const T &, const MDiagArray2< T > &) |
MDiagArray2< T > | operator+ (const MDiagArray2< T > &) |
MDiagArray2< T > | operator+ (const MDiagArray2< T > &, const MDiagArray2< T > &) |
MDiagArray2< T > | operator- (const MDiagArray2< T > &) |
MDiagArray2< T > | operator- (const MDiagArray2< T > &, const MDiagArray2< T > &) |
MDiagArray2< T > | operator/ (const MDiagArray2< T > &, const T &) |
MDiagArray2< T > | product (const MDiagArray2< T > &, const MDiagArray2< T > &) |
Definition at line 37 of file MDiagArray2.h.
|
inherited |
|
inline |
Definition at line 45 of file MDiagArray2.h.
|
inline |
Definition at line 47 of file MDiagArray2.h.
|
inline |
Definition at line 49 of file MDiagArray2.h.
|
inline |
Definition at line 52 of file MDiagArray2.h.
|
inline |
Definition at line 54 of file MDiagArray2.h.
|
inline |
Definition at line 57 of file MDiagArray2.h.
|
inlineexplicit |
Definition at line 59 of file MDiagArray2.h.
|
inline |
Definition at line 61 of file MDiagArray2.h.
|
inline |
Definition at line 64 of file MDiagArray2.h.
|
inline |
Definition at line 72 of file MDiagArray2.h.
Return the array as a column vector.
Definition at line 279 of file Array.h.
Referenced by patch::properties::update_fvc().
Return the array as a matrix.
Definition at line 299 of file Array.h.
Referenced by Sparse< T >::index().
|
inherited |
Indexed assignment (always with resize & fill).
Definition at line 1140 of file Array.cc.
References idx_vector::assign(), Array< T >::data(), idx_vector::extent(), idx_vector::fill(), gripe_invalid_assignment_size(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::numel(), and Array< T >::reshape().
Referenced by Cell::assign(), Sparse< T >::assign(), octave_jit_paren_subsasgn_matrix_range(), octave_value_list::octave_value_list(), and cdef_object_array::subsasgn().
|
inlineinherited |
|
inherited |
Definition at line 1188 of file Array.cc.
References idx_vector::assign(), dim_vector::chop_all_singletons(), Array< T >::data(), Array< T >::dims(), idx_vector::extent(), idx_vector::fill(), gripe_assignment_dimension_mismatch(), idx_vector::is_colon_equiv(), dim_vector::length(), idx_vector::length(), match(), idx_vector::maybe_reduce(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), idx_vector::xelem(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inlineinherited |
|
inherited |
Definition at line 1290 of file Array.cc.
References dim_vector::alloc(), rec_index_helper::assign(), dim_vector::chop_all_singletons(), dim_vector::chop_trailing_singletons(), Array< T >::data(), Array< T >::dims(), rec_index_helper::fill(), gripe_assignment_dimension_mismatch(), Array< T >::length(), dim_vector::length(), match(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inlineinherited |
|
inlineinherited |
Definition at line 102 of file DiagArray2.h.
|
inlineinherited |
Definition at line 96 of file DiagArray2.h.
|
inlineinherited |
Number of elements in the array.
Synonymous with length(), nelem(), and numel().
Definition at line 256 of file Array.h.
Referenced by daspk_user_function(), daspk_user_jacobian(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), octave_rand::do_float_nd_array(), octave_rand::do_float_vector(), LSODE::do_integrate(), DefQuad::do_integrate(), FloatDefQuad::do_integrate(), octave_rand::do_nd_array(), octave_rand::do_vector(), Fdaspk(), Fdassl(), Fquad(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
staticinherited |
Concatenation along a specified (0-based) dimension, equivalent to cat().
dim = -1 corresponds to dim = 0 and dim = -2 corresponds to dim = 1, but apply the looser matching rules of vertcat/horzcat.
Definition at line 2634 of file Array.cc.
References idx_vector::colon, dim_vector::concat(), Array< T >::dims(), dim_vector::hvcat(), dim_vector::length(), max(), and dim_vector::zero_by_zero().
Referenced by single_type_concat().
|
inlineinherited |
Definition at line 127 of file DiagArray2.h.
|
inlineinherited |
Definition at line 141 of file DiagArray2.h.
|
inherited |
Definition at line 189 of file Array.cc.
References elem, gripe_index_out_of_range(), and gripe_invalid_index().
Referenced by octave_value_typeinfo::do_lookup_assign_op(), octave_value_typeinfo::do_lookup_assignany_op(), octave_value_typeinfo::do_lookup_binary_class_op(), octave_value_typeinfo::do_lookup_binary_op(), octave_value_typeinfo::do_lookup_cat_op(), octave_value_typeinfo::do_lookup_pref_assign_conv(), octave_value_typeinfo::do_lookup_type_conv_op(), octave_value_typeinfo::do_lookup_unary_class_op(), octave_value_typeinfo::do_lookup_unary_op(), octave_value_typeinfo::do_lookup_widening_op(), octave_value_typeinfo::do_register_assign_op(), octave_value_typeinfo::do_register_assignany_op(), octave_value_typeinfo::do_register_binary_class_op(), octave_value_typeinfo::do_register_binary_op(), octave_value_typeinfo::do_register_cat_op(), octave_value_typeinfo::do_register_pref_assign_conv(), octave_value_typeinfo::do_register_unary_class_op(), octave_value_typeinfo::do_register_unary_op(), do_repelems(), and PermMatrix::operator()().
|
inherited |
Definition at line 209 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Definition at line 216 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Definition at line 223 of file Array.cc.
References elem, gripe_index_out_of_range(), and gripe_invalid_index().
|
inherited |
Definition at line 243 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Definition at line 251 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Definition at line 84 of file Array.cc.
Referenced by octave_char_matrix_str::cellstr_value(), RowVector::clear(), FloatRowVector::clear(), ColumnVector::clear(), FloatColumnVector::clear(), ComplexRowVector::clear(), FloatComplexRowVector::clear(), ComplexColumnVector::clear(), FloatComplexColumnVector::clear(), octave_rand::do_float_nd_array(), octave_rand::do_float_vector(), octave_rand::do_nd_array(), do_num2cell_helper(), do_repelems(), octave_rand::do_vector(), octave_fields::equal_up_to_order(), Array< T >::find(), Range::index(), SCHUR::init(), FloatSCHUR::init(), ComplexSCHUR::init(), FloatComplexSCHUR::init(), CHOL::init(), FloatCHOL::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), octave_fields::orderfields(), qs_replace(), read_mat5_binary_element(), single_type_concat(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_scalar_rep::sort_idx(), idx_vector::idx_vector_rep::sort_idx(), and idx_vector::idx_mask_rep::sort_idx().
|
inherited |
Definition at line 99 of file Array.cc.
References dim_vector::chop_trailing_singletons(), Array< T >::ArrayRep::data, and dim_vector::safe_numel().
|
inlineinherited |
|
inlineinherited |
Definition at line 87 of file DiagArray2.h.
Referenced by Matrix::append(), FloatMatrix::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), octave_diag_matrix::do_index_op(), imag(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), kron(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), operator*(), ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), FloatMatrix::operator+=(), Matrix::operator-=(), FloatMatrix::operator-=(), operator<<(), DiagMatrix::operator==(), FloatDiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), real(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), and xpow().
|
inherited |
Extract column: A(:,k+1).
Definition at line 258 of file Array.cc.
References gripe_index_out_of_range().
Referenced by qp().
|
inlineinherited |
Definition at line 88 of file DiagArray2.h.
Referenced by conj(), imag(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_diag_matrix::map(), octave_print_internal(), and real().
|
inherited |
Definition at line 167 of file Array.cc.
References compute_index().
|
inherited |
Definition at line 174 of file Array.cc.
References compute_index().
|
inherited |
Definition at line 182 of file Array.cc.
References compute_index().
|
inlineinherited |
|
inlineinherited |
Definition at line 180 of file DiagArray2.h.
Referenced by ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), DiagMatrix::operator==(), FloatDiagMatrix::operator==(), ComplexDiagMatrix::operator==(), and FloatComplexDiagMatrix::operator==().
|
inherited |
Deleting elements.
A(I) = [] (with a single subscript)
Definition at line 1393 of file Array.cc.
References idx_vector::complement(), idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_scalar(), and idx_vector::length().
Referenced by Cell::delete_elements(), and octave_map::delete_elements().
|
inherited |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)
Definition at line 1433 of file Array.cc.
References idx_vector::colon, idx_vector::complement(), idx_vector::extent(), Array< T >::fortran_vec(), gripe_del_index_out_of_range(), idx_vector::is_colon(), idx_vector::is_cont_range(), and idx_vector::length().
|
inherited |
Dispatcher to the above two.
Definition at line 1493 of file Array.cc.
References jit_convention::length, and Array< T >::length().
|
inlineinherited |
Definition at line 121 of file DiagArray2.h.
Referenced by kron(), operator*(), and xpow().
|
inlineinherited |
Definition at line 124 of file DiagArray2.h.
|
inlineinherited |
Definition at line 163 of file DiagArray2.h.
Referenced by operator*().
|
inlineinherited |
Definition at line 166 of file DiagArray2.h.
|
inline |
Definition at line 94 of file MDiagArray2.h.
Referenced by octave_print_internal().
|
inherited |
Definition at line 2614 of file Array.cc.
References current_liboctave_error_handler, Array< T >::resize(), and Array< T >::xelem().
|
inlineinherited |
Definition at line 90 of file DiagArray2.h.
Referenced by kron().
|
inlineinherited |
Definition at line 83 of file DiagArray2.h.
|
inlineinherited |
Definition at line 84 of file DiagArray2.h.
|
inlineinherited |
Definition at line 329 of file Array.h.
Referenced by ft_render::process_character(), and ft_render::render().
|
inlineinherited |
Definition at line 98 of file DiagArray2.h.
|
inlineinherited |
Definition at line 110 of file DiagArray2.h.
Referenced by ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), DiagMatrix::inverse(), FloatDiagMatrix::inverse(), ComplexDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), Matrix::Matrix(), operator*(), Matrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), Matrix::operator-=(), FloatMatrix::operator-=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), operator<<(), DiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), and FloatComplexDiagMatrix::pseudo_inverse().
|
inlineinherited |
Definition at line 115 of file DiagArray2.h.
|
inlineinherited |
Definition at line 380 of file Array.h.
Referenced by atan2(), AEPBALANCE::balancing_matrix(), FloatAEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_matrix::char_array_value(), octave_range::char_array_value(), DiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::column(), FloatComplexDiagMatrix::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), charNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), conv_to_int_array(), printf_format_list::current(), ddaspk_f(), ddaspk_j(), ddasrt_j(), ddassl_f(), ddassl_j(), delete_graphics_objects(), DiagArray2< Complex >::dgelem(), dmsolve_extract(), LSODE::do_integrate(), DiagArray2< Complex >::elem(), Array< octave_value >::elem(), charMatrix::extract(), DiagMatrix::extract(), FloatDiagMatrix::extract(), ComplexRowVector::extract(), ComplexColumnVector::extract(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), ComplexDiagMatrix::extract(), FloatComplexDiagMatrix::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), F__go_delete__(), Ffunctions(), Fhex2num(), DiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Fnum2hex(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseComplexMatrix::fsolve(), G__player_play__(), G__player_playblocking__(), octave_rand::get_internal_state(), Givens(), Gsymrcm(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), EIG::init(), FloatEIG::init(), RowVector::insert(), FloatRowVector::insert(), ColumnVector::insert(), FloatColumnVector::insert(), ComplexRowVector::insert(), ComplexColumnVector::insert(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), Matrix::insert(), FloatMatrix::insert(), ComplexNDArray::insert(), ComplexMatrix::insert(), FloatComplexNDArray::insert(), FloatComplexMatrix::insert(), octave_value::int_vector_value(), DASSL::integrate(), DASPK::integrate(), DASRT::integrate(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_cell::load_binary(), octave_cell::load_hdf5(), octave_bool_matrix::load_hdf5(), lsode_f(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::Matrix(), matrix_real_probe(), SparseBoolMatrix::matrix_value(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value::octave_idx_type_vector_value(), intNDArray< T >::operator!(), boolMatrix::operator!(), PermMatrix::operator()(), operator*(), operator<<(), operator>>(), string_vector::operator[](), parse_dbfunction_params(), Array< T >::permute(), plus_or_minus(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), read_mat_ascii_data(), DiagMatrix::row(), FloatDiagMatrix::row(), ComplexDiagMatrix::row(), FloatComplexDiagMatrix::row(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), graphics_object::set(), octave_rand::set_internal_state(), Sparse< T >::Sparse(), try_cellfun_internal_ops(), and x_el_div().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 58 of file DiagArray2.cc.
References d, min(), and Array< T >::resize().
Referenced by MDiagArray2< Complex >::diag(), DiagMatrix::extract_diag(), FloatDiagMatrix::extract_diag(), ComplexDiagMatrix::extract_diag(), and FloatComplexDiagMatrix::extract_diag().
|
inherited |
Definition at line 70 of file Array.cc.
References jit_convention::length.
Referenced by idx_vector::idx_scalar_rep::sort_idx().
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
Definition at line 2246 of file Array.cc.
References Array< T >::clear(), Array< T >::dimensions, Array< T >::fortran_vec(), Array< T >::is_empty(), Array< T >::length(), and Array< T >::resize2().
Referenced by idx_vector::idx_mask_rep::as_array(), Fdbtype(), and find_nonzero_elem_idx().
|
inlineinherited |
Definition at line 182 of file DiagArray2.h.
Referenced by FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), SVD::init(), octave_float_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), and octave_diag_matrix::load_binary().
|
inlineinherited |
Definition at line 184 of file DiagArray2.h.
|
inline |
Definition at line 98 of file MDiagArray2.h.
Referenced by ComplexDiagMatrix::hermitian(), and FloatComplexDiagMatrix::hermitian().
|
inherited |
Indexing without resizing.
Definition at line 716 of file Array.cc.
References idx_vector::extent(), Array< T >::fortran_vec(), gripe_index_out_of_range(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), dim_vector::is_vector(), idx_vector::length(), and idx_vector::orig_dimensions().
Referenced by convolve(), octave_char_matrix_str::do_index_op_internal(), find_nonzero_elem_idx(), Cell::index(), octave_map::index(), Array< T >::index(), Sparse< T >::index(), octave_print_internal(), operator*(), ft_render::render(), cdef_object_array::subsasgn(), and cdef_object_array::subsref().
|
inherited |
Definition at line 780 of file Array.cc.
References idx_vector::extent(), Array< T >::fortran_vec(), gripe_index_out_of_range(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), idx_vector::maybe_reduce(), dim_vector::redim(), and idx_vector::xelem().
|
inherited |
Definition at line 838 of file Array.cc.
References dim_vector::alloc(), dim_vector::chop_trailing_singletons(), Array< T >::fortran_vec(), gripe_index_out_of_range(), rec_index_helper::index(), rec_index_helper::is_cont_range(), Array< T >::length(), and dim_vector::redim().
|
inherited |
Indexing with possible resizing and fill.
Definition at line 1057 of file Array.cc.
References idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), Array< T >::numel(), and Array< T >::resize1().
|
inlineinherited |
|
inherited |
Definition at line 1081 of file Array.cc.
References Array< T >::columns(), idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), dim_vector::redim(), Array< T >::resize2(), and Array< T >::rows().
|
inlineinherited |
|
inherited |
Definition at line 1109 of file Array.cc.
References dim_vector::alloc(), Array< T >::dimensions, Array< T >::index(), Array< T >::length(), dim_vector::redim(), and Array< T >::resize().
|
inlineinherited |
|
inherited |
Insert an array into another at a specified position.
If size (a) is [d1 d2 ... dN] and idx is [i1 i2 ... iN], this method is equivalent to x(i1:i1+d1-1, i2:i2+d2-1, ... , iN:iN+dN-1) = a.
Definition at line 1591 of file Array.cc.
References Array< T >::dims(), Array< T >::length(), and dim_vector::redim().
Referenced by boolMatrix::insert(), boolNDArray::insert(), charMatrix::insert(), charNDArray::insert(), Matrix::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), Cell::insert(), FloatNDArray::insert(), intNDArray< T >::insert(), NDArray::insert(), FloatComplexMatrix::insert(), and single_type_concat().
|
inherited |
This is just a special case for idx = [r c 0 ...].
Definition at line 1570 of file Array.cc.
References Array< T >::columns(), Array< T >::dimensions, Array< T >::ndims(), and Array< T >::rows().
|
inlineinherited |
Definition at line 467 of file Array.h.
Referenced by MArray< Complex >::ipermute().
Definition at line 472 of file Array.h.
Referenced by ft_render::compute_bbox(), ft_render::compute_line_xoffset(), convolve(), do_bsxfun_op(), do_colon_op(), do_inplace_bsxfun_op(), do_minmax_red_op< boolNDArray >(), do_num2cell(), do_object2cell(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), Fcellstr(), Array< T >::find(), find_nonzero_elem_idx(), Foctave_config_info(), G__magick_write__(), get_builtin_classes(), octave_char_matrix_str::load_ascii(), octave_bool_matrix::load_ascii(), LuAminusSigmaB(), null(), octave_print_internal(), octave_cell::short_disp(), patch::properties::update_data(), patch::properties::update_fvc(), and val_in_table().
bool MDiagArray2< T >::is_multiple_of_identity | ( | T | val | ) | const |
Definition at line 36 of file MDiagArray2.cc.
References Sparse< Complex >::cols(), jit_convention::length, and Sparse< Complex >::rows().
Referenced by octave_diag_matrix::do_index_op().
Definition at line 485 of file Array.h.
Referenced by mx_el_or_assign(), operator*=(), operator+=(), operator-=(), operator/=(), product_eq(), and quotient_eq().
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
Ordering is auto-detected or can be specified.
Definition at line 2051 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_lazy_index::is_sorted(), octave_cell::is_sorted(), octave_matrix::is_sorted(), and Array< T >::lookup().
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
Ordering is auto-detected or can be specified.
Definition at line 2105 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted_rows(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_lazy_index::is_sorted_rows(), octave_cell::is_sorted_rows(), and octave_matrix::is_sorted_rows().
Definition at line 470 of file Array.h.
Referenced by FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::set(), FloatCHOL::set(), FloatComplexCHOL::set(), and ComplexCHOL::set().
|
inlineinherited |
|
inlineinherited |
WARNING: Only call these functions from jit.
Definition at line 743 of file Array.h.
Referenced by octave_jit_paren_subsasgn_matrix_range().
|
inlineinherited |
Definition at line 745 of file Array.h.
Referenced by octave_jit_paren_subsasgn_matrix_range().
|
inlineinherited |
Definition at line 92 of file DiagArray2.h.
Referenced by ComplexMatrix::ComplexMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), octave_float_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_diag_matrix::load_binary(), Matrix::Matrix(), operator*(), Matrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), Matrix::operator-=(), FloatMatrix::operator-=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), and SparseMatrix::SparseMatrix().
|
inherited |
Extract a slice from this array as a column vector: A(:)(lo+1:up).
Must be 0 <= lo && up <= numel. May be up < lo.
Definition at line 286 of file Array.cc.
References gripe_index_out_of_range().
Referenced by octave_value_list::slice().
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Do a binary lookup in a sorted array.
Must not contain NaNs. Mode can be specified or is auto-detected by comparing 1st and last element.
Definition at line 2166 of file Array.cc.
References ASCENDING, DESCENDING, octave_sort< T >::descending_compare(), elem, octave_sort< T >::lookup(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by do_numeric_lookup(), Flookup(), and val_in_table().
|
inherited |
Ditto, but for an array of values, specializing on the case when values are sorted.
NaNs get the value N.
Definition at line 2187 of file Array.cc.
References ASCENDING, Array< T >::data(), DESCENDING, octave_sort< T >::descending_compare(), Array< T >::dims(), elem, Array< T >::is_sorted(), octave_sort< T >::lookup(), octave_sort< T >::lookup_sorted(), Array< T >::numel(), octave_sort< T >::set_compare(), UNSORTED, and xlog2().
|
inlineinherited |
Definition at line 104 of file Array.h.
Referenced by octave_struct::subsasgn(), octave_cell::subsasgn(), and octave_class::subsasgn_common().
|
inlineinherited |
Apply function fcn to each element of the Array<T>.
This function is optimised with a manually unrolled loop.
Definition at line 659 of file Array.h.
Referenced by Fstr2double(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_diag_matrix::map(), DiagMatrix::rcond(), FloatDiagMatrix::rcond(), ComplexDiagMatrix::rcond(), and FloatComplexDiagMatrix::rcond().
|
inlineinherited |
|
inlineinherited |
Give a pointer to the data in mex format.
Unsafe. This function exists to support the MEX interface. You should not use it anywhere else.
Definition at line 605 of file Array.h.
Referenced by octave_cell::mex_get_data().
Definition at line 487 of file Array.h.
Referenced by octave_char_matrix_str::all_strings(), octave_char_matrix_str::cellstr_value(), convolve(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_repelems(), encode_bool_image(), Fcell2struct(), Frepelems(), MArray< T >::idx_add_nd(), Array< T >::insert(), kron(), octave_print_internal(), octave_cell::print_raw(), octave_char_matrix_str::short_disp(), octave_char_matrix_str::string_value(), octave_bool_matrix::try_narrowing_conversion(), and patch::properties::update_fvc().
|
inlineinherited |
|
inline |
Definition at line 77 of file MDiagArray2.h.
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Returns the n-th element in increasing order, using the same ordering as used for sort.
n can either be a scalar index or a contiguous range.
Definition at line 2327 of file Array.cc.
References ASCENDING, dim_vector::chop_trailing_singletons(), idx_vector::class_range, idx_vector::class_scalar, DESCENDING, idx_vector::idx_class(), idx_vector::increment(), dim_vector::length(), idx_vector::length(), max(), min(), nn, octave_sort< T >::nth_element(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by Fnth_element().
|
inlineinherited |
Definition at line 94 of file DiagArray2.h.
|
inlineinherited |
Definition at line 132 of file DiagArray2.h.
|
inlineinherited |
Definition at line 147 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 66 of file MDiagArray2.h.
Referenced by DiagMatrix::operator=(), FloatDiagMatrix::operator=(), ComplexDiagMatrix::operator=(), and FloatComplexDiagMatrix::operator=().
|
inherited |
|
inherited |
Extract page: A(:,:,k+1).
Definition at line 271 of file Array.cc.
References gripe_index_out_of_range().
|
inlineinherited |
|
inherited |
Definition at line 441 of file Array.cc.
References dim_vector::alloc(), current_liboctave_error_handler, Array< T >::elem(), Array< T >::fortran_vec(), Array< T >::length(), dim_vector::length(), OCTAVE_LOCAL_BUFFER_INIT, rec_permute_helper::permute(), and dim_vector::resize().
Referenced by MArray< Complex >::permute(), octave_lazy_index::permute(), and octave_map::permute().
|
inlineinherited |
Definition at line 186 of file DiagArray2.h.
|
inlineinherited |
Definition at line 460 of file Array.h.
Referenced by idx_vector::idx_mask_rep::as_array(), Array< T >::assign(), octave_value::complex_vector_value(), Fbase64_decode(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), octave_value::int_vector_value(), octave_value::octave_idx_type_vector_value(), MArray< Complex >::reshape(), Cell::reshape(), octave_lazy_index::reshape(), octave_matrix::reshape(), octave_map::reshape(), and octave_value::vector_value().
|
inlineinherited |
|
inherited |
Definition at line 93 of file DiagArray2.cc.
References min(), and Array< T >::resize().
Referenced by FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), and SVD::init().
|
inlineinherited |
Definition at line 170 of file DiagArray2.h.
|
inherited |
Definition at line 1033 of file Array.cc.
References dim_vector::any_neg(), Array< T >::fortran_vec(), gripe_invalid_resize(), dim_vector::length(), dim_vector::redim(), and rec_resize_helper::resize_fill().
Referenced by scanf_format_list::add_elt_to_list(), printf_format_list::add_elt_to_list(), jit_operation::add_overload(), airy(), betainc(), betaincinv(), biry(), bitopxx(), Cell::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), regexp::compile_internal(), ComplexLU::ComplexLU(), Array< T >::diag(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), do_object2cell(), octave_value_typeinfo::do_register_type(), DiagArray2< T >::extract_diag(), F__get__(), Fbsxfun(), Ffilter(), Fget(), filter(), find_nonzero_elem_idx(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), FloatComplexLU::FloatComplexLU(), FloatLU::FloatLU(), Frandperm(), Fwarning(), G__glpk__(), G__magick_read__(), gammainc(), get_ra_idx(), ichol_t(), MArray< T >::idx_add_nd(), ilu_crout(), ilu_tp(), Array< T >::index(), FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), SVD::init(), octave_value::int_vector_value(), DASRT::integrate(), intmap_to_ov(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), LU::LU(), make_indices(), make_subs_cell(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_base64_decode(), octave_value::octave_idx_type_vector_value(), octave_value_list::octave_value_list(), printf_format_list::printf_format_list(), boolMatrix::resize(), charMatrix::resize(), string_vector::resize(), RowVector::resize(), FloatRowVector::resize(), ColumnVector::resize(), octave_char_matrix_str::resize(), FloatColumnVector::resize(), octave_range::resize(), ComplexRowVector::resize(), FloatComplexRowVector::resize(), Matrix::resize(), FloatMatrix::resize(), ComplexColumnVector::resize(), FloatComplexColumnVector::resize(), DiagArray2< T >::resize(), ComplexMatrix::resize(), FloatComplexMatrix::resize(), octave_char_matrix_sq_str::resize(), octave_map::resize(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), tree_cell::rvalue1(), scanf_format_list::scanf_format_list(), set_warning_option(), octave_base_scalar< bool >::sort(), Range::sort_internal(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), and patch::properties::update_data().
|
inlineinherited |
Definition at line 512 of file Array.h.
Referenced by Array< octave_value >::resize().
|
inherited |
Definition at line 913 of file Array.cc.
References Array< T >::fortran_vec(), gripe_invalid_resize(), min(), and nn.
Referenced by Array< T >::index(), and octave_jit_paren_subsasgn_impl().
|
inlineinherited |
Definition at line 509 of file Array.h.
Referenced by Array< octave_value >::resize1().
|
inherited |
Resizing (with fill).
Definition at line 988 of file Array.cc.
References c1, Array< T >::fortran_vec(), gripe_invalid_resize(), min(), and r1.
Referenced by Array< T >::find(), and Array< T >::index().
|
inlineinherited |
|
virtualinherited |
|
inlineinherited |
Definition at line 86 of file DiagArray2.h.
Referenced by Matrix::append(), FloatMatrix::append(), ComplexMatrix::append(), FloatComplexMatrix::append(), conj(), octave_diag_matrix::do_index_op(), imag(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), kron(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_diag_matrix::map(), octave_print_internal(), operator*(), ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), FloatMatrix::operator+=(), Matrix::operator-=(), FloatMatrix::operator-=(), operator<<(), FloatDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), real(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), Matrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), FloatComplexMatrix::stack(), and xpow().
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Definition at line 1766 of file Array.cc.
References DESCENDING, Array< T >::dims(), Array< T >::fortran_vec(), Array< T >::length(), dim_vector::length(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
Referenced by FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), children_property::do_set(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), octave_lazy_index::sort(), and octave_cell::sort().
|
inherited |
Definition at line 1886 of file Array.cc.
References DESCENDING, Array< T >::dims(), Array< T >::fortran_vec(), Array< T >::length(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
|
inherited |
Definition at line 34 of file Array-idx-vec.cc.
|
inherited |
Definition at line 40 of file Array-os.cc.
|
inherited |
Definition at line 43 of file Array-os.cc.
|
inherited |
Definition at line 46 of file Array-os.cc.
|
inherited |
Sort by rows returns only indices.
Definition at line 2086 of file Array.cc.
References Array< T >::fortran_vec(), safe_comparator(), and octave_sort< T >::sort_rows().
Referenced by octave_perm_matrix::sort_rows_idx(), octave_base_diag< DiagMatrix, Matrix >::sort_rows_idx(), octave_lazy_index::sort_rows_idx(), octave_cell::sort_rows_idx(), octave_base_matrix< boolNDArray >::sort_rows_idx(), and octave_value::sort_rows_idx().
Chop off leading singleton dimensions.
Definition at line 114 of file Array.cc.
References dim_vector::resize().
Referenced by octave_lazy_index::squeeze(), MArray< Complex >::squeeze(), boolNDArray::squeeze(), charNDArray::squeeze(), and octave_matrix::squeeze().
|
inline |
Definition at line 97 of file MDiagArray2.h.
Referenced by DiagMatrix::transpose(), FloatDiagMatrix::transpose(), ComplexDiagMatrix::transpose(), and FloatComplexDiagMatrix::transpose().
|
inlineinherited |
Definition at line 158 of file DiagArray2.h.
|
inlineinherited |
Definition at line 353 of file Array.h.
Referenced by intNDArray< T >::abs(), SparseBoolMatrix::any(), DiagArray2< T >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), Cell::delete_elements(), DiagArray2< Complex >::dgxelem(), Array< T >::diag(), dmsolve_extract(), children_property::do_init_children(), do_num2cell(), do_numeric_lookup(), do_object2cell(), children_property::do_set(), Array< octave_value >::elem(), elem_xpow(), RowVector::extract(), ColumnVector::extract(), FloatRowVector::extract(), FloatColumnVector::extract(), RowVector::extract_n(), ColumnVector::extract_n(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), Fcomplex(), octave_fields::fieldnames(), cdef_object_array::fill_empty_values(), find_nonzero_elem_idx(), Flookup(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), Gamd(), Gaudiowrite(), base_lu< lu_type >::getp(), Array< T >::hermitian(), idx_vector::idx_vector_rep::idx_vector_rep(), CHOL::init(), FloatCHOL::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), octave_value::int_vector_value(), idx_vector::inverse_permutation(), is_handle(), is_handle_visible(), kron(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), map_2_xlog2(), octave_value::octave_idx_type_vector_value(), octave_jit_paren_scalar(), octave_jit_paren_scalar_subsasgn(), octave_jit_paren_subsasgn_matrix_range(), octave_scalar_map::orderfields(), octave_map::orderfields(), SparseComplexQR::SparseComplexQR_rep::P(), SparseQR::SparseQR_rep::P(), base_lu< lu_type >::P_vec(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pc_vec(), SparseComplexQR::SparseComplexQR_rep::Pinv(), SparseQR::SparseQR_rep::Pinv(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pr_vec(), put_int(), qrsolve(), qs_search(), read_mat_binary_data(), row_norms(), intNDArray< T >::signum(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_mask_rep::sort_idx(), SparseBoolMatrix::sum(), PermMatrix::transpose(), Array< T >::transpose(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), DiagArray2< Complex >::xelem(), and xgemm().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 65 of file MDiagArray2.cc.
|
friend |
Definition at line 72 of file MDiagArray2.cc.
|
friend |
Definition at line 98 of file MDiagArray2.cc.
|
friend |
Definition at line 90 of file MDiagArray2.cc.
|
friend |
Definition at line 105 of file MDiagArray2.cc.
|
friend |
Definition at line 91 of file MDiagArray2.cc.
|
friend |
Definition at line 66 of file MDiagArray2.cc.
|
friend |
Definition at line 92 of file MDiagArray2.cc.
|
protectedinherited |
Definition at line 42 of file DiagArray2.h.
Referenced by operator*(), operator-(), and DiagArray2< Complex >::operator=().
|
protectedinherited |
Definition at line 42 of file DiagArray2.h.
Referenced by operator*(), operator-(), and DiagArray2< Complex >::operator=().
|
protectedinherited |
Definition at line 127 of file Array.h.
Referenced by Array< T >::Array(), Array< octave_value >::as_column(), Array< octave_value >::as_matrix(), Array< octave_value >::as_row(), Array< T >::find(), Array< T >::index(), Array< T >::insert(), and Array< octave_value >::operator=().
Definition at line 129 of file Array.h.
Referenced by Array< T >::Array(), Array< octave_value >::jit_array_rep(), and Array< octave_value >::operator=().
|
protectedinherited |
Definition at line 138 of file Array.h.
Referenced by Array< octave_value >::jit_slice_data(), and Array< octave_value >::operator=().
|
protectedinherited |
Definition at line 139 of file Array.h.
Referenced by Array< octave_value >::operator=().