Template for two dimensional diagonal array with math operators. More...
#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 |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef T | value_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... | |
void | clear (const dim_vector &dv) |
void | clear (octave_idx_type r, octave_idx_type c) |
void | clear (void) |
void | fill (const T &val) |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
sortmode | is_sorted_rows (sortmode) const |
OCTAVE_API sortmode | issorted (sortmode mode) const |
sortmode | issorted (sortmode) const |
Array< octave_idx_type > | lookup (const Array< idx_vector > &, sortmode) const |
octave_idx_type | lookup (idx_vector const &, sortmode) const |
void | make_unique (void) |
Array< idx_vector > | nth_element (const idx_vector &, int) const |
Array< idx_vector > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
Array< idx_vector > | sort (int, sortmode) const |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
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 |
Private Member Functions | |
bool | check_idx (octave_idx_type r, octave_idx_type c) const |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
void | instantiation_guard () |
Static Private Member Functions | |
static Array< T >::ArrayRep * | nil_rep (void) |
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 > &) |
Third dimension | |
Array< T > | diag (octave_idx_type m, octave_idx_type n) const |
Size of the specified dimension. More... | |
T & | elem (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | elem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
T & | checkelem (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | checkelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
T & | operator() (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | operator() (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type n) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
T & | xelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv, const T &rfv) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv) |
Size of the specified dimension. More... | |
octave_idx_type | dim3 (void) const |
Size of the specified dimension. More... | |
octave_idx_type | pages (void) const |
Size of the specified dimension. More... | |
size_type | size (const size_type d) const |
Size of the specified dimension. More... | |
Array< T > | squeeze (void) const |
Chop off leading singleton dimensions. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Array< T > | column (octave_idx_type k) const |
Extract column: A(:,k+1). More... | |
Array< T > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
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... | |
Array< T > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Size of the specified dimension. More... | |
Array< T > | reshape (const dim_vector &new_dims) const |
Size of the specified dimension. More... | |
Array< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
Size of the specified dimension. More... | |
Array< T > | ipermute (const Array< octave_idx_type > &vec) const |
Size of the specified dimension. More... | |
bool | issquare (void) const |
Size of the specified dimension. More... | |
bool | isvector (void) const |
Size of the specified dimension. More... | |
bool | is_nd_vector (void) const |
Size of the specified dimension. More... | |
bool | is_shared (void) |
Size of the specified dimension. More... | |
Array< T > | index (const idx_vector &i) const |
Indexing without resizing. More... | |
Array< T > | index (const idx_vector &i, const idx_vector &j) const |
Size of the specified dimension. More... | |
Array< T > | index (const Array< idx_vector > &ia) const |
Size of the specified dimension. More... | |
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 |
Size of the specified dimension. More... | |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv) const |
Size of the specified dimension. More... | |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Size of the specified dimension. More... | |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv) const |
Size of the specified dimension. More... | |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok) const |
Size of the specified dimension. More... | |
virtual T | resize_fill_value (void) const |
Size of the specified dimension. More... | |
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) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n, const T &rfv) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n) |
Size of the specified dimension. More... | |
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) |
Size of the specified dimension. More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv) |
Size of the specified dimension. More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs) |
Size of the specified dimension. More... | |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv) |
Size of the specified dimension. More... | |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs) |
Size of the specified dimension. More... | |
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... | |
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... | |
void | maybe_economize (void) |
Size of the specified dimension. More... | |
void * | mex_get_data (void) const |
Give a pointer to the data in mex format. More... | |
Array< T > | sort (int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
Array< T > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
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... | |
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 > | 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... | |
template<typename U , typename F > | |
Array< U > | map (F fcn) const |
Apply function fcn to each element of the Array<T>. More... | |
template<typename U > | |
Array< U > | map (U(&fcn)(T)) const |
Overloads for function references. More... | |
template<typename U > | |
Array< U > | map (U(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
template<typename F , bool zero> | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
template<typename F > | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
bool | test_any (bool(&fcn)(T)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
template<typename F > | |
bool | test_all (F fcn) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(T)) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
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... | |
int | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
T * | jit_slice_data (void) const |
Size of the specified dimension. More... | |
octave_idx_type * | jit_dimensions (void) const |
Size of the specified dimension. More... | |
void * | jit_array_rep (void) const |
Size of the specified dimension. More... | |
static void | instantiation_guard () |
Size of the specified dimension. More... | |
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... | |
Template for two dimensional diagonal array with math operators.
Definition at line 53 of file MDiagArray2.h.
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 58 of file MDiagArray2.h.
|
inline |
Definition at line 60 of file MDiagArray2.h.
|
inline |
Definition at line 62 of file MDiagArray2.h.
|
inline |
Definition at line 65 of file MDiagArray2.h.
|
inline |
Definition at line 67 of file MDiagArray2.h.
|
inline |
Definition at line 70 of file MDiagArray2.h.
|
inlineexplicit |
Definition at line 72 of file MDiagArray2.h.
|
inline |
Definition at line 74 of file MDiagArray2.h.
|
default |
|
inline |
Definition at line 85 of file MDiagArray2.h.
References DiagArray2< T >::array_value().
Return the array as a column vector.
Definition at line 381 of file Array.h.
References Array< T >::dimensions, dim_vector::ndims(), numel(), and retval.
Return the array as a matrix.
Definition at line 401 of file Array.h.
References Array< T >::dimensions, dim_vector::ndims(), dim_vector::redim(), and retval.
Referenced by Sparse< T >::index().
Return the array as a row vector.
Definition at line 391 of file Array.h.
References Array< T >::dimensions, dim_vector::ndims(), numel(), and retval.
|
inlineinherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1267 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(), octave::err_nonconformant(), rec_index_helper::fill(), dim_vector::ndims(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inlineinherited |
|
inherited |
Indexed assignment (always with resize & fill).
Definition at line 1116 of file Array.cc.
References idx_vector::assign(), Array< T >::data(), Array< T >::dims(), octave::err_nonconformant(), idx_vector::extent(), idx_vector::fill(), idx_vector::is_colon_equiv(), idx_vector::length(), n, numel(), Array< T >::numel(), and Array< T >::reshape().
Referenced by Sparse< T >::assign(), Cell::assign(), binary_assoc_op_defun_body(), Array< T >::cat(), Sparse< T >::cat(), octave_errno::do_list(), Fgcd(), octave::profiler::tree_node::get_hierarchical(), octave::octave_jit_paren_subsasgn_matrix_range(), octave::bp_table::stop_on_err_warn_status(), base_graphics_object::values_as_struct(), and octave::error_system::warning_query().
|
inlineinherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1163 of file Array.cc.
References idx_vector::assign(), dim_vector::chop_all_singletons(), Array< T >::data(), Array< T >::dim1(), Array< T >::dim2(), Array< T >::dims(), octave::err_nonconformant(), idx_vector::extent(), idx_vector::fill(), idx_vector::is_colon_equiv(), idx_vector::length(), idx_vector::maybe_reduce(), n, dim_vector::ndims(), numel(), Array< T >::numel(), r, dim_vector::redim(), Array< T >::reshape(), idx_vector::xelem(), dim_vector::zero_by_zero(), and zero_dims_inquire().
|
inlineinherited |
Definition at line 108 of file DiagArray2.h.
|
inlineinherited |
Definition at line 98 of file DiagArray2.h.
References Array< T >::byte_size().
|
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 2630 of file Array.cc.
References Array< T >::assign(), idx_vector::colon, dim_vector::concat(), Array< T >::dims(), dim_vector::hvcat(), Array< T >::isempty(), max(), n, dim_vector::ndims(), retval, and dim_vector::zero_by_zero().
Referenced by single_type_concat().
|
privateinherited |
Definition at line 128 of file DiagArray2.cc.
References octave::err_index_out_of_range(), and r.
|
inherited |
|
inherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 212 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 246 of file Array.cc.
References compute_index(), and elem.
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 192 of file Array.cc.
References elem, octave::err_index_out_of_range(), octave::err_invalid_index(), and n.
Referenced by do_repelems(), octave::type_info::lookup_assign_op(), octave::type_info::lookup_assignany_op(), octave::type_info::lookup_binary_class_op(), octave::type_info::lookup_binary_op(), octave::type_info::lookup_cat_op(), octave::type_info::lookup_non_const_unary_op(), octave::type_info::lookup_pref_assign_conv(), octave::type_info::lookup_unary_class_op(), octave::type_info::lookup_unary_op(), octave::type_info::lookup_widening_op(), octave::type_info::register_assign_op(), octave::type_info::register_assignany_op(), octave::type_info::register_binary_class_op(), octave::type_info::register_binary_op(), octave::type_info::register_cat_op(), octave::type_info::register_non_const_unary_op(), octave::type_info::register_pref_assign_conv(), octave::type_info::register_unary_class_op(), octave::type_info::register_unary_op(), octave::type_info::register_widening_op(), and octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >::resize().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 226 of file Array.cc.
References elem, octave::err_index_out_of_range(), octave::err_invalid_index(), and n.
|
inherited |
Definition at line 93 of file DiagArray2.cc.
|
inlineinherited |
Definition at line 129 of file DiagArray2.h.
|
inherited |
Definition at line 102 of file Array.cc.
References dim_vector::chop_trailing_singletons(), and dim_vector::safe_numel().
|
inlineinherited |
|
inherited |
Definition at line 87 of file Array.cc.
Referenced by octave_char_matrix_str::cellstr_value(), ComplexColumnVector::clear(), ComplexRowVector::clear(), ColumnVector::clear(), RowVector::clear(), FloatComplexColumnVector::clear(), FloatColumnVector::clear(), FloatComplexRowVector::clear(), FloatRowVector::clear(), octave::rand::do_float_nd_array(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), octave::rand::do_nd_array(), do_num2cell_helper(), do_repelems(), octave::rand::do_vector(), octave_fields::equal_up_to_order(), octave_builtin::execute(), Array< T >::find(), Range::index(), schur< T >::init(), linspace(), octave_fields::orderfields(), qs_replace(), read_binary_data(), read_hdf5_data(), 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(), idx_vector::idx_mask_rep::sort_idx(), and octave::stream::stream_ok().
|
inlineinherited |
Definition at line 89 of file DiagArray2.h.
Referenced by SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), ComplexMatrix::append(), Matrix::append(), FloatComplexMatrix::append(), FloatMatrix::append(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::determinant(), DiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), FloatDiagMatrix::determinant(), octave_diag_matrix::do_index_op(), ComplexMatrix::insert(), Matrix::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), kron(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), operator*(), ComplexDiagMatrix::operator+=(), ComplexMatrix::operator+=(), Matrix::operator+=(), FloatComplexDiagMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), Matrix::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), ComplexDiagMatrix::operator==(), DiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), FloatDiagMatrix::operator==(), ComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), FloatDiagMatrix::row(), octave_complex_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), ComplexMatrix::stack(), Matrix::stack(), FloatComplexMatrix::stack(), FloatMatrix::stack(), and xpow().
|
inherited |
Extract column: A(:,k+1).
Definition at line 261 of file Array.cc.
References r.
Referenced by octave::call_stack::current_column(), octave::call_stack::debug_user_code_column(), and octave::base_parser::start_classdef_external_method().
|
inlineinherited |
Definition at line 90 of file DiagArray2.h.
Referenced by ComplexDiagMatrix::abs(), DiagMatrix::abs(), FloatComplexDiagMatrix::abs(), FloatDiagMatrix::abs(), octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), and octave_diag_matrix::map().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 185 of file Array.cc.
References compute_index(), and ra_idx.
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 170 of file Array.cc.
References compute_index().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 177 of file Array.cc.
References compute_index().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 463 of file Array.h.
References dim_vector::compute_index(), octave_base_value::numel(), and ra_idx.
|
inlineinherited |
Definition at line 168 of file DiagArray2.h.
References Array< T >::data().
Referenced by ComplexDiagMatrix::all_elements_are_real(), FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), MDiagArray2< T >::nnz(), ComplexDiagMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), ComplexDiagMatrix::operator==(), DiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), and FloatDiagMatrix::operator==().
|
inherited |
Dispatcher to the above two.
Definition at line 1486 of file Array.cc.
References Array< T >::numel().
|
inherited |
Deleting elements.
A(I) = [] (with a single subscript)
Definition at line 1390 of file Array.cc.
References idx_vector::complement(), octave::err_del_index_out_of_range(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_scalar(), idx_vector::length(), m, n, and numel().
Referenced by octave_map::delete_elements(), and Cell::delete_elements().
|
inherited |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)
Definition at line 1430 of file Array.cc.
References idx_vector::colon, idx_vector::complement(), octave::err_del_index_out_of_range(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), and n.
|
inlineinherited |
Definition at line 126 of file DiagArray2.h.
References Array< T >::elem().
|
inlineinherited |
Definition at line 123 of file DiagArray2.h.
References Array< T >::elem().
Referenced by kron(), operator*(), and xpow().
|
inlineinherited |
Definition at line 151 of file DiagArray2.h.
References Array< T >::xelem().
Referenced by do_gsvd(), and operator*().
|
inlineinherited |
Definition at line 154 of file DiagArray2.h.
References Array< T >::xelem().
|
inline |
Definition at line 102 of file MDiagArray2.h.
References DiagArray2< T >::extract_diag().
Referenced by do_gsvd().
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 85 of file DiagArray2.h.
|
inlineinherited |
Definition at line 86 of file DiagArray2.h.
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 431 of file Array.h.
Referenced by octave::ft_text_renderer::process_character(), and octave::ft_text_renderer::render().
|
inlineinherited |
Definition at line 100 of file DiagArray2.h.
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 510 of file Array.h.
References Array< T >::elem(), and ra_idx.
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 537 of file Array.h.
References ra_idx, and Array< T >::xelem().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 499 of file Array.h.
References n.
Referenced by ComplexMatrix::ComplexMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), Sparse< T >::Sparse(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), FloatNDArray::all_integers(), aepbalance< T >::balancing_matrix(), octave_complex_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_range::char_array_value(), octave_matrix::char_array_value(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), ComplexMatrix::column_is_real_only(), FloatComplexMatrix::column_is_real_only(), ComplexMatrix::column_max(), Matrix::column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_min(), Matrix::column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), NDArray::concat(), FloatNDArray::concat(), charNDArray::concat(), conj(), conv_to_int_array(), ddaspk_f(), ddaspk_j(), ddasrt_j(), ddassl_f(), ddassl_j(), delete_graphics_objects(), ComplexMatrix::determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), DiagArray2< T >::dgelem(), LSODE::do_integrate(), Array< T >::elem(), DiagArray2< T >::elem(), ComplexRowVector::extract(), FloatComplexRowVector::extract(), FloatRowVector::extract(), ComplexDiagMatrix::extract(), charMatrix::extract(), DiagMatrix::extract(), FloatComplexDiagMatrix::extract(), FloatDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexColumnVector::extract(), FloatColumnVector::extract(), ComplexRowVector::extract_n(), FloatComplexRowVector::extract_n(), FloatRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatColumnVector::extract_n(), F__player_play__(), F__player_playblocking__(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), DiagMatrix::fill(), qr< T >::form(), SparseComplexMatrix::fsolve(), Fsymrcm(), text::properties::get___fontsize_points__(), Givens(), FloatEIG::init(), EIG::init(), ComplexColumnVector::insert(), ColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), ComplexRowVector::insert(), RowVector::insert(), Matrix::insert(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), ComplexMatrix::ishermitian(), FloatMatrix::issymmetric(), octave_bool_matrix::load_ascii(), octave_cell::load_ascii(), octave_cell::load_binary(), octave_bool_matrix::load_hdf5(), lsode_f(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), matrix_real_probe(), SparseBoolMatrix::matrix_value(), SparseComplexMatrix::max(), SparseMatrix::max(), ComplexColumnVector::max(), ComplexRowVector::max(), FloatComplexColumnVector::max(), FloatColumnVector::max(), FloatComplexRowVector::max(), FloatRowVector::max(), SparseComplexMatrix::min(), SparseMatrix::min(), ComplexColumnVector::min(), ComplexRowVector::min(), FloatComplexColumnVector::min(), FloatColumnVector::min(), FloatComplexRowVector::min(), FloatRowVector::min(), boolMatrix::operator!(), intNDArray< T >::operator!(), PermMatrix::operator()(), operator*(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), operator<<(), operator>>(), octave::bp_table::parse_dbfunction_params(), ComplexDiagMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), read_mat_ascii_data(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), FloatDiagMatrix::row(), ComplexMatrix::row_is_real_only(), FloatComplexMatrix::row_is_real_only(), ComplexMatrix::row_max(), Matrix::row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_min(), Matrix::row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), try_cellfun_internal_ops(), text::properties::update_fontunits(), utsolve(), and x_el_div().
|
inlineinherited |
|
inherited |
Definition at line 85 of file DiagArray2.cc.
References Array< T >::elem(), and r.
|
inlineinherited |
Definition at line 116 of file DiagArray2.h.
References Array< T >::elem(), and r.
Referenced by ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::determinant(), DiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), FloatDiagMatrix::determinant(), ComplexDiagMatrix::extract(), DiagMatrix::extract(), FloatComplexDiagMatrix::extract(), FloatDiagMatrix::extract(), ComplexDiagMatrix::fill(), DiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexMatrix::insert(), Matrix::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), operator*(), ComplexMatrix::operator+=(), Matrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), Matrix::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), ComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), and FloatDiagMatrix::row().
|
inherited |
Definition at line 50 of file DiagArray2.cc.
Referenced by MDiagArray2< T >::diag(), ComplexDiagMatrix::extract_diag(), DiagMatrix::extract_diag(), FloatComplexDiagMatrix::extract_diag(), and FloatDiagMatrix::extract_diag().
|
inherited |
Definition at line 73 of file Array.cc.
References numel().
Referenced by idx_vector::idx_scalar_rep::sort_idx().
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
Definition at line 2225 of file Array.cc.
References Array< T >::clear(), Array< T >::dimensions, Array< T >::fortran_vec(), Array< T >::isempty(), n, numel(), Array< T >::numel(), Array< T >::resize2(), and retval.
Referenced by idx_vector::idx_mask_rep::as_array(), octave::profiler::tree_node::enter(), octave::load_path::package_info::find_fcn(), octave::load_path::package_info::find_method(), octave::fcn_info::fcn_info_rep::find_method(), find_nonzero_elem_idx(), octave::load_path::package_info::find_private_fcn(), octave::dynamic_library::dynlib_rep::get_instance(), octave::cdef_class::make_meta_class(), octave::load_path::package_info::methods(), octave::dynamic_library::dynlib_rep::remove_fcn_name(), and octave::split_path().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 172 of file DiagArray2.h.
References Array< T >::fortran_vec().
|
inlineinherited |
Definition at line 170 of file DiagArray2.h.
References Array< T >::fortran_vec().
Referenced by ComplexDiagMatrix::operator+=(), and FloatComplexDiagMatrix::operator+=().
|
inline |
Definition at line 106 of file MDiagArray2.h.
References DiagArray2< T >::hermitian().
Referenced by ComplexDiagMatrix::hermitian(), and FloatComplexDiagMatrix::hermitian().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 823 of file Array.cc.
References Array< T >::numel(), dim_vector::redim(), and retval.
|
inlineinherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1085 of file Array.cc.
References dim_vector::alloc(), Array< T >::dimensions, Array< T >::index(), Array< T >::numel(), dim_vector::redim(), and Array< T >::resize().
|
inherited |
Indexing without resizing.
Definition at line 698 of file Array.cc.
Referenced by ComplexMatrix::column(), FloatComplexMatrix::column(), FloatMatrix::column(), convolve(), octave_char_matrix_str::do_index_op_internal(), do_sparse_diff(), ComplexMatrix::extract(), FloatComplexMatrix::extract(), FloatMatrix::extract(), ComplexMatrix::extract_n(), FloatComplexMatrix::extract_n(), FloatMatrix::extract_n(), F__ilutp__(), find_nonzero_elem_idx(), Array< T >::index(), octave_map::index(), Sparse< T >::index(), Cell::index(), octave_print_internal(), operator*(), octave::ft_text_renderer::render(), ComplexMatrix::row(), FloatComplexMatrix::row(), and FloatMatrix::row().
|
inlineinherited |
|
inherited |
Indexing with possible resizing and fill.
Definition at line 1033 of file Array.cc.
References idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), n, numel(), Array< T >::numel(), and Array< T >::resize1().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 765 of file Array.cc.
References octave::err_index_out_of_range(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), idx_vector::maybe_reduce(), n, numel(), r, dim_vector::redim(), retval, and idx_vector::xelem().
|
inlineinherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1057 of file Array.cc.
References Array< T >::columns(), idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), r, dim_vector::redim(), Array< T >::resize2(), and Array< T >::rows().
|
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 1584 of file Array.cc.
References Array< T >::dims(), n, octave_base_value::numel(), ra_idx, and dim_vector::redim().
Referenced by octave::bp_table::add_breakpoint(), FloatComplexMatrix::append(), FloatMatrix::append(), FloatComplexRowVector::append(), FloatRowVector::append(), ComplexMatrix::append(), Matrix::append(), ComplexRowVector::append(), RowVector::append(), intNDArray< octave_uint8 >::compute_index(), NDArray::concat(), FloatNDArray::concat(), SparseMatrix::concat(), concat(), boolMatrix::insert(), boolNDArray::insert(), Cell::insert(), charMatrix::insert(), charNDArray::insert(), ComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexNDArray::insert(), FloatNDArray::insert(), intNDArray< T >::insert(), Matrix::insert(), NDArray::insert(), octave::symbol_table::parent_classes(), ComplexColumnVector::stack(), ColumnVector::stack(), FloatComplexColumnVector::stack(), FloatColumnVector::stack(), FloatComplexMatrix::stack(), FloatMatrix::stack(), ComplexMatrix::stack(), and Matrix::stack().
|
inherited |
This is just a special case for idx = [r c 0 ...].
Definition at line 1563 of file Array.cc.
References Array< T >::columns(), Array< T >::dimensions, Array< T >::ndims(), r, and Array< T >::rows().
Definition at line 97 of file Array-C.cc.
|
privateinherited |
Definition at line 168 of file Array-f.cc.
|
privateinherited |
Definition at line 97 of file Array-fC.cc.
|
privateinherited |
Definition at line 53 of file Array-i.cc.
|
privateinherited |
Definition at line 63 of file Array-i.cc.
|
privateinherited |
Definition at line 64 of file Array-i.cc.
|
privateinherited |
Definition at line 65 of file Array-i.cc.
|
privateinherited |
Definition at line 66 of file Array-i.cc.
|
privateinherited |
Definition at line 73 of file Array-i.cc.
|
privateinherited |
Definition at line 74 of file Array-i.cc.
|
privateinherited |
Definition at line 75 of file Array-i.cc.
|
privateinherited |
Definition at line 76 of file Array-i.cc.
|
privateinherited |
Definition at line 44 of file Array-idx-vec.cc.
|
privateinherited |
Definition at line 47 of file Array-s.cc.
|
staticprivateinherited |
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 567 of file Array.h.
Referenced by MArray< T >::ipermute().
bool MDiagArray2< T >::is_multiple_of_identity | ( | T | val | ) | const |
Definition at line 36 of file MDiagArray2.cc.
References len, octave::jit_convention::length, and retval.
Referenced by octave_diag_matrix::do_index_op().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 576 of file Array.h.
References dim_vector::is_nd_vector().
Referenced by dim_vector::make_nd_vector().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 587 of file Array.h.
References Array< T >::ArrayRep::count.
Referenced by mx_el_or_assign(), operator*=(), operator+=(), operator-=(), operator/=(), product_eq(), and quotient_eq().
|
inherited |
Ordering is auto-detected or can be specified.
Definition at line 2084 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted_rows(), r, safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by octave_cell::is_sorted_rows(), octave_lazy_index::is_sorted_rows(), and octave_matrix::is_sorted_rows().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 102 of file DiagArray2.h.
References numel().
Definition at line 100 of file Array-f.cc.
References ASCENDING, DESCENDING, octave::math::isnan(), n, numel(), r, and UNSORTED.
Ordering is auto-detected or can be specified.
Definition at line 2034 of file Array.cc.
References ASCENDING, DESCENDING, elem, octave_sort< T >::issorted(), n, numel(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by F__ode15__(), Fissorted(), octave_cell::issorted(), octave_lazy_index::issorted(), octave_matrix::issorted(), and Array< T >::lookup().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 570 of file Array.h.
Referenced by ComplexMatrix::ishermitian(), and FloatMatrix::issymmetric().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 574 of file Array.h.
References dim_vector::isvector().
Referenced by Ffilter(), and sizes_cmp().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 849 of file Array.h.
References Array< T >::rep.
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 847 of file Array.h.
References Array< T >::dimensions, and dim_vector::to_jit().
|
inlineinherited |
WARNING: Only call these functions from jit.
Definition at line 843 of file Array.h.
References Array< T >::ArrayRep::count, Array< T >::rep, and octave::refcount< T >::value().
Referenced by octave::octave_jit_paren_subsasgn_matrix_range().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 845 of file Array.h.
References Array< T >::slice_data.
Referenced by octave::octave_jit_paren_subsasgn_matrix_range().
|
inlineinherited |
Definition at line 94 of file DiagArray2.h.
References Array< T >::numel().
Referenced by ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), ComplexDiagMatrix::all_elements_are_real(), FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix::determinant(), DiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), FloatDiagMatrix::determinant(), ComplexDiagMatrix::fill(), DiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexMatrix::insert(), Matrix::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), operator*(), ComplexDiagMatrix::operator+=(), ComplexMatrix::operator+=(), Matrix::operator+=(), FloatComplexDiagMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), Matrix::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), ComplexDiagMatrix::operator==(), DiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), FloatDiagMatrix::operator==(), ComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), octave_complex_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), and octave_diag_matrix::save_binary().
|
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 281 of file Array.cc.
Referenced by octave_value_list::slice().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Ditto, but for an array of values, specializing on the case when values are sorted.
NaNs get the value N.
Definition at line 2166 of file Array.cc.
References ASCENDING, Array< T >::data(), DESCENDING, octave_sort< T >::descending_compare(), Array< T >::dims(), elem, Array< T >::fortran_vec(), Array< T >::issorted(), octave::math::log2(), octave_sort< T >::lookup(), octave_sort< T >::lookup_sorted(), n, numel(), Array< T >::numel(), octave_sort< T >::set_compare(), and UNSORTED.
|
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 2145 of file Array.cc.
References ASCENDING, DESCENDING, octave_sort< T >::descending_compare(), elem, octave_sort< T >::lookup(), n, numel(), octave_sort< T >::set_compare(), and UNSORTED.
Referenced by do_numeric_lookup(), Flookup(), and val_in_table().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 188 of file Array.h.
References r.
Referenced by dim_vector::chop_trailing_singletons(), dim_vector::elem(), ComplexColumnVector::fill(), ComplexMatrix::fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexRowVector::fill(), FloatMatrix::fill(), FloatRowVector::fill(), FloatColumnVector::fill(), imag(), ComplexColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexRowVector::insert(), octave::type_info::lookup_type(), octave_cell::subsasgn(), octave_struct::subsasgn(), and octave_class::subsasgn_common().
|
inlineinherited |
Apply function fcn to each element of the Array<T>.
This function is optimized with a manually unrolled loop.
Definition at line 759 of file Array.h.
References Array< T >::fortran_vec(), len, m, and numel().
Referenced by octave_base_sparse< T >::map(), octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), ComplexDiagMatrix::rcond(), DiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), FloatDiagMatrix::rcond(), octave_class::reshape(), and octave_class::resize().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 689 of file Array.h.
References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, and Array< T >::ArrayRep::len.
|
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 705 of file Array.h.
Referenced by octave_cell::mex_get_data().
|
inlineinherited |
Definition at line 104 of file DiagArray2.h.
|
inlineinherited |
|
inline |
Definition at line 90 of file MDiagArray2.h.
References d, DiagArray2< T >::data(), elem, and octave::jit_convention::length.
|
inherited |
Definition at line 42 of file Array-idx-vec.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 2306 of file Array.cc.
References ASCENDING, idx_vector::class_range, idx_vector::class_scalar, idx_vector::class_vector, DESCENDING, m, max(), min(), n, nn, octave_sort< T >::nth_element(), numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), and UNSORTED.
Referenced by Fnth_element().
|
inlineinherited |
Definition at line 96 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 139 of file DiagArray2.h.
|
inlineinherited |
Definition at line 132 of file DiagArray2.h.
|
inline |
Definition at line 79 of file MDiagArray2.h.
References DiagArray2< T >::operator=().
|
inherited |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv.
This is useful for maintaining several arrays with supposedly equal dimensions (e.g. structs in the interpreter).
Definition at line 2750 of file Array.cc.
References retval.
Referenced by octave_map::cat(), octave_map::index(), octave_map::permute(), octave_map::reshape(), octave_map::squeeze(), and octave_map::transpose().
|
inherited |
|
inlineinherited |
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 431 of file Array.cc.
References dim_vector::alloc(), dim_vector::ndims(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER_INIT, dim_vector::resize(), and retval.
Referenced by Funicode_idx(), octave_base_scalar< ST >::permute(), octave_map::permute(), octave_lazy_index::permute(), and MArray< T >::permute().
|
inlineinherited |
Definition at line 174 of file DiagArray2.h.
References Array< T >::print_info().
|
inlineinherited |
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 560 of file Array.h.
Referenced by idx_vector::idx_mask_rep::as_array(), Array< T >::assign(), Fbase64_decode(), Freshape(), Fvec(), octave_map::reshape(), Cell::reshape(), octave_base_scalar< ST >::reshape(), octave_class::reshape(), octave_lazy_index::reshape(), octave_matrix::reshape(), and MArray< T >::reshape().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 614 of file Array.h.
References Array< T >::resize().
Referenced by Array< T >::resize().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1011 of file Array.cc.
References dim_vector::any_neg(), octave::err_invalid_resize(), Array< T >::fortran_vec(), dim_vector::ndims(), dim_vector::redim(), and rec_resize_helper::resize_fill().
Referenced by DiagArray2< T >::DiagArray2(), octave::math::sparse_lu< lu_type >::sparse_lu(), octave_value_list::array_value(), octave::base64_decode(), bitopxx(), SparseMatrix::bsolve(), call_mex(), Cell::column(), ComplexMatrix::column_max(), Matrix::column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_min(), Matrix::column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), octave::regexp::compile_internal(), convert_label_position(), convert_text_position(), dmsolve(), dmsolve_permute(), octave::math::do_bessel(), do_cumminmax_red_op(), do_fft(), do_fft2(), do_fftn(), children_property::do_get_children(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), do_object2cell(), do_regexp_ptn_string_escapes(), do_regexp_rep_string_escapes(), octave::do_simple_cellfun(), octave::do_string_escapes(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), octave::tree_cell::evaluate(), extract_keyword(), F__glpk__(), F__magick_read__(), Farrayfun(), Fbsxfun(), Fcellfun(), Fdet(), Ffilter(), Fgcd(), Fget(), filter(), find_nonzero_elem_idx(), ComplexMatrix::finverse(), Matrix::finverse(), FloatComplexMatrix::finverse(), FloatMatrix::finverse(), Flu(), Frandperm(), freeze(), Fresize(), Fsize(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fwarning(), get_object_dims(), get_ra_idx(), octave::sys::glob(), ichol_t(), MArray< T >::idx_add_nd(), octave::tree_evaluator::ignored_fcn_outputs(), ilu_crout(), ilu_tp(), Array< T >::index(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), intmap_to_ov(), linspace(), octave::curl_transfer::list(), octave_bool_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), octave::make_indices(), octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), SparseComplexMatrix::max(), SparseMatrix::max(), mexCallMATLAB(), SparseComplexMatrix::min(), SparseMatrix::min(), null(), octregexp(), octave::stream_list::open_file_numbers(), octave::base_stream::oscanf(), octave::textscan_format_list::parse_char_class(), octave::type_info::register_type(), octave_map::resize(), octave_base_diag< DMT, MT >::resize(), octave_base_matrix< MT >::resize(), octave_range::resize(), octave_char_matrix_str::resize(), octave_base_sparse< T >::resize(), octave_char_matrix_sq_str::resize(), ComplexColumnVector::resize(), ComplexRowVector::resize(), ColumnVector::resize(), RowVector::resize(), FloatColumnVector::resize(), FloatRowVector::resize(), FloatComplexColumnVector::resize(), FloatComplexRowVector::resize(), DiagArray2< T >::resize(), boolMatrix::resize(), charMatrix::resize(), ComplexMatrix::resize(), FloatComplexMatrix::resize(), Matrix::resize(), FloatMatrix::resize(), charMatrix::row_as_string(), ComplexMatrix::row_max(), Matrix::row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_min(), Matrix::row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), octave::error_system::set_warning_option(), octave_class::size(), octave_base_scalar< ST >::sort(), Range::sort_internal(), octave_value_list::splice(), octave_char_matrix_str::string_vector_value(), utsolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and octave::sys::windows_glob().
|
inlineinherited |
Definition at line 158 of file DiagArray2.h.
|
inherited |
Definition at line 101 of file DiagArray2.cc.
References min(), r, and Array< T >::resize().
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 611 of file Array.h.
References n, and Array< T >::resize1().
Referenced by Array< T >::resize1().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 898 of file Array.cc.
References octave::err_invalid_resize(), Array< T >::fortran_vec(), min(), n, nn, and numel().
Referenced by Array< T >::index(), and octave::octave_jit_paren_subsasgn_impl().
|
inlineinherited |
|
inherited |
Resizing (with fill).
Definition at line 969 of file Array.cc.
References octave::err_invalid_resize(), Array< T >::fortran_vec(), min(), and r.
Referenced by Array< T >::find(), and Array< T >::index().
|
virtualinherited |
|
inlineinherited |
Definition at line 88 of file DiagArray2.h.
Referenced by ComplexDiagMatrix::abs(), DiagMatrix::abs(), FloatComplexDiagMatrix::abs(), FloatDiagMatrix::abs(), ComplexMatrix::append(), Matrix::append(), FloatComplexMatrix::append(), FloatMatrix::append(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), ComplexDiagMatrix::determinant(), DiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), FloatDiagMatrix::determinant(), do_gsvd(), octave_diag_matrix::do_index_op(), ComplexMatrix::insert(), Matrix::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), kron(), octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), operator*(), ComplexDiagMatrix::operator+=(), ComplexMatrix::operator+=(), Matrix::operator+=(), FloatComplexDiagMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), Matrix::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), ComplexDiagMatrix::operator==(), DiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), FloatDiagMatrix::operator==(), ComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), FloatDiagMatrix::row(), octave_complex_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), ComplexMatrix::stack(), Matrix::stack(), FloatComplexMatrix::stack(), FloatMatrix::stack(), and xpow().
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 442 of file Array.h.
References d.
Referenced by Fdbstatus(), octave::textscan::parse_options(), octave::bp_table::remove_breakpoint(), and octave_value::size().
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1873 of file Array.cc.
References Array< octave_idx_type >, DESCENDING, Array< T >::fortran_vec(), m, dim_vector::numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 1757 of file Array.cc.
References DESCENDING, m, dim_vector::ndims(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.
Referenced by octave::symbol_table::built_in_function_names(), octave::symbol_table::cmdline_function_names(), qr< T >::delete_col(), children_property::do_set(), octave::sys::glob(), octave::call_stack::global_variable_names(), qr< T >::insert_col(), octave::load_path::package_info::methods(), octave_cell::sort(), octave_lazy_index::sort(), octave::symbol_table::user_function_names(), octave::stack_frame::variable_names(), and octave::sys::windows_glob().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Sort by rows returns only indices.
Definition at line 2066 of file Array.cc.
References Array< octave_idx_type >, Array< T >::fortran_vec(), r, safe_comparator(), and octave_sort< T >::sort_rows().
Referenced by octave_base_diag< DMT, MT >::sort_rows_idx(), octave_base_matrix< MT >::sort_rows_idx(), octave_cell::sort_rows_idx(), octave_lazy_index::sort_rows_idx(), octave_perm_matrix::sort_rows_idx(), and octave_value::sort_rows_idx().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
Chop off leading singleton dimensions.
Definition at line 117 of file Array.cc.
References dim_vector::resize(), and retval.
Referenced by octave_lazy_index::squeeze(), octave_matrix::squeeze(), boolNDArray::squeeze(), charNDArray::squeeze(), and MArray< T >::squeeze().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 814 of file Array.h.
Referenced by FloatNDArray::all_elements_are_int_or_inf_or_nan(), FloatNDArray::all_elements_are_zero(), FloatNDArray::all_integers(), FloatNDArray::any_element_is_negative(), FloatNDArray::any_element_is_positive(), and FloatNDArray::any_element_not_one_or_zero().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Simpler calls.
Definition at line 810 of file Array.h.
Referenced by ComplexNDArray::too_large_for_float().
|
inline |
Definition at line 105 of file MDiagArray2.h.
References DiagArray2< T >::transpose().
Referenced by ComplexDiagMatrix::transpose(), DiagMatrix::transpose(), FloatComplexDiagMatrix::transpose(), and FloatDiagMatrix::transpose().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Size of the specified dimension.
Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.
Equivalent to Octave's 'size (A, DIM)'
Definition at line 469 of file Array.h.
References n.
Referenced by ComplexMatrix::ComplexMatrix(), ComplexNDArray::ComplexNDArray(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), idx_vector::idx_vector_rep::idx_vector_rep(), intNDArray< T >::abs(), SparseBoolMatrix::any(), octave_value_list::array_value(), DiagArray2< T >::array_value(), Sparse< T >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), octave::as_bool_nd_array(), dim_vector::as_column(), octave::as_nd_array(), dim_vector::as_row(), octave::type_info::assign_ops_map(), octave::type_info::assignany_ops_map(), octave::type_info::binary_ops_map(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), octave::chol2inv_internal(), Cell::column(), column_norms(), octave::type_info::compound_binary_ops_map(), DiagArray2< T >::dgxelem(), Array< T >::diag(), dmsolve_extract(), octave_map::do_cat(), do_cellslices_nda(), children_property::do_init_children(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), do_num2cell(), do_numeric_lookup(), do_object2cell(), do_rand(), do_rc_map(), children_property::do_set(), Array< T >::elem(), dim_vector::elem(), elem_xpow(), dim_vector::empty_2d(), octave_builtin::execute(), RowVector::extract(), FloatRowVector::extract(), ColumnVector::extract(), FloatColumnVector::extract(), RowVector::extract_n(), FloatRowVector::extract_n(), ColumnVector::extract_n(), FloatColumnVector::extract_n(), F__event_manager_file_dialog__(), F__event_manager_input_dialog__(), F__event_manager_list_dialog__(), F__native2unicode__(), F__unicode2native__(), Famd(), Faudiowrite(), Fcellindexmat(), Fcellslices(), Fcomplex(), octave_fields::fieldnames(), ComplexColumnVector::fill(), ComplexMatrix::fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexRowVector::fill(), FloatMatrix::fill(), FloatRowVector::fill(), FloatColumnVector::fill(), octave::cdef_object_array::fill_empty_values(), find_nonzero_elem_idx(), dim_vector::first_non_singleton(), Flookup(), Fordschur(), qr< T >::form(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fstruct2cell(), octave::math::lu< T >::getp(), Array< T >::hermitian(), hex2num(), imag(), Sparse< T >::index(), ComplexColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexRowVector::insert(), idx_vector::inverse_permutation(), is_handle_visible(), dim_vector::is_nd_vector(), ishghandle(), dim_vector::isvector(), kron(), linspace(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), map_2_xlog2(), Range::matrix_value(), octave::type_info::non_const_unary_ops_map(), norm1(), octave::octave_jit_paren_scalar(), octave::octave_jit_paren_scalar_subsasgn(), octave::octave_jit_paren_subsasgn_matrix_range(), octave_scalar_map::orderfields(), octave_map::orderfields(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::P(), octave::math::lu< T >::P_vec(), octave::math::sparse_lu< lu_type >::Pc_vec(), octave_base_diag< DMT, MT >::permute(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv(), octave::math::sparse_lu< lu_type >::Pr_vec(), put_int(), qp(), 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(), Cell::string_vector_value(), SparseBoolMatrix::sum(), Array< T >::transpose(), PermMatrix::transpose(), octave::type_info::unary_ops_map(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), DiagArray2< T >::xelem(), xgemm(), and dim_vector::zero_by_zero().
|
inlineinherited |
|
inlineinherited |
Definition at line 146 of file DiagArray2.h.
References r, and Array< T >::xelem().
Referenced by ComplexDiagMatrix::inverse(), and DiagMatrix::inverse().
|
friend |
Definition at line 65 of file MDiagArray2.cc.
|
friend |
Definition at line 72 of file MDiagArray2.cc.
|
friend |
Definition at line 99 of file MDiagArray2.cc.
|
friend |
Definition at line 91 of file MDiagArray2.cc.
|
friend |
Definition at line 106 of file MDiagArray2.cc.
|
friend |
Definition at line 92 of file MDiagArray2.cc.
|
friend |
Definition at line 66 of file MDiagArray2.cc.
|
friend |
Definition at line 93 of file MDiagArray2.cc.
|
protectedinherited |
Definition at line 44 of file DiagArray2.h.
Referenced by DiagArray2< T >::operator=().
|
protectedinherited |
Definition at line 44 of file DiagArray2.h.
Referenced by DiagArray2< T >::operator=().
|
protectedinherited |
Definition at line 217 of file Array.h.
Referenced by Array< T >::Array(), Array< T >::as_column(), Array< T >::as_matrix(), Array< T >::as_row(), octave_map::cat(), ComplexNDArray::compute_index(), FloatComplexNDArray::compute_index(), FloatNDArray::compute_index(), octave_map::do_cat(), Array< T >::find(), ComplexNDArray::increment_index(), FloatComplexNDArray::increment_index(), FloatNDArray::increment_index(), Array< T >::index(), octave_map::index(), Array< T >::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), Array< T >::jit_dimensions(), Array< T >::operator=(), octave_map::permute(), octave_map::reshape(), octave_map::squeeze(), and octave_map::transpose().
Definition at line 219 of file Array.h.
Referenced by Array< T >::Array(), dim_vector::dim_vector(), dim_vector::~dim_vector(), dim_vector::all_zero(), dim_vector::any_neg(), dim_vector::any_zero(), dim_vector::chop_trailing_singletons(), dim_vector::clonerep(), dim_vector::compute_index(), dim_vector::count(), dim_vector::cum_compute_index(), dim_vector::cumulative(), dim_vector::freerep(), dim_vector::increment_index(), Array< T >::jit_array_rep(), Array< T >::jit_ref_count(), dim_vector::make_unique(), dim_vector::ndims(), Array< T >::operator=(), dim_vector::operator=(), dim_vector::redim(), dim_vector::resize(), dim_vector::resizerep(), dim_vector::to_jit(), and dim_vector::xelem().
|
protectedinherited |
Definition at line 228 of file Array.h.
Referenced by Array< T >::Array(), Array< T >::jit_slice_data(), and Array< T >::operator=().
|
protectedinherited |
Definition at line 229 of file Array.h.
Referenced by Array< T >::operator=().