GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ColumnVector Class Reference

#include "dColVector.h"

Inheritance diagram for ColumnVector:
Collaboration diagram for ColumnVector:

Public Types

typedef bool(* compare_fcn_type) (typename ref_param< double >::type, typename ref_param< double >::type)
 
typedef ref_param< double >::type crefT
 
typedef double element_type
 
typedef octave_idx_type size_type
 Used for operator(), and returned by numel() and size() (beware: signed integer) More...
 
typedef double value_type
 

Public Member Functions

 ColumnVector (const Array< double > &a)
 
 ColumnVector (const ColumnVector &a)
 
 ColumnVector (const dim_vector &dv)
 
 ColumnVector (const MArray< double > &a)
 
 ColumnVector (octave_idx_type n)
 
 ColumnVector (octave_idx_type n, double val)
 
 ColumnVector (void)
 
OCTAVE_API ColumnVector abs (void) const
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocas_column (void) const
 Return the array as a column vector. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocas_matrix (void) const
 Return the array as a matrix. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocas_row (void) const
 Return the array as a row vector. More...
 
OCTARRAY_API void changesign (void)
 
OCTARRAY_API void clear (const dim_vector &dv)
 
void clear (octave_idx_type n)
 
void clear (octave_idx_type r, octave_idx_type c)
 
OCTARRAY_API void clear (void)
 
OCTAVE_API ColumnVector extract (octave_idx_type r1, octave_idx_type r2) const
 
OCTAVE_API ColumnVector extract_n (octave_idx_type r1, octave_idx_type n) const
 
OCTARRAY_API void fill (const double &val)
 
OCTAVE_API ColumnVectorfill (double val)
 
OCTAVE_API ColumnVectorfill (double val, octave_idx_type r1, octave_idx_type r2)
 
OCTINTERP_API Array< octave_idx_typefind (octave_idx_type, bool) const
 
OCTAVE_API Array< octave_idx_typefind (octave_idx_type, bool) const
 
MArray< double > hermitian (double(*fcn)(const double &)=nullptr) const
 
OCTARRAY_API void idx_add (const octave::idx_vector &idx, const MArray< double > &vals)
 
OCTARRAY_API void idx_add (const octave::idx_vector &idx, double val)
 Performs indexed accumulative addition. More...
 
OCTARRAY_API void idx_add_nd (const octave::idx_vector &idx, const MArray< double > &vals, int dim=-1)
 
OCTARRAY_API void idx_max (const octave::idx_vector &idx, const MArray< double > &vals)
 
OCTARRAY_API void idx_min (const octave::idx_vector &idx, const MArray< double > &vals)
 
OCTAVE_API ColumnVectorinsert (const ColumnVector &a, octave_idx_type r)
 
MArray< double > ipermute (const Array< octave_idx_type > &vec) const
 
OCTINTERP_API sortmode is_sorted_rows (sortmode) const
 
OCTAVE_API sortmode is_sorted_rows (sortmode) const
 
OCTAVE_API sortmode issorted (sortmode mode) const
 
OCTINTERP_API sortmode issorted (sortmode) const
 
OCTAVE_API sortmode issorted (sortmode) const
 
OCTINTERP_API Array< octave_idx_typelookup (const Array< octave::cdef_object > &, sortmode) const
 
OCTAVE_API Array< octave_idx_typelookup (const Array< octave::idx_vector > &, sortmode) const
 
OCTINTERP_API octave_idx_type lookup (octave::cdef_object const &, sortmode) const
 
OCTAVE_API octave_idx_type lookup (octave::idx_vector const &, sortmode) const
 
OCTARRAY_OVERRIDABLE_FUNC_API void make_unique (void)
 
OCTAVE_API double max (void) const
 
OCTAVE_API double min (void) const
 
OCTINTERP_API octave_idx_type nnz (void) const
 
OCTAVE_API octave_idx_type nnz (void) const
 
OCTINTERP_API Array< octave::cdef_objectnth_element (const octave::idx_vector &, int) const
 
OCTAVE_API Array< octave::idx_vectornth_element (const octave::idx_vector &, int) const
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type numel (void) const
 Number of elements in the array. More...
 
OCTAVE_API bool operator!= (const ColumnVector &a) const
 
ColumnVectoroperator= (const ColumnVector &a)
 
OCTAVE_API bool operator== (const ColumnVector &a) const
 
MArray< double > permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
MArray< double > reshape (const dim_vector &new_dims) const
 
void resize (octave_idx_type n, const double &rfv=0)
 
OCTINTERP_API Array< octave::cdef_objectsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
OCTAVE_API Array< octave::idx_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
OCTINTERP_API Array< octave::cdef_objectsort (int, sortmode) const
 
OCTAVE_API Array< octave::idx_vectorsort (int, sortmode) const
 
OCTINTERP_API Array< octave_idx_typesort_rows_idx (sortmode) const
 
OCTAVE_API Array< octave_idx_typesort_rows_idx (sortmode) const
 
MArray squeeze (void) const
 
OCTAVE_API ColumnVector stack (const ColumnVector &a) const
 
OCTAVE_API RowVector transpose (void) const
 
First dimension

Get the first dimension of the array (number of rows)

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type dim1 (void) const
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type rows (void) const
 
Second dimension

Get the second dimension of the array (number of columns)

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type dim2 (void) const
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type cols (void) const
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type columns (void) const
 

Protected Attributes

dim_vector m_dimensions
 
Array< double, Alloc >::ArrayRep * m_rep
 
double * m_slice_data
 
octave_idx_type m_slice_len
 

Private Member Functions

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 

Static Private Member Functions

static OCTARRAY_API void instantiation_guard ()
 
static OCTARRAY_API Array< double, Alloc >::ArrayRep * nil_rep (void)
 

Friends

OCTAVE_API ColumnVector imag (const ComplexColumnVector &a)
 
OCTAVE_API ColumnVector operator* (const DiagMatrix &a, const ColumnVector &b)
 
OCTAVE_API ColumnVector operator* (const Matrix &a, const ColumnVector &b)
 
OCTAVE_API std::ostream & operator<< (std::ostream &os, const ColumnVector &a)
 
OCTAVE_API std::istream & operator>> (std::istream &is, ColumnVector &a)
 
OCTAVE_API ColumnVector real (const ComplexColumnVector &a)
 

Third dimension

Get the third dimension of the array (number of pages)

OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocreshape (octave_idx_type nr, octave_idx_type nc) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allochermitian (double(*fcn)(const double &)=nullptr) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type dim3 (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type pages (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API size_type size (const size_type d) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API std::size_t byte_size (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API const dim_vectordims (void) const
 Return a const-reference so that dims ()(i) works efficiently. More...
 
OCTARRAY_API octave_idx_type compute_index (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_API octave_idx_type compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_API octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & xelem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT xelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & xelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT xelem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & xelem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT xelem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_API double & checkelem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_API double & checkelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_API double & checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_API double & checkelem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & elem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & elem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & elem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & elem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT elem (octave_idx_type n) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT elem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT elem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & operator() (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & operator() (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API double & operator() (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT operator() (octave_idx_type n) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT operator() (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API crefT operator() (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Alloccolumn (octave_idx_type k) const
 Extract column: A(:,k+1). More...
 
OCTARRAY_API Array< double, Allocpage (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
OCTARRAY_API Array< double, Alloclinear_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...
 
OCTARRAY_OVERRIDABLE_FUNC_API bool issquare (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API bool isempty (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API bool isvector (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API bool is_nd_vector (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API const double * data (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API double * fortran_vec (void)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API bool is_shared (void) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API int ndims (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocindex (const octave::idx_vector &i) const
 Indexing without resizing. More...
 
OCTARRAY_API Array< double, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocindex (const Array< octave::idx_vector > &ia) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocindex (const octave::idx_vector &i, bool resize_ok, const double &rfv) const
 Indexing with possible resizing and fill. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocindex (const octave::idx_vector &i, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const double &rfv) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok, const double &rfv) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< double, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok) const
 Size of the specified dimension. More...
 
virtual OCTARRAY_API double resize_fill_value (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API void resize2 (octave_idx_type nr, octave_idx_type nc, const double &rfv)
 Resizing (with fill). More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void resize2 (octave_idx_type nr, octave_idx_type nc)
 Size of the specified dimension. More...
 
OCTARRAY_API void resize1 (octave_idx_type n, const double &rfv)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void resize1 (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_API void resize (const dim_vector &dv, const double &rfv)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void resize (const dim_vector &dv)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const octave::idx_vector &i, const Array< double, Alloc > &rhs, const double &rfv)
 Indexed assignment (always with resize & fill). More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void assign (const octave::idx_vector &i, const Array< double, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< double, Alloc > &rhs, const double &rfv)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< double, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const Array< octave::idx_vector > &ia, const Array< double, Alloc > &rhs, const double &rfv)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void assign (const Array< octave::idx_vector > &ia, const Array< double, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void delete_elements (const octave::idx_vector &i)
 Deleting elements. More...
 
OCTARRAY_API void delete_elements (int dim, const octave::idx_vector &i)
 A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More...
 
OCTARRAY_API void delete_elements (const Array< octave::idx_vector > &ia)
 Dispatcher to the above two. More...
 
OCTARRAY_API Array< double, Alloc > & insert (const Array< double, Alloc > &a, const Array< octave_idx_type > &idx)
 Insert an array into another at a specified position. More...
 
OCTARRAY_API Array< double, Alloc > & insert (const Array< double, Alloc > &a, octave_idx_type r, octave_idx_type c)
 This is just a special case for idx = [r c 0 ...]. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void maybe_economize (void)
 Size of the specified dimension. More...
 
OCTARRAY_API void print_info (std::ostream &os, const std::string &prefix) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocsort (int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< double, Allocsort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
OCTARRAY_API sortmode issorted (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
OCTARRAY_API Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 Sort by rows returns only indices. More...
 
OCTARRAY_API sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
OCTARRAY_API octave_idx_type lookup (const double &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
OCTARRAY_API Array< octave_idx_typelookup (const Array< double, Alloc > &values, sortmode mode=UNSORTED) const
 Ditto, but for an array of values, specializing on the case when values are sorted. More...
 
OCTARRAY_API octave_idx_type nnz (void) const
 Count nonzero elements. More...
 
OCTARRAY_API Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
OCTARRAY_API Array< double, Allocnth_element (const octave::idx_vector &n, int dim=0) const
 Returns the n-th element in increasing order, using the same ordering as used for sort. More...
 
OCTARRAY_API Array< double, Allocdiag (octave_idx_type k=0) const
 Get the kth super or subdiagonal. More...
 
OCTARRAY_API Array< double, Allocdiag (octave_idx_type m, octave_idx_type n) const
 Size of the specified dimension. More...
 
Array< U, Amap (F fcn) const
 Apply function fcn to each element of the Array<T, Alloc>. More...
 
Array< U, Amap (U(&fcn)(double)) const
 Overloads for function references. More...
 
Array< U, Amap (U(&fcn)(const double &)) const
 Size of the specified dimension. More...
 
bool test (F fcn) const
 Generic any/all test functionality with arbitrary predicate. More...
 
bool test_any (F fcn) const
 Simpler calls. More...
 
bool test_any (bool(&fcn)(double)) const
 Overloads for function references. More...
 
bool test_any (bool(&fcn)(const double &)) const
 Size of the specified dimension. More...
 
bool test_all (F fcn) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(double)) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(const double &)) const
 Size of the specified dimension. More...
 
OCTARRAY_API bool optimize_dimensions (const dim_vector &dv)
 Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv. More...
 
static OCTARRAY_API Array< double, Alloccat (int dim, octave_idx_type n, const Array< double, Alloc > *array_list)
 Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
 

Detailed Description

Definition at line 34 of file dColVector.h.

Member Typedef Documentation

◆ compare_fcn_type

typedef bool(* Array< double , Alloc >::compare_fcn_type) (typename ref_param< double >::type, typename ref_param< double >::type)
inherited

Definition at line 240 of file Array.h.

◆ crefT

typedef ref_param<double >::type Array< double , Alloc >::crefT
inherited

Definition at line 238 of file Array.h.

◆ element_type

typedef double Array< double , Alloc >::element_type
inherited

Definition at line 230 of file Array.h.

◆ size_type

typedef octave_idx_type Array< double , Alloc >::size_type
inherited

Used for operator(), and returned by numel() and size() (beware: signed integer)

Definition at line 236 of file Array.h.

◆ value_type

typedef double Array< double , Alloc >::value_type
inherited

Definition at line 232 of file Array.h.

Constructor & Destructor Documentation

◆ ColumnVector() [1/7]

ColumnVector::ColumnVector ( void  )
inline

Definition at line 40 of file dColVector.h.

◆ ColumnVector() [2/7]

ColumnVector::ColumnVector ( octave_idx_type  n)
inlineexplicit

Definition at line 42 of file dColVector.h.

◆ ColumnVector() [3/7]

ColumnVector::ColumnVector ( const dim_vector dv)
inlineexplicit

Definition at line 45 of file dColVector.h.

◆ ColumnVector() [4/7]

ColumnVector::ColumnVector ( octave_idx_type  n,
double  val 
)
inline

Definition at line 48 of file dColVector.h.

◆ ColumnVector() [5/7]

ColumnVector::ColumnVector ( const ColumnVector a)
inline

Definition at line 51 of file dColVector.h.

◆ ColumnVector() [6/7]

ColumnVector::ColumnVector ( const MArray< double > &  a)
inline

Definition at line 53 of file dColVector.h.

◆ ColumnVector() [7/7]

ColumnVector::ColumnVector ( const Array< double > &  a)
inline

Definition at line 54 of file dColVector.h.

Member Function Documentation

◆ abs()

ColumnVector ColumnVector::abs ( void  ) const

Definition at line 131 of file dColVector.cc.

◆ as_column()

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::as_column ( void  ) const
inlineinherited

Return the array as a column vector.

Definition at line 420 of file Array.h.

◆ as_matrix()

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::as_matrix ( void  ) const
inlineinherited

Return the array as a matrix.

Definition at line 442 of file Array.h.

◆ as_row()

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::as_row ( void  ) const
inlineinherited

Return the array as a row vector.

Definition at line 431 of file Array.h.

◆ assign() [1/6]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< double , Alloc > &  rhs 
)
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 765 of file Array.h.

◆ assign() [2/6]

void Array< double , Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< double , Alloc > &  rhs,
const double &  rfv 
)
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 763 of file Array-base.cc.

◆ assign() [3/6]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::assign ( const octave::idx_vector i,
const Array< double , Alloc > &  rhs 
)
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 747 of file Array.h.

◆ assign() [4/6]

void Array< double , Alloc >::assign ( const octave::idx_vector i,
const Array< double , Alloc > &  rhs,
const double &  rfv 
)
inherited

Indexed assignment (always with resize & fill).

Definition at line 745 of file Array-base.cc.

◆ assign() [5/6]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< double , Alloc > &  rhs 
)
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 756 of file Array.h.

◆ assign() [6/6]

void Array< double , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< double , Alloc > &  rhs,
const double &  rfv 
)
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 753 of file Array-base.cc.

◆ byte_size()

OCTARRAY_OVERRIDABLE_FUNC_API std::size_t Array< double , Alloc >::byte_size ( void  ) const
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.

◆ cat()

Array< double , Alloc > Array< double , Alloc >::cat ( int  dim,
octave_idx_type  n,
const Array< double , Alloc > *  array_list 
)
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 854 of file Array-base.cc.

◆ changesign()

void MArray< double >::changesign ( void  )
inherited

Definition at line 122 of file MArray.cc.

◆ checkelem() [1/8]

double & Array< double , Alloc >::checkelem ( const Array< octave_idx_type > &  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 560 of file Array-base.cc.

◆ checkelem() [2/8]

Array< double , Alloc >::crefT Array< double , Alloc >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
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 593 of file Array-base.cc.

◆ checkelem() [3/8]

double & Array< double , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
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 556 of file Array-base.cc.

◆ checkelem() [4/8]

Array< double , Alloc >::crefT Array< double , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
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 588 of file Array-base.cc.

◆ checkelem() [5/8]

double & Array< double , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
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 558 of file Array-base.cc.

◆ checkelem() [6/8]

Array< double , Alloc >::crefT Array< double , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
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 590 of file Array-base.cc.

◆ checkelem() [7/8]

double & Array< double , Alloc >::checkelem ( octave_idx_type  n)
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 554 of file Array-base.cc.

◆ checkelem() [8/8]

Array< double , Alloc >::crefT Array< double , Alloc >::checkelem ( octave_idx_type  n) const
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 586 of file Array-base.cc.

◆ clear() [1/4]

void Array< double , Alloc >::clear ( const dim_vector dv)
inherited

Definition at line 407 of file Array-base.cc.

◆ clear() [2/4]

void ColumnVector::clear ( octave_idx_type  n)
inline

Definition at line 117 of file dColVector.h.

References Array< T, Alloc >::clear(), and n.

◆ clear() [3/4]

void Array< double , Alloc >::clear ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Definition at line 409 of file Array.h.

◆ clear() [4/4]

void Array< double , Alloc >::clear ( void  )
inherited

Definition at line 406 of file Array-base.cc.

◆ cols()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::cols ( void  ) const
inlineinherited

Definition at line 469 of file Array.h.

◆ column()

Array< double , Alloc > Array< double , Alloc >::column ( octave_idx_type  k) const
inherited

Extract column: A(:,k+1).

Definition at line 625 of file Array-base.cc.

◆ columns()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::columns ( void  ) const
inlineinherited

Definition at line 471 of file Array.h.

◆ compute_index() [1/3]

octave_idx_type Array< double , Alloc >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
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 514 of file Array-base.cc.

◆ compute_index() [2/3]

octave_idx_type Array< double , Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const
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 510 of file Array-base.cc.

◆ compute_index() [3/3]

octave_idx_type Array< double , Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
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 512 of file Array-base.cc.

◆ compute_index_unchecked()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
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 517 of file Array.h.

◆ data()

OCTARRAY_OVERRIDABLE_FUNC_API const double * Array< double , Alloc >::data ( void  ) const
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 663 of file Array.h.

◆ delete_elements() [1/3]

void Array< double , Alloc >::delete_elements ( const Array< octave::idx_vector > &  ia)
inherited

Dispatcher to the above two.

Definition at line 781 of file Array-base.cc.

◆ delete_elements() [2/3]

void Array< double , Alloc >::delete_elements ( const octave::idx_vector i)
inherited

Deleting elements.

A(I) = [] (with a single subscript)

Definition at line 775 of file Array-base.cc.

◆ delete_elements() [3/3]

void Array< double , Alloc >::delete_elements ( int  dim,
const octave::idx_vector i 
)
inherited

A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)

Definition at line 778 of file Array-base.cc.

◆ diag() [1/2]

Array< double , Alloc > Array< double , Alloc >::diag ( octave_idx_type  k = 0) const
inherited

Get the kth super or subdiagonal.

The zeroth diagonal is the ordinary diagonal.

Definition at line 845 of file Array-base.cc.

◆ diag() [2/2]

Array< double , Alloc > Array< double , Alloc >::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
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 847 of file Array-base.cc.

◆ dim1()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::dim1 ( void  ) const
inlineinherited

Definition at line 456 of file Array.h.

◆ dim2()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::dim2 ( void  ) const
inlineinherited

Definition at line 467 of file Array.h.

◆ dim3()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::dim3 ( void  ) const
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 479 of file Array.h.

◆ dims()

OCTARRAY_OVERRIDABLE_FUNC_API const dim_vector& Array< double , Alloc >::dims ( void  ) const
inlineinherited

Return a const-reference so that dims ()(i) works efficiently.

Definition at line 503 of file Array.h.

◆ elem() [1/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::elem ( const Array< octave_idx_type > &  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 574 of file Array.h.

◆ elem() [2/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::elem ( const Array< octave_idx_type > &  ra_idx) const
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 607 of file Array.h.

◆ elem() [3/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
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 568 of file Array.h.

◆ elem() [4/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
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 599 of file Array.h.

◆ elem() [5/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
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 571 of file Array.h.

◆ elem() [6/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
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 603 of file Array.h.

◆ elem() [7/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::elem ( octave_idx_type  n)
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 562 of file Array.h.

◆ elem() [8/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::elem ( octave_idx_type  n) const
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 595 of file Array.h.

◆ extract()

ColumnVector ColumnVector::extract ( octave_idx_type  r1,
octave_idx_type  r2 
) const

◆ extract_n()

ColumnVector ColumnVector::extract_n ( octave_idx_type  r1,
octave_idx_type  n 
) const

Definition at line 166 of file dColVector.cc.

References Array< double >::elem(), n, and Array< T, Alloc >::xelem().

Referenced by xform2cam().

◆ fill() [1/3]

void Array< double , Alloc >::fill ( const double &  val)
inherited

Definition at line 404 of file Array-base.cc.

◆ fill() [2/3]

ColumnVector & ColumnVector::fill ( double  val)

Definition at line 77 of file dColVector.cc.

Referenced by qp().

◆ fill() [3/3]

ColumnVector & ColumnVector::fill ( double  val,
octave_idx_type  r1,
octave_idx_type  r2 
)

◆ find() [1/3]

Array< octave_idx_type > Array< double , Alloc >::find ( octave_idx_type  n = -1,
bool  backward = false 
) const
inherited

Find indices of (at most n) nonzero elements.

If n is specified, backward specifies search from backward.

Definition at line 835 of file Array-base.cc.

◆ find() [2/3]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::find ( octave_idx_type  ,
bool   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ find() [3/3]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::find ( octave_idx_type  ,
bool   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ fortran_vec()

double * Array< double , Alloc >::fortran_vec ( void  )
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 672 of file Array-base.cc.

◆ hermitian() [1/2]

Array< double , Alloc > Array< double , Alloc >::hermitian ( double (*)(const double &)  fcn = nullptr) const
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 661 of file Array-base.cc.

◆ hermitian() [2/2]

MArray<double > MArray< double >::hermitian ( double (*)(const double &)  fcn = nullptr) const
inlineinherited

Definition at line 102 of file MArray.h.

◆ idx_add() [1/2]

void MArray< double >::idx_add ( const octave::idx_vector idx,
const MArray< double > &  vals 
)
inherited

Definition at line 109 of file MArray.cc.

◆ idx_add() [2/2]

void MArray< double >::idx_add ( const octave::idx_vector idx,
double  val 
)
inherited

Performs indexed accumulative addition.

Definition at line 107 of file MArray.cc.

◆ idx_add_nd()

void MArray< double >::idx_add_nd ( const octave::idx_vector idx,
const MArray< double > &  vals,
int  dim = -1 
)
inherited

Definition at line 119 of file MArray.cc.

◆ idx_max()

void MArray< double >::idx_max ( const octave::idx_vector idx,
const MArray< double > &  vals 
)
inherited

Definition at line 116 of file MArray.cc.

◆ idx_min()

void MArray< double >::idx_min ( const octave::idx_vector idx,
const MArray< double > &  vals 
)
inherited

Definition at line 113 of file MArray.cc.

◆ index() [1/9]

Array< double , Alloc > Array< double , Alloc >::index ( const Array< octave::idx_vector > &  ia) const
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 686 of file Array-base.cc.

◆ index() [2/9]

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok 
) const
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 736 of file Array.h.

◆ index() [3/9]

Array< double , Alloc > Array< double , Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok,
const double &  rfv 
) const
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 733 of file Array-base.cc.

◆ index() [4/9]

Array< double , Alloc > Array< double , Alloc >::index ( const octave::idx_vector i) const
inherited

Indexing without resizing.

Definition at line 682 of file Array-base.cc.

◆ index() [5/9]

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::index ( const octave::idx_vector i,
bool  resize_ok 
) const
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 717 of file Array.h.

◆ index() [6/9]

Array< double , Alloc > Array< double , Alloc >::index ( const octave::idx_vector i,
bool  resize_ok,
const double &  rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 715 of file Array-base.cc.

◆ index() [7/9]

Array< double , Alloc > Array< double , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j 
) const
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 684 of file Array-base.cc.

◆ index() [8/9]

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok 
) const
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 726 of file Array.h.

◆ index() [9/9]

Array< double , Alloc > Array< double , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok,
const double &  rfv 
) const
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 723 of file Array-base.cc.

◆ insert() [1/3]

Array< double , Alloc > & Array< double , Alloc >::insert ( const Array< double , Alloc > &  a,
const Array< octave_idx_type > &  idx 
)
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 789 of file Array-base.cc.

◆ insert() [2/3]

Array< double , Alloc > & Array< double , Alloc >::insert ( const Array< double , Alloc > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited

This is just a special case for idx = [r c 0 ...].

Definition at line 793 of file Array-base.cc.

◆ insert() [3/3]

◆ instantiation_guard() [1/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< int >::instantiation_guard ( )
privateinherited

Definition at line 37 of file MArray-i.cc.

◆ instantiation_guard() [2/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int8 >::instantiation_guard ( )
privateinherited

Definition at line 47 of file MArray-i.cc.

◆ instantiation_guard() [3/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int16 >::instantiation_guard ( )
privateinherited

Definition at line 48 of file MArray-i.cc.

◆ instantiation_guard() [4/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int32 >::instantiation_guard ( )
privateinherited

Definition at line 49 of file MArray-i.cc.

◆ instantiation_guard() [5/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int64 >::instantiation_guard ( )
privateinherited

Definition at line 50 of file MArray-i.cc.

◆ instantiation_guard() [6/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint8 >::instantiation_guard ( )
privateinherited

Definition at line 57 of file MArray-i.cc.

◆ instantiation_guard() [7/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint16 >::instantiation_guard ( )
privateinherited

Definition at line 58 of file MArray-i.cc.

◆ instantiation_guard() [8/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint32 >::instantiation_guard ( )
privateinherited

Definition at line 59 of file MArray-i.cc.

◆ instantiation_guard() [9/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint64 >::instantiation_guard ( )
privateinherited

Definition at line 60 of file MArray-i.cc.

◆ instantiation_guard() [10/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< short >::instantiation_guard ( )
privateinherited

Definition at line 35 of file MArray-s.cc.

◆ instantiation_guard() [11/11]

void MArray< double >::instantiation_guard
staticprivateinherited

Definition at line 125 of file MArray.cc.

◆ ipermute()

MArray<double > MArray< double >::ipermute ( const Array< octave_idx_type > &  vec) const
inlineinherited

Definition at line 94 of file MArray.h.

◆ is_nd_vector()

OCTARRAY_OVERRIDABLE_FUNC_API bool Array< double , Alloc >::is_nd_vector ( void  ) const
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 657 of file Array.h.

◆ is_shared()

OCTARRAY_OVERRIDABLE_FUNC_API bool Array< double , Alloc >::is_shared ( void  ) const
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 674 of file Array.h.

◆ is_sorted_rows() [1/3]

sortmode Array< double , Alloc >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 819 of file Array-base.cc.

◆ is_sorted_rows() [2/3]

OCTINTERP_API sortmode Array< octave::cdef_object >::is_sorted_rows ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ is_sorted_rows() [3/3]

OCTAVE_API sortmode Array< octave::idx_vector >::is_sorted_rows ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ isempty()

OCTARRAY_OVERRIDABLE_FUNC_API bool Array< double , Alloc >::isempty ( void  ) const
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 651 of file Array.h.

◆ issorted() [1/4]

OCTAVE_API sortmode Array< float >::issorted ( sortmode  mode) const
inherited

Definition at line 101 of file Array-f.cc.

◆ issorted() [2/4]

sortmode Array< double , Alloc >::issorted ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 813 of file Array-base.cc.

◆ issorted() [3/4]

OCTINTERP_API sortmode Array< octave::cdef_object >::issorted ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ issorted() [4/4]

OCTAVE_API sortmode Array< octave::idx_vector >::issorted ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ issquare()

OCTARRAY_OVERRIDABLE_FUNC_API bool Array< double , Alloc >::issquare ( void  ) const
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 648 of file Array.h.

◆ isvector()

OCTARRAY_OVERRIDABLE_FUNC_API bool Array< double , Alloc >::isvector ( void  ) const
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 654 of file Array.h.

◆ linear_slice()

Array< double , Alloc > Array< double , Alloc >::linear_slice ( octave_idx_type  lo,
octave_idx_type  up 
) const
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 632 of file Array-base.cc.

◆ lookup() [1/6]

Array< octave_idx_type > Array< double , Alloc >::lookup ( const Array< double , Alloc > &  values,
sortmode  mode = UNSORTED 
) const
inherited

Ditto, but for an array of values, specializing on the case when values are sorted.

NaNs get the value N.

Definition at line 827 of file Array-base.cc.

◆ lookup() [2/6]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::lookup ( const Array< octave::cdef_object > &  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ lookup() [3/6]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::lookup ( const Array< octave::idx_vector > &  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ lookup() [4/6]

octave_idx_type Array< double , Alloc >::lookup ( const double &  value,
sortmode  mode = UNSORTED 
) const
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 823 of file Array-base.cc.

◆ lookup() [5/6]

OCTINTERP_API octave_idx_type Array< octave::cdef_object >::lookup ( octave::cdef_object const &  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ lookup() [6/6]

OCTAVE_API octave_idx_type Array< octave::idx_vector >::lookup ( octave::idx_vector const &  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ make_unique()

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::make_unique ( void  )
inlineinherited

Definition at line 216 of file Array.h.

◆ map() [1/3]

Array<U, A> Array< double , Alloc >::map ( fcn) const
inlineinherited

Apply function fcn to each element of the Array<T, Alloc>.

This function is optimized with a manually unrolled loop.

Definition at line 865 of file Array.h.

◆ map() [2/3]

Array<U, A> Array< double , Alloc >::map ( U(&)(const double &)  fcn) const
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 910 of file Array.h.

◆ map() [3/3]

Array<U, A> Array< double , Alloc >::map ( U(&)(double )  fcn) const
inlineinherited

Overloads for function references.

Definition at line 901 of file Array.h.

◆ max()

double ColumnVector::max ( void  ) const

◆ maybe_economize()

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::maybe_economize ( void  )
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 795 of file Array.h.

◆ min()

double ColumnVector::min ( void  ) const

◆ ndims()

OCTARRAY_OVERRIDABLE_FUNC_API int Array< double , Alloc >::ndims ( void  ) const
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 677 of file Array.h.

◆ nil_rep()

Array< double , Alloc >::ArrayRep * Array< double , Alloc >::nil_rep ( void  )
staticprivateinherited

Definition at line 270 of file Array-base.cc.

◆ nnz() [1/3]

OCTINTERP_API octave_idx_type Array< octave::cdef_object >::nnz ( void  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ nnz() [2/3]

OCTAVE_API octave_idx_type Array< octave::idx_vector >::nnz ( void  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ nnz() [3/3]

octave_idx_type Array< double , Alloc >::nnz ( void  ) const
inherited

Count nonzero elements.

Definition at line 831 of file Array-base.cc.

◆ nth_element() [1/3]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::nth_element ( const octave::idx_vector ,
int   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ nth_element() [2/3]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::nth_element ( const octave::idx_vector ,
int   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ nth_element() [3/3]

Array< double , Alloc > Array< double , Alloc >::nth_element ( const octave::idx_vector n,
int  dim = 0 
) const
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 841 of file Array-base.cc.

◆ numel()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::numel ( void  ) const
inlineinherited

Number of elements in the array.

Definition at line 414 of file Array.h.

◆ operator!=()

bool ColumnVector::operator!= ( const ColumnVector a) const

Definition at line 52 of file dColVector.cc.

◆ operator()() [1/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::operator() ( const Array< octave_idx_type > &  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 583 of file Array.h.

◆ operator()() [2/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::operator() ( const Array< octave_idx_type > &  ra_idx) const
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 619 of file Array.h.

◆ operator()() [3/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
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 579 of file Array.h.

◆ operator()() [4/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
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 613 of file Array.h.

◆ operator()() [5/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
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 581 of file Array.h.

◆ operator()() [6/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
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 616 of file Array.h.

◆ operator()() [7/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::operator() ( octave_idx_type  n)
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 577 of file Array.h.

◆ operator()() [8/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::operator() ( octave_idx_type  n) const
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.

◆ operator=()

ColumnVector& ColumnVector::operator= ( const ColumnVector a)
inline

Definition at line 56 of file dColVector.h.

References MArray< T >::operator=().

◆ operator==()

bool ColumnVector::operator== ( const ColumnVector a) const

◆ optimize_dimensions()

bool Array< double , Alloc >::optimize_dimensions ( const dim_vector dv)
inherited

Returns true if this->dims () == dv, and if so, replaces this->m_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 952 of file Array-base.cc.

◆ page()

Array< double , Alloc > Array< double , Alloc >::page ( octave_idx_type  k) const
inherited

Extract page: A(:,:,k+1).

Definition at line 627 of file Array-base.cc.

◆ pages()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::pages ( void  ) const
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 481 of file Array.h.

◆ permute()

MArray<double > MArray< double >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const
inlineinherited

Definition at line 90 of file MArray.h.

◆ print_info()

void Array< double , Alloc >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
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 806 of file Array-base.cc.

◆ reshape() [1/2]

MArray<double > MArray< double >::reshape ( const dim_vector new_dims) const
inlineinherited

Definition at line 87 of file MArray.h.

◆ reshape() [2/2]

OCTARRAY_OVERRIDABLE_FUNC_API Array<double , Alloc> Array< double , Alloc >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const
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 635 of file Array.h.

◆ resize() [1/3]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::resize ( const dim_vector dv)
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 704 of file Array.h.

◆ resize() [2/3]

void Array< double , Alloc >::resize ( const dim_vector dv,
const double &  rfv 
)
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 703 of file Array-base.cc.

◆ resize() [3/3]

◆ resize1() [1/2]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::resize1 ( octave_idx_type  n)
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 700 of file Array.h.

◆ resize1() [2/2]

void Array< double , Alloc >::resize1 ( octave_idx_type  n,
const double &  rfv 
)
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 699 of file Array-base.cc.

◆ resize2() [1/2]

OCTARRAY_OVERRIDABLE_FUNC_API void Array< double , Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc 
)
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 694 of file Array.h.

◆ resize2() [2/2]

void Array< double , Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc,
const double &  rfv 
)
inherited

Resizing (with fill).

Definition at line 693 of file Array-base.cc.

◆ resize_fill_value()

double Array< double , Alloc >::resize_fill_value ( void  ) const
virtualinherited

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-base.cc.

◆ rows()

OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< double , Alloc >::rows ( void  ) const
inlineinherited

Definition at line 459 of file Array.h.

◆ size()

OCTARRAY_OVERRIDABLE_FUNC_API size_type Array< double , Alloc >::size ( const size_type  d) const
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 492 of file Array.h.

◆ sort() [1/6]

Array< double , Alloc > Array< double , Alloc >::sort ( Array< octave_idx_type > &  sidx,
int  dim = 0,
sortmode  mode = ASCENDING 
) const
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 809 of file Array-base.cc.

◆ sort() [2/6]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::sort ( Array< octave_idx_type > &  sidx,
int  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort() [3/6]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::sort ( Array< octave_idx_type > &  sidx,
int  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ sort() [4/6]

Array< double , Alloc > Array< double , Alloc >::sort ( int  dim = 0,
sortmode  mode = ASCENDING 
) const
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 808 of file Array-base.cc.

◆ sort() [5/6]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::sort ( int  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort() [6/6]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::sort ( int  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ sort_rows_idx() [1/3]

Array< octave_idx_type > Array< double , Alloc >::sort_rows_idx ( sortmode  mode = ASCENDING) const
inherited

Sort by rows returns only indices.

Definition at line 816 of file Array-base.cc.

◆ sort_rows_idx() [2/3]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::sort_rows_idx ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort_rows_idx() [3/3]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::sort_rows_idx ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ squeeze()

MArray MArray< double >::squeeze ( void  ) const
inlineinherited

Definition at line 97 of file MArray.h.

◆ stack()

ColumnVector ColumnVector::stack ( const ColumnVector a) const

Definition at line 114 of file dColVector.cc.

References insert(), len, Array< T, Alloc >::numel(), and Array< double >::numel().

◆ test()

bool Array< double , Alloc >::test ( fcn) const
inlineinherited

Generic any/all test functionality with arbitrary predicate.

Definition at line 916 of file Array.h.

◆ test_all() [1/3]

bool Array< double , Alloc >::test_all ( bool(&)(const double &)  fcn) const
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 943 of file Array.h.

◆ test_all() [2/3]

bool Array< double , Alloc >::test_all ( bool(&)(double )  fcn) const
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 940 of file Array.h.

◆ test_all() [3/3]

bool Array< double , Alloc >::test_all ( fcn) const
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 928 of file Array.h.

◆ test_any() [1/3]

bool Array< double , Alloc >::test_any ( bool(&)(const double &)  fcn) const
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 937 of file Array.h.

◆ test_any() [2/3]

bool Array< double , Alloc >::test_any ( bool(&)(double )  fcn) const
inlineinherited

Overloads for function references.

Definition at line 934 of file Array.h.

◆ test_any() [3/3]

bool Array< double , Alloc >::test_any ( fcn) const
inlineinherited

Simpler calls.

Definition at line 924 of file Array.h.

◆ transpose()

RowVector ColumnVector::transpose ( void  ) const

Definition at line 125 of file dColVector.cc.

References MArray< T >::transpose().

Referenced by qp(), and xform2cam().

◆ xelem() [1/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::xelem ( const Array< octave_idx_type > &  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 544 of file Array.h.

◆ xelem() [2/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::xelem ( const Array< octave_idx_type > &  ra_idx) const
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 548 of file Array.h.

◆ xelem() [3/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
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 530 of file Array.h.

◆ xelem() [4/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
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 533 of file Array.h.

◆ xelem() [5/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
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.

◆ xelem() [6/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
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 540 of file Array.h.

◆ xelem() [7/8]

OCTARRAY_OVERRIDABLE_FUNC_API double & Array< double , Alloc >::xelem ( octave_idx_type  n)
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 524 of file Array.h.

◆ xelem() [8/8]

OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< double , Alloc >::xelem ( octave_idx_type  n) const
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 526 of file Array.h.

Friends And Related Function Documentation

◆ imag

OCTAVE_API ColumnVector imag ( const ComplexColumnVector a)
friend

Definition at line 143 of file dColVector.cc.

◆ operator* [1/2]

OCTAVE_API ColumnVector operator* ( const DiagMatrix a,
const ColumnVector b 
)
friend

Definition at line 214 of file dColVector.cc.

◆ operator* [2/2]

OCTAVE_API ColumnVector operator* ( const Matrix a,
const ColumnVector b 
)
friend

Definition at line 179 of file dColVector.cc.

◆ operator<<

OCTAVE_API std::ostream& operator<< ( std::ostream &  os,
const ColumnVector a 
)
friend

Definition at line 276 of file dColVector.cc.

◆ operator>>

OCTAVE_API std::istream& operator>> ( std::istream &  is,
ColumnVector a 
)
friend

Definition at line 286 of file dColVector.cc.

◆ real

OCTAVE_API ColumnVector real ( const ComplexColumnVector a)
friend

Definition at line 137 of file dColVector.cc.

Member Data Documentation

◆ m_dimensions

dim_vector Array< double , Alloc >::m_dimensions
protectedinherited

Definition at line 245 of file Array.h.

◆ m_rep

Array<double , Alloc>::ArrayRep* Array< double , Alloc >::m_rep
protectedinherited

Definition at line 247 of file Array.h.

◆ m_slice_data

double * Array< double , Alloc >::m_slice_data
protectedinherited

Definition at line 256 of file Array.h.

◆ m_slice_len

octave_idx_type Array< double , Alloc >::m_slice_len
protectedinherited

Definition at line 257 of file Array.h.


The documentation for this class was generated from the following files: