GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Array< T >::ArrayRep Class Reference

The real representation of all arrays. More...

#include "Array.h"

Collaboration diagram for Array< T >::ArrayRep:

Public Member Functions

 ArrayRep (const ArrayRep &a)
 
 ArrayRep (octave_idx_type n)
 
 ArrayRep (octave_idx_type n, const T &val)
 
 ArrayRep (T *d, octave_idx_type l)
 
template<typename U >
 ArrayRep (U *d, octave_idx_type l)
 
 ArrayRep (void)
 
 ~ArrayRep (void)
 
octave_idx_type numel (void) const
 

Public Attributes

octave::refcount< octave_idx_typecount
 
T * data
 
octave_idx_type len
 

Private Member Functions

ArrayRepoperator= (const ArrayRep &a)
 

Detailed Description

template<typename T>
class Array< T >::ArrayRep

The real representation of all arrays.

Definition at line 132 of file Array.h.

Constructor & Destructor Documentation

◆ ArrayRep() [1/6]

template<typename T >
Array< T >::ArrayRep::ArrayRep ( T *  d,
octave_idx_type  l 
)
inline

Definition at line 140 of file Array.h.

References d.

◆ ArrayRep() [2/6]

template<typename T >
template<typename U >
Array< T >::ArrayRep::ArrayRep ( U *  d,
octave_idx_type  l 
)
inline

Definition at line 147 of file Array.h.

References d.

◆ ArrayRep() [3/6]

template<typename T >
Array< T >::ArrayRep::ArrayRep ( void  )
inline

Definition at line 156 of file Array.h.

◆ ArrayRep() [4/6]

template<typename T >
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n)
inlineexplicit

Definition at line 158 of file Array.h.

◆ ArrayRep() [5/6]

template<typename T >
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n,
const T &  val 
)
inlineexplicit

Definition at line 161 of file Array.h.

References n.

◆ ArrayRep() [6/6]

template<typename T >
Array< T >::ArrayRep::ArrayRep ( const ArrayRep a)
inline

Definition at line 167 of file Array.h.

References Array< T >::ArrayRep::data, and Array< T >::ArrayRep::len.

◆ ~ArrayRep()

template<typename T >
Array< T >::ArrayRep::~ArrayRep ( void  )
inline

Definition at line 173 of file Array.h.

Member Function Documentation

◆ numel()

template<typename T >
octave_idx_type Array< T >::ArrayRep::numel ( void  ) const
inline

Definition at line 175 of file Array.h.

References len.

◆ operator=()

template<typename T >
ArrayRep& Array< T >::ArrayRep::operator= ( const ArrayRep a)
private

Member Data Documentation

◆ count

◆ data

template<typename T >
T* Array< T >::ArrayRep::data

Definition at line 136 of file Array.h.

Referenced by Array< T >::ArrayRep::ArrayRep(), and Array< T >::maybe_economize().

◆ len

template<typename T >
octave_idx_type Array< T >::ArrayRep::len

Definition at line 137 of file Array.h.

Referenced by Array< T >::ArrayRep::ArrayRep(), and Array< T >::maybe_economize().


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