#include "dNDArray.h"
Public Types | |
typedef bool(* | compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type) |
typedef ref_param< T >::type | crefT |
typedef T | element_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef T | value_type |
Public Member Functions | |
intNDArray (void) | |
intNDArray (T val) | |
intNDArray (const dim_vector &dv) | |
intNDArray (const dim_vector &dv, T val) | |
template<typename U > | |
intNDArray (const Array< U > &a) | |
template<typename U > | |
intNDArray (const MArray< U > &a) | |
template<typename U > | |
intNDArray (const intNDArray< U > &a) | |
intNDArray | abs (void) const |
boolNDArray | all (int dim=-1) const |
boolNDArray | any (int dim=-1) const |
bool | any_element_is_nan (void) const |
bool | any_element_not_one_or_zero (void) const |
Array< T > | as_column (void) const |
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... | |
size_t | byte_size (void) const |
intNDArray & | changesign (void) |
T & | checkelem (octave_idx_type n) |
T & | checkelem (octave_idx_type i, octave_idx_type j) |
T & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
T & | checkelem (const Array< octave_idx_type > &ra_idx) |
crefT | checkelem (octave_idx_type n) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
void | 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 |
intNDArray | concat (const intNDArray< T > &rb, const Array< octave_idx_type > &ra_idx) |
intNDArray | cummax (int dim=-1) const |
intNDArray | cummax (Array< octave_idx_type > &index, int dim=-1) const |
intNDArray | cummin (int dim=-1) const |
intNDArray | cummin (Array< octave_idx_type > &index, int dim=-1) const |
intNDArray | cumsum (int dim) const |
const T * | data (void) const |
intNDArray | diag (octave_idx_type k=0) const |
intNDArray | diag (octave_idx_type m, octave_idx_type n) const |
intNDArray | diff (octave_idx_type order=1, int dim=-1) const |
const dim_vector & | dims (void) const |
Return a const-reference so that dims ()(i) works efficiently. More... | |
NDArray | dsum (int dim) const |
T & | elem (octave_idx_type n) |
T & | elem (octave_idx_type i, octave_idx_type j) |
T & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
T & | elem (const Array< octave_idx_type > &ra_idx) |
crefT | elem (octave_idx_type n) const |
crefT | elem (octave_idx_type i, octave_idx_type j) const |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
void | fill (const T &val) |
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... | |
const T * | fortran_vec (void) const |
T * | fortran_vec (void) |
MArray< T > | hermitian (T(*fcn)(const T &)=nullptr) const |
void | idx_add_nd (const idx_vector &idx, const MArray< T > &vals, int dim=-1) |
void | idx_max (const idx_vector &idx, const MArray< T > &vals) |
void | idx_min (const idx_vector &idx, const MArray< T > &vals) |
intNDArray & | insert (const intNDArray< T > &a, octave_idx_type r, octave_idx_type c) |
intNDArray & | insert (const intNDArray< T > &a, const Array< octave_idx_type > &ra_idx) |
Array< T > & | insert (const Array< T > &a, const Array< octave_idx_type > &idx) |
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... | |
MArray< T > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_nd_vector (void) const |
bool | is_shared (void) |
sortmode | is_sorted (sortmode mode=UNSORTED) 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 |
bool | isempty (void) const |
template<> | |
sortmode | issorted (sortmode) const |
sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
bool | issquare (void) const |
bool | isvector (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 |
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<typename U , typename F > | |
Array< U > | map (F fcn) const |
Apply function fcn to each element of the Array<T>. More... | |
intNDArray | max (int dim=-1) const |
intNDArray | max (Array< octave_idx_type > &index, int dim=-1) const |
void | maybe_economize (void) |
void * | mex_get_data (void) const |
Give a pointer to the data in mex format. More... | |
intNDArray | min (int dim=-1) const |
intNDArray | min (Array< octave_idx_type > &index, int dim=-1) const |
int | ndims (void) const |
template<> | |
octave_idx_type | nnz (void) const |
octave_idx_type | nnz (void) const |
Count nonzero elements. More... | |
template<> | |
Array< idx_vector > | 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... | |
boolNDArray | operator! (void) const |
T & | operator() (octave_idx_type n) |
T & | operator() (octave_idx_type i, octave_idx_type j) |
T & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
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) 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 |
intNDArray & | operator= (const intNDArray< T > &a) |
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... | |
MArray< T > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
void | print_info (std::ostream &os, const std::string &prefix) const |
intNDArray | prod (int dim) const |
MArray< T > | reshape (const dim_vector &new_dims) const |
Array< T > | reshape (octave_idx_type nr, octave_idx_type nc) const |
virtual T | resize_fill_value (void) const |
intNDArray | signum (void) const |
size_type | size (const size_type d) const |
Size of the specified dimension. More... | |
template<> | |
Array< idx_vector > | sort (int, sortmode) const |
template<> | |
Array< idx_vector > | sort (Array< octave_idx_type > &sidx, 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 |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
intNDArray | squeeze (void) const |
intNDArray | sum (int dim) const |
template<typename F , bool zero> | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
intNDArray | transpose (void) const |
T & | xelem (octave_idx_type n) |
crefT | xelem (octave_idx_type n) const |
T & | xelem (octave_idx_type i, octave_idx_type j) |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
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 | idx_add (const idx_vector &idx, T val) |
Performs indexed accumulative addition. More... | |
void | idx_add (const idx_vector &idx, const MArray< T > &vals) |
Performs indexed accumulative addition. More... | |
octave_idx_type | capacity (void) const |
Number of elements in the array. More... | |
octave_idx_type | length (void) const |
Number of elements in the array. More... | |
octave_idx_type | nelem (void) const |
Number of elements in the array. More... | |
octave_idx_type | numel (void) const |
Number of elements in the array. More... | |
First dimension | |
Get the first dimension of the array (number of rows) | |
octave_idx_type | dim1 (void) const |
octave_idx_type | rows (void) const |
Second dimension | |
Get the second dimension of the array (number of columns) | |
octave_idx_type | dim2 (void) const |
octave_idx_type | cols (void) const |
octave_idx_type | columns (void) const |
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 |
Indexing without resizing. More... | |
Array< T > | index (const Array< idx_vector > &ia) const |
Indexing without resizing. 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 |
Indexing with possible resizing and fill. More... | |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< T > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Indexing with possible resizing and fill. More... | |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< T > | index (const Array< idx_vector > &ia, bool resize_ok) const |
Indexing with possible resizing and fill. 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) |
Resizing (with fill). More... | |
void | resize1 (octave_idx_type n, const T &rfv) |
Resizing (with fill). More... | |
void | resize1 (octave_idx_type n) |
Resizing (with fill). More... | |
void | resize (const dim_vector &dv, const T &rfv) |
Resizing (with fill). More... | |
void | resize (const dim_vector &dv) |
Resizing (with fill). 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) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const Array< idx_vector > &ia, const Array< T > &rhs) |
Indexed assignment (always with resize & fill). 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... | |
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 |
Overloads for function references. More... | |
template<typename F > | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
template<typename F > | |
bool | test_all (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 |
Overloads for function references. More... | |
bool | test_all (bool(&fcn)(T)) const |
Overloads for function references. More... | |
bool | test_all (bool(&fcn)(const T &)) const |
Overloads for function references. More... | |
int * | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
T * | jit_slice_data (void) const |
WARNING: Only call these functions from jit. More... | |
octave_idx_type * | jit_dimensions (void) const |
WARNING: Only call these functions from jit. More... | |
void * | jit_array_rep (void) const |
WARNING: Only call these functions from jit. More... | |
Static Public 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... | |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
Protected Attributes | |
dim_vector | dimensions |
Array< T >::ArrayRep * | rep |
T * | slice_data |
octave_idx_type | slice_len |
Definition at line 33 of file dNDArray.h.
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 41 of file intNDArray.h.
|
inline |
Definition at line 43 of file intNDArray.h.
|
inline |
Definition at line 45 of file intNDArray.h.
|
inline |
Definition at line 47 of file intNDArray.h.
|
inline |
Definition at line 51 of file intNDArray.h.
|
inline |
Definition at line 54 of file intNDArray.h.
|
inline |
Definition at line 57 of file intNDArray.h.
intNDArray< T > intNDArray< T >::abs | ( | void | ) | const |
Definition at line 181 of file intNDArray.cc.
boolNDArray intNDArray< T >::all | ( | int | dim = -1 | ) | const |
Definition at line 82 of file intNDArray.cc.
boolNDArray intNDArray< T >::any | ( | int | dim = -1 | ) | const |
Definition at line 89 of file intNDArray.cc.
|
inline |
Definition at line 67 of file intNDArray.h.
bool intNDArray< T >::any_element_not_one_or_zero | ( | void | ) | const |
Definition at line 49 of file intNDArray.cc.
Return the array as a matrix.
Definition at line 390 of file Array.h.
Referenced by Sparse< bool >::index().
|
inherited |
Indexed assignment (always with resize & fill).
Definition at line 1115 of file Array.cc.
Referenced by Cell::assign(), Sparse< bool >::assign(), octave_user_function::bind_automatic_vars(), octave_value_list::octave_value_list(), and symbol_info_list::parse_whos_line_format().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Definition at line 438 of file Array.h.
Referenced by PermMatrix::byte_size(), DiagArray2< Complex >::byte_size(), octave_cell::byte_size(), octave_perm_matrix::load_binary(), and octave_perm_matrix::save_binary().
|
inlineinherited |
|
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 2631 of file Array.cc.
Referenced by octave::single_type_concat().
|
inline |
Definition at line 74 of file intNDArray.h.
|
inherited |
Definition at line 191 of file Array.cc.
Referenced by 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(), and octave::type_info::register_widening_op().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 86 of file Array.cc.
Referenced by RowVector::clear(), FloatRowVector::clear(), ColumnVector::clear(), FloatColumnVector::clear(), ComplexRowVector::clear(), FloatComplexRowVector::clear(), ComplexColumnVector::clear(), octave_value_list::clear(), FloatComplexColumnVector::clear(), octave_fields::equal_up_to_order(), procstreambase::open(), octave_fields::orderfields(), 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 |
|
inlineinherited |
|
inlineinherited |
Definition at line 412 of file Array.h.
Referenced by octave::math::airy(), octave::math::biry(), chol2inv_internal(), ComplexMatrix::ComplexMatrix(), octave::math::do_bessel(), drawcn(), FloatComplexMatrix::FloatComplexMatrix(), Sparse< bool >::index(), LuAminusSigmaB(), mark_facets(), operator*(), octave_char_matrix_str::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), log_scaler::scale(), neg_log_scaler::scale(), stack_complex_matrix(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), qr< T >::update(), and vector_product().
|
inherited |
|
inlineinherited |
Definition at line 413 of file Array.h.
Referenced by octave::type_info::assign_ops_map(), octave::type_info::assignany_ops_map(), octave::type_info::binary_ops_map(), column_norms(), octave::type_info::compound_binary_ops_map(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), F__octave_link_file_dialog__(), F__pchip_deriv__(), Fqz(), G__voronoi__(), Gconvhulln(), max(), min(), octave::type_info::non_const_unary_ops_map(), operator*(), pr_max_internal(), pr_min_internal(), row_norms(), graphics_object::set(), octave::type_info::unary_ops_map(), lu< T >::update(), and lu< T >::update_piv().
|
static |
Definition at line 105 of file intNDArray.cc.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
intNDArray< T > intNDArray< T >::concat | ( | const intNDArray< T > & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 113 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummax | ( | int | dim = -1 | ) | const |
Definition at line 269 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummax | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 276 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummin | ( | int | dim = -1 | ) | const |
Definition at line 283 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cummin | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 290 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::cumsum | ( | int | dim | ) | const |
Definition at line 234 of file intNDArray.cc.
|
inlineinherited |
Definition at line 582 of file Array.h.
Referenced by octave_char_matrix::as_mxArray(), octave_float_complex_matrix::as_mxArray(), octave_complex_matrix::as_mxArray(), octave_float_matrix::as_mxArray(), octave_bool_matrix::as_mxArray(), octave_matrix::as_mxArray(), octave_range::as_mxArray(), Array< octave_value >::assign(), binmap(), Cell::Cell(), convert_cdata(), DiagArray2< Complex >::data(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_minmax_op(), octave::opengl_selector::draw_image(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), F__pchip_deriv__(), octave::opengl_selector::fake_text(), Fellipj(), get_array_limits(), octave::main_window::handle_edit_mfile_request(), MArray< Complex >::idx_add(), MArray< Complex >::idx_add_nd(), idx_vector::idx_mask_rep::idx_mask_rep(), MArray< Complex >::idx_max(), MArray< Complex >::idx_min(), octave_char_matrix::index_vector(), qr< T >::insert_col(), octave_value_list::octave_value_list(), operator*(), qs_preprocess(), qs_search(), octave::opengl_renderer::render_text(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_float_complex_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_float_matrix::save_binary(), octave_perm_matrix::save_binary(), octave_matrix::save_binary(), save_mat5_binary_element(), save_mat_binary_data(), log_scaler::scale(), neg_log_scaler::scale(), octave::opengl_renderer::setup_opengl_transformation(), Sparse< bool >::Sparse(), stack_complex_matrix(), unstack_complex_matrix(), lu< T >::update_piv(), vector_product(), octave::opengl_renderer::patch_tesselator::vertex(), octave::stream::write(), and write_mat5_array().
|
inherited |
Deleting elements.
A(I) = [] (with a single subscript)
Definition at line 1389 of file Array.cc.
Referenced by Cell::delete_elements(), and octave_map::delete_elements().
|
inherited |
|
inherited |
intNDArray< T > intNDArray< T >::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 66 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 73 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::diff | ( | octave_idx_type | order = 1 , |
int | dim = -1 |
||
) | const |
Definition at line 297 of file intNDArray.cc.
|
inlineinherited |
Definition at line 403 of file Array.h.
Referenced by Array< octave_value >::assign(), PermMatrix::numel(), and PermMatrix::rows().
|
inlineinherited |
Definition at line 411 of file Array.h.
Referenced by Array< octave_value >::assign(), PermMatrix::cols(), PermMatrix::columns(), PermMatrix::numel(), octave::ft_text_renderer::process_character(), and octave::ft_text_renderer::render().
|
inlineinherited |
Definition at line 420 of file Array.h.
Referenced by octave::ft_text_renderer::process_character(), and octave::ft_text_renderer::render().
|
inlineinherited |
Return a const-reference so that dims ()(i) works efficiently.
Definition at line 442 of file Array.h.
Referenced by octave::math::airy(), octave_map::assign(), Array< octave_value >::assign(), binmap(), octave::math::biry(), Array< octave_value >::cat(), charNDArray::concat(), octave_map::delete_elements(), octave::math::do_bessel(), do_inplace_bsxfun_op(), do_mm_inplace_op(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_minmax_op(), do_numeric_lookup(), octave::opengl_renderer::draw_surface(), octave_char_matrix_str::edit_display(), Fcell2struct(), Fellipj(), filter(), find_nonzero_elem_idx(), MArray< Complex >::idx_add_nd(), idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector_rep::idx_vector_rep(), if(), octave_map::index(), is_handle_visible(), is_hghandle(), octave_float_matrix::map(), octave_matrix::map(), octave_print_internal(), octcellregexp(), pattern(), octave_map::permute(), octave_cell::print_raw(), log_scaler::scale(), neg_log_scaler::scale(), sizes_cmp(), and try_cellfun_internal_ops().
NDArray intNDArray< T >::dsum | ( | int | dim | ) | const |
Definition at line 227 of file intNDArray.cc.
|
inlineinherited |
Definition at line 488 of file Array.h.
Referenced by octave::file_editor_tab::add_octave_apis(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_matrix::char_array_value(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), charNDArray::concat(), 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(), Ffunctions(), qr< T >::form(), Givens(), Gsymrcm(), EIG::init(), FloatEIG::init(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), octave_bool_matrix::load_ascii(), octave_cell::load_hdf5(), octave_bool_matrix::load_hdf5(), lsode_f(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), intNDArray< OCTAVE_INT_T >::operator!(), PermMatrix::operator()(), string_vector::operator[](), Array< octave_value >::permute(), plus_or_minus(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), graphics_object::set(), and try_cellfun_internal_ops().
|
inlineinherited |
Definition at line 494 of file Array.h.
Referenced by Array< octave_value >::elem().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 72 of file Array.cc.
Referenced by quotient(), and idx_vector::idx_scalar_rep::sort_idx().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
Definition at line 2227 of file Array.cc.
Referenced by idx_vector::idx_mask_rep::as_array(), symbol_info_list::symbol_info::display_line(), find_nonzero_elem_idx(), and symbol_info_list::parse_whos_line_format().
|
inlineinherited |
Definition at line 584 of file Array.h.
Referenced by Sparse< bool >::assign(), blkmm_internal(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), cam2xform(), idx_vector::complement(), SparseMatrix::determinant(), SparseComplexMatrix::determinant(), Matrix::determinant(), FloatMatrix::determinant(), ComplexMatrix::determinant(), FloatComplexMatrix::determinant(), do_inplace_bsxfun_op(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), DefQuad::do_integrate(), IndefQuad::do_integrate(), FloatDefQuad::do_integrate(), FloatIndefQuad::do_integrate(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mx_cumminmax_op(), do_mx_diff_op(), do_mx_inplace_op(), do_mx_minmax_op(), do_rand(), octave::base_stream::do_scanf(), octave::do_scanf_conv(), do_sm_binary_op(), do_tril(), do_triu(), chol< T >::downdate(), octave::opengl_renderer::draw_patch(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), octave_fields::equal_up_to_order(), F__dsearchn__(), F__icholt__(), F__pchip_deriv__(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), Fellipj(), filter(), find_starting_node(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), DiagArray2< Complex >::fortran_vec(), Fqz(), Matrix::fsolve(), FloatMatrix::fsolve(), ComplexMatrix::fsolve(), FloatComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), G__glpk__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudioread(), Gconvhulln(), octave::opengl_renderer::get_pixels(), gsvd< T >::ggsvd(), Gsymrcm(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ichol_t(), MArray< Complex >::idx_add_nd(), hess< T >::init(), qrp< T >::init(), schur< T >::init(), EIG::init(), FloatEIG::init(), CollocWt::init(), chol< T >::init(), qr< T >::init(), qr< T >::insert_col(), DASRT::integrate(), octave_float_complex_matrix::load_binary(), octave_complex_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_float_matrix::load_binary(), octave_bool_matrix::load_binary(), octave_perm_matrix::load_binary(), octave_matrix::load_binary(), octave_float_complex_matrix::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::ltsolve(), FloatMatrix::ltsolve(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), LuAminusSigmaB(), Array< octave_value >::nth_element(), PermMatrix::pos_power(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), read_indexed_images(), read_mat5_binary_element(), read_mat_binary_data(), octave_char_matrix_str::save_binary(), octave_bool_matrix::save_binary(), octave_float_complex_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_mat5_binary_element(), save_mat5_element_length(), Array< octave_value >::sort(), idx_vector::idx_vector_rep::sort_idx(), Range::sort_internal(), Array< octave_value >::sort_rows_idx(), octave::math::sparse_lu< lu_type >::sparse_lu(), sqrtm_utri_inplace(), sub2ind(), Sylvester(), EIG::symmetric_init(), FloatEIG::symmetric_init(), QtHandles::Utils::toRgb(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), unit_cube(), lu< T >::update(), chol< T >::update(), qr< T >::update(), lu< T >::update_piv(), Matrix::utsolve(), FloatMatrix::utsolve(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), and viridis_colormap().
|
inherited |
|
inlineinherited |
Definition at line 106 of file MArray.h.
Referenced by do_mgorth(), ComplexRowVector::hermitian(), ComplexColumnVector::hermitian(), FloatComplexRowVector::hermitian(), FloatComplexColumnVector::hermitian(), ComplexMatrix::hermitian(), FloatComplexMatrix::hermitian(), matrix_complex_probe(), and matrix_real_probe().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
static |
Definition at line 96 of file intNDArray.cc.
|
inherited |
Indexing without resizing.
Definition at line 697 of file Array.cc.
Referenced by octave_char_matrix_str::do_index_op_internal(), find_nonzero_elem_idx(), Cell::index(), octave_map::index(), octave_print_internal(), operator*(), and octave::ft_text_renderer::render().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
intNDArray< T > & intNDArray< T >::insert | ( | const intNDArray< T > & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 123 of file intNDArray.cc.
intNDArray< T > & intNDArray< T >::insert | ( | const intNDArray< T > & | a, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 132 of file intNDArray.cc.
|
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 1583 of file Array.cc.
Referenced by boolMatrix::insert(), charMatrix::insert(), boolNDArray::insert(), charNDArray::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), Matrix::insert(), FloatNDArray::insert(), intNDArray< OCTAVE_INT_T >::insert(), NDArray::insert(), Cell::insert(), and FloatComplexMatrix::insert().
|
inherited |
|
inlineinherited |
Definition at line 577 of file Array.h.
Referenced by dim_vector::make_nd_vector().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Ordering is auto-detected or can be specified.
Definition at line 2086 of file Array.cc.
Referenced by octave_lazy_index::is_sorted_rows(), and octave_matrix::is_sorted_rows().
Definition at line 565 of file Array.h.
Referenced by octave::ft_text_renderer::compute_bbox(), octave::ft_text_renderer::compute_line_xoffset(), charNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), octave::bp_table::dbstop_process_map_args(), ddaspk_f(), ddasrt_f(), ddassl_f(), do_inplace_bsxfun_op(), octave::opengl_renderer::draw_axes_planes(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), octave::opengl_renderer::draw_text_background(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__fieldnames__(), find_nonzero_elem_idx(), Fqz(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), octave_bool_matrix::load_ascii(), lsode_f(), Range::matrix_value(), Array< octave_value >::nth_element(), octave_print_internal(), octave::textscan::read_format_once(), octave::textscan::scan_string(), octave_cell::short_disp(), and octave::ft_text_renderer::text_to_pixels().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
Ordering is auto-detected or can be specified.
Definition at line 2033 of file Array.cc.
Referenced by G__ode15__(), octave_lazy_index::issorted(), and octave_matrix::issorted().
Definition at line 571 of file Array.h.
Referenced by Ffilter(), and sizes_cmp().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with numel().
length
() at the Octave interpreter. At the Octave interpreter, the function length
() returns the length of the greatest dimension. This method returns the total number of elements. Definition at line 357 of file Array.h.
Referenced by Array< octave_value >::assign(), Array< octave_value >::delete_elements(), symbol_info_list::symbol_info::display_line(), Fisguirunning(), Fprogram_invocation_name(), Array< octave_value >::index(), octave::textscan::parse_options(), symbol_info_list::parse_whos_line_format(), print_descriptor(), octave_fcn_inline::save_binary(), octave_fcn_inline::save_hdf5(), tilde_find_prefix(), and tilde_find_suffix().
|
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 280 of file Array.cc.
Referenced by octave_value_list::slice().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
Definition at line 187 of file Array.h.
Referenced by dim_vector::chop_trailing_singletons(), dim_vector::elem(), 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 optimized with a manually unrolled loop.
Definition at line 764 of file Array.h.
Referenced by if(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), DiagMatrix::rcond(), FloatDiagMatrix::rcond(), ComplexDiagMatrix::rcond(), and FloatComplexDiagMatrix::rcond().
intNDArray< T > intNDArray< T >::max | ( | int | dim = -1 | ) | const |
Definition at line 241 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 248 of file intNDArray.cc.
|
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 706 of file Array.h.
Referenced by octave_cell::mex_get_data().
intNDArray< T > intNDArray< T >::min | ( | int | dim = -1 | ) | const |
Definition at line 255 of file intNDArray.cc.
intNDArray< T > intNDArray< T >::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 262 of file intNDArray.cc.
|
inlineinherited |
Definition at line 590 of file Array.h.
Referenced by dim_vector::all_ones(), dim_vector::all_zero(), dim_vector::any_neg(), dim_vector::any_zero(), dim_vector::as_column(), dim_vector::as_row(), octave_char_matrix_str::cellstr_value(), dim_vector::chop_trailing_singletons(), dim_vector::clonerep(), dim_vector::compute_index(), dim_vector::cum_compute_index(), dim_vector::cumulative(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), do_inplace_bsxfun_op(), dim_vector::empty_2d(), Fcell2struct(), dim_vector::first_non_singleton(), MArray< Complex >::idx_add_nd(), dim_vector::increment_index(), dim_vector::is_nd_vector(), dim_vector::isvector(), dim_vector::length(), dim_vector::newrep(), dim_vector::numel(), octave_print_internal(), pr_max_internal(), octave_cell::print_raw(), dim_vector::resize(), dim_vector::resizerep(), octave_char_matrix_str::short_disp(), octave_char_matrix_str::string_value(), octave_char_matrix_str::string_vector_value(), octave_bool_matrix::try_narrowing_conversion(), and dim_vector::zero_by_zero().
|
inlineinherited |
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Count nonzero elements.
Definition at line 2212 of file Array.cc.
Referenced by idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector(), idx_vector::idx_vector_rep::idx_vector_rep(), and MatrixType::MatrixType().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
Number of elements in the array.
Definition at line 366 of file Array.h.
Referenced by octave::file_editor_tab::add_octave_apis(), octave::load_path::package_info::add_to_fcn_map(), all_ones(), any_ones(), string_vector::append(), Array< octave_value >::assign(), binmap(), QtHandles::boundingBoxToRect(), axes::properties::calc_ticklabels(), axes::properties::calc_ticks_and_lims(), QtHandles::Canvas::canvasWheelEvent(), Cell::Cell(), check_limit_vals(), PermMatrix::checkelem(), charNDArray::concat(), boolNDArray::concat(), ComplexNDArray::concat(), FloatComplexNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), intNDArray< OCTAVE_INT_T >::concat(), concat(), convert_position(), octave::tree_evaluator::convert_return_list_to_const_vector(), convert_text_position(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), octave::bp_table::dbstop_process_map_args(), decode_subscripts(), default_numeric_conversion_function(), qr< T >::delete_col(), Array< octave_value >::delete_elements(), delete_graphics_objects(), DiagArray2< Complex >::diag_length(), PermMatrix::dim1(), PermMatrix::dim2(), octave::math::do_bessel(), gh_manager::do_close_all_figures(), do_history(), do_inplace_bsxfun_op(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), DefQuad::do_integrate(), FloatDefQuad::do_integrate(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mx_inplace_op(), do_rand(), string_array_property::do_set(), text_label_property::do_set(), color_property::do_set(), children_property::do_set(), octave_sparse_params::do_set_vals(), do_sm_binary_op(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_selector::draw_text(), octave::opengl_renderer::draw_text(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), octave_fields::equal_up_to_order(), octave::file_editor_tab::exit_debug_and_clear(), extract_keyword(), F__contourc__(), F__ftp_dir__(), F__ftp_mget__(), F__magick_read__(), F__octave_link_list_dialog__(), F__pchip_deriv__(), Fdaspk(), Fdassl(), Fellipj(), Ffilter(), Fget(), finalize_r(), octave::load_path::find_all_first_of(), octave::load_path::find_file(), octave::load_path::find_first_of(), find_nonzero_elem_idx(), octave::sys::fnmatch(), for(), octave::curl_transfer::form_query_string(), Fquad(), Freset(), QtHandles::Utils::fromRgb(), QtHandles::Utils::fromStringVector(), Fspparms(), G__glpk__(), G__ode15__(), Gccolamd(), Gcolamd(), generate_completion(), octave::genpath(), get_array_limits(), get_children_limits(), get_dim_vector(), octave::get_fcn_files(), octave::load_path::dir_info::get_file_list(), get_scalar_idx(), octave::get_size(), axes::properties::get_ticklabel_extents(), octave::sys::glob(), octave::symbol_table::glob_variables(), QtHandles::hasUiControlChildren(), QtHandles::hasUiMenuChildren(), MArray< Complex >::idx_add(), MArray< Complex >::idx_max(), MArray< Complex >::idx_min(), idx_vector::idx_vector(), idx_vector::idx_vector_rep::idx_vector_rep(), if(), Array< octave_value >::index(), base_diff_alg_eqn::initialize(), ODES::initialize(), initialize_r(), qr< T >::insert_col(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), octave::math::sparse_chol< chol_type >::inverse(), is_handle_visible(), is_hghandle(), octave::regexp::is_match(), PermMatrix::isempty(), DiagArray2< Complex >::length(), octave_value_list::length(), linspace(), octave_bool_matrix::load_ascii(), octave_perm_matrix::load_binary(), octave::textscan::lookahead(), lookup_classes(), LuAminusSigmaB(), make_absolute(), octave_fcn_inline::map_value(), octave::base_url_transfer::mget_directory(), mk_tmp_hist_file(), octave::load_path::package_info::move_fcn_map(), PermMatrix::nelem(), norm1(), octave_fcn_inline::octave_fcn_inline(), octave_print_internal(), octcellregexp(), octregexp(), operator*(), octave::textscan::parse_options(), parse_save_options(), octave::load_path::path(), pattern(), PermMatrix::perm_length(), octave_base_diag< DiagMatrix, Matrix >::permute(), Sparse< bool >::permute(), Array< octave_value >::permute(), octave_fcn_inline::print_raw(), octave_struct::print_raw(), octave_scalar_struct::print_raw(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), qp(), qs_preprocess(), qs_search(), read_images(), read_indexed_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), octave::textscan::read_until(), rec_permute_helper::rec_permute_helper(), octave::sys::recursive_rmdir(), octave::symbol_table::regexp_variables(), octave::type_info::register_type(), figure::properties::remove_child(), octave::load_path::package_info::remove_fcn_map(), octave::ft_text_renderer::render(), octave::opengl_renderer::render_grid(), octave::opengl_renderer::render_tickmarks(), octave::opengl_renderer::render_ticktexts(), octave_fcn_inline::save_ascii(), octave_perm_matrix::save_ascii(), octave_fcn_inline::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_bool_matrix::save_binary(), octave_fcn_inline::save_hdf5(), octave_bool_matrix::save_hdf5(), save_mat5_binary_element(), save_mat5_element_length(), log_scaler::scale(), neg_log_scaler::scale(), octave::textscan::scan_complex(), octave::textscan::scan_string(), search_path_for_all_files(), QtHandles::Canvas::select_object(), gnuplot_graphics_toolkit::send_quit(), graphics_object::set(), annotation_dialog::set_gui_props(), octave::ft_text_renderer::set_mode(), sizes_cmp(), octave::textscan::skip_delim(), octave::textscan::skip_whitespace(), octave_value_list::slice(), octave::math::sparse_lu< lu_type >::sparse_lu(), string_array_property::string_value(), sub2ind(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_class::subsasgn_common(), text_label_property::text_label_property(), octave::sys::file_ops::tilde_expand(), tilde_find_prefix(), tilde_find_suffix(), PermMatrix::transpose(), try_cellfun_internal_ops(), octave_float_complex_matrix::try_narrowing_conversion(), octave_float_matrix::try_narrowing_conversion(), octave_complex_matrix::try_narrowing_conversion(), octave_matrix::try_narrowing_conversion(), lu< T >::update(), qr< T >::update(), hggroup::update_axis_limits(), base_properties::update_boundingbox(), lu< T >::update_piv(), array_property::validate(), vector_norm(), octave::opengl_renderer::patch_tesselator::vertex(), octave::tree_evaluator::visit_complex_for_command(), octave::sys::windows_glob(), octave::stream::write(), write_mat5_array(), write_mat5_cell_array(), octave::xzip(), and zero_dims_inquire().
boolNDArray intNDArray< T >::operator! | ( | void | ) | const |
Definition at line 37 of file intNDArray.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 59 of file intNDArray.h.
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 94 of file MArray.h.
Referenced by G__osmesa_print__(), octave::opengl_renderer::get_pixels(), and octave::ft_text_renderer::render().
|
inherited |
Definition at line 2735 of file Array.cc.
Referenced by PermMatrix::print_info(), and DiagArray2< Complex >::print_info().
intNDArray< T > intNDArray< T >::prod | ( | int | dim | ) | const |
Definition at line 213 of file intNDArray.cc.
|
inlineinherited |
Definition at line 91 of file MArray.h.
Referenced by children_property::do_set(), Ffilter(), Range::index(), and octave_matrix::reshape().
|
inlineinherited |
Definition at line 549 of file Array.h.
Referenced by idx_vector::idx_mask_rep::as_array(), Array< octave_value >::assign(), MArray< Complex >::reshape(), octave_lazy_index::reshape(), Cell::reshape(), octave_matrix::reshape(), and octave_map::reshape().
|
inherited |
Resizing (with fill).
Definition at line 1010 of file Array.cc.
Referenced by Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), octave::regexp::compile_internal(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), F__magick_read__(), Ffilter(), Fget(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), G__glpk__(), ichol_t(), MArray< Complex >::idx_add_nd(), DASRT::integrate(), octave_float_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value_list::octave_value_list(), octcellregexp(), octave::type_info::register_type(), boolMatrix::resize(), charMatrix::resize(), RowVector::resize(), string_vector::resize(), octave_value_list::resize(), FloatRowVector::resize(), ColumnVector::resize(), FloatColumnVector::resize(), ComplexRowVector::resize(), FloatComplexRowVector::resize(), ComplexColumnVector::resize(), FloatComplexColumnVector::resize(), Matrix::resize(), FloatMatrix::resize(), DiagArray2< Complex >::resize(), ComplexMatrix::resize(), FloatComplexMatrix::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(), octave_base_scalar< bool >::sort(), Range::sort_internal(), and octave::math::sparse_lu< lu_type >::sparse_lu().
|
inlineinherited |
Resizing (with fill).
Definition at line 615 of file Array.h.
Referenced by Array< octave_value >::resize().
|
inherited |
|
inlineinherited |
Resizing (with fill).
Definition at line 612 of file Array.h.
Referenced by Array< octave_value >::resize1().
|
inherited |
|
inlineinherited |
|
virtualinherited |
|
inlineinherited |
Definition at line 404 of file Array.h.
Referenced by octave::math::airy(), octave::math::biry(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), column_norms(), ComplexMatrix::ComplexMatrix(), convert_cdata(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), octave::math::do_bessel(), string_array_property::do_set(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), drawcn(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__pchip_deriv__(), find_nonzero_elem_idx(), FloatComplexMatrix::FloatComplexMatrix(), qr< T >::form(), Fqz(), G__voronoi__(), Gconvhulln(), Sparse< bool >::index(), mark_facets(), max(), min(), octave_print_internal(), operator*(), pr_max_internal(), pr_min_internal(), row_norms(), octave_char_matrix_str::save_ascii(), save_mat_ascii_data(), save_mat_binary_data(), log_scaler::scale(), neg_log_scaler::scale(), sizes_cmp(), sqrtm_utri_inplace(), stack_complex_matrix(), octave_char_matrix_str::string_vector_value(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), and vector_product().
intNDArray< T > intNDArray< T >::signum | ( | void | ) | const |
Definition at line 197 of file intNDArray.cc.
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::load_path::package_info::fcn_names(), octave::textscan::parse_options(), and octave_value::size().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 1756 of file Array.cc.
Referenced by qr< T >::delete_col(), children_property::do_set(), qr< T >::insert_col(), and octave_lazy_index::sort().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Sort by rows returns only indices.
Definition at line 2068 of file Array.cc.
Referenced by octave_perm_matrix::sort_rows_idx(), octave_lazy_index::sort_rows_idx(), octave_base_diag< DiagMatrix, Matrix >::sort_rows_idx(), and octave_value::sort_rows_idx().
|
inline |
Definition at line 105 of file intNDArray.h.
intNDArray< T > intNDArray< T >::sum | ( | int | dim | ) | const |
Definition at line 220 of file intNDArray.cc.
|
inline |
Definition at line 108 of file intNDArray.h.
|
inlineinherited |
Definition at line 458 of file Array.h.
Referenced by intNDArray< OCTAVE_INT_T >::abs(), dim_vector::as_column(), dim_vector::as_row(), octave::type_info::assign_ops_map(), octave::type_info::assignany_ops_map(), octave::type_info::binary_ops_map(), column_norms(), octave::type_info::compound_binary_ops_map(), DiagArray2< Complex >::dgxelem(), do_numeric_lookup(), dim_vector::elem(), Array< octave_value >::elem(), dim_vector::empty_2d(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), find_nonzero_elem_idx(), dim_vector::first_non_singleton(), qr< T >::form(), Gamd(), octave::math::lu< T >::getp(), idx_vector::idx_vector_rep::idx_vector_rep(), idx_vector::inverse_permutation(), dim_vector::is_nd_vector(), dim_vector::isvector(), kron(), LuAminusSigmaB(), 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< DiagMatrix, Matrix >::permute(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv(), octave::math::sparse_lu< lu_type >::Pr_vec(), put_int(), read_mat_binary_data(), row_norms(), intNDArray< OCTAVE_INT_T >::signum(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_mask_rep::sort_idx(), octave::type_info::unary_ops_map(), DiagArray2< Complex >::xelem(), octave_value_list::xelem(), and dim_vector::zero_by_zero().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
Definition at line 216 of file Array.h.
Referenced by Array< octave_value >::Array(), and Array< octave_value >::jit_dimensions().
Definition at line 218 of file Array.h.
Referenced by dim_vector::all_zero(), dim_vector::any_neg(), dim_vector::any_zero(), Array< octave_value >::Array(), 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::dim_vector(), dim_vector::freerep(), dim_vector::increment_index(), Array< octave_value >::jit_array_rep(), Array< octave_value >::jit_ref_count(), dim_vector::make_unique(), dim_vector::ndims(), dim_vector::operator=(), dim_vector::resize(), dim_vector::resizerep(), dim_vector::to_jit(), and dim_vector::xelem().
|
protectedinherited |
Definition at line 227 of file Array.h.
Referenced by Array< octave_value >::Array(), and Array< octave_value >::jit_slice_data().
|
protectedinherited |