メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

クラス テンプレートArray< T > の解説

#include <Array.h>

Array< T >に対する継承グラフ

Inheritance graph
[凡例]
Array< T >のコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public メソッド

 Array (void)
 Array (int n)
 Array (int n, const T &val)
template<class U>  Array (const Array< U > &a)
 Array (const Array< T > &a)
 Array (const dim_vector &dv)
 Array (const dim_vector &dv, const T &val)
 Array (const Array< T > &a, const dim_vector &dv)
virtual ~Array (void)
Array< T > & operator= (const Array< T > &a)
void fill (const T &val)
int capacity (void) const
int length (void) const
int nelem (void) const
int numel (void) const
int dim1 (void) const
int dim2 (void) const
int dim3 (void) const
int rows (void) const
int cols (void) const
int columns (void) const
int pages (void) const
size_t byte_size (void) const
dim_vector dims (void) const
Array< T > squeeze (void) const
void chop_trailing_singletons (void)
int compute_index (const Array< int > &ra_idx) const
range_error (const char *fcn, int n) const
T & range_error (const char *fcn, int n)
range_error (const char *fcn, int i, int j) const
T & range_error (const char *fcn, int i, int j)
range_error (const char *fcn, int i, int j, int k) const
T & range_error (const char *fcn, int i, int j, int k)
range_error (const char *fcn, const Array< int > &ra_idx) const
T & range_error (const char *fcn, const Array< int > &ra_idx)
T & xelem (int n)
xelem (int n) const
T & xelem (int i, int j)
xelem (int i, int j) const
T & xelem (int i, int j, int k)
xelem (int i, int j, int k) const
T & xelem (const Array< int > &ra_idx)
xelem (const Array< int > &ra_idx) const
T & checkelem (int n)
T & checkelem (int i, int j)
T & checkelem (int i, int j, int k)
T & checkelem (const Array< int > &ra_idx)
T & elem (int n)
T & elem (int i, int j)
T & elem (int i, int j, int k)
T & elem (const Array< int > &ra_idx)
T & operator() (int n)
T & operator() (int i, int j)
T & operator() (int i, int j, int k)
T & operator() (const Array< int > &ra_idx)
checkelem (int n) const
checkelem (int i, int j) const
checkelem (int i, int j, int k) const
checkelem (const Array< int > &ra_idx) const
elem (int n) const
elem (int i, int j) const
elem (int i, int j, int k) const
elem (const Array< int > &ra_idx) const
operator() (int n) const
operator() (int i, int j) const
operator() (int i, int j, int k) const
operator() (const Array< int > &ra_idx) const
Array< T > reshape (const dim_vector &new_dims) const
Array< T > permute (const Array< int > &vec, bool inv=false) const
Array< T > ipermute (const Array< int > &vec) const
void resize_no_fill (int n)
void resize_and_fill (int n, const T &val)
void resize_no_fill (int r, int c)
void resize_and_fill (int r, int c, const T &val)
void resize_no_fill (int r, int c, int p)
void resize_and_fill (int r, int c, int p, const T &val)
void resize_no_fill (const dim_vector &dv)
void resize_and_fill (const dim_vector &dv, const T &val)
void resize (int n)
void resize (int n, const T &val)
void resize (const dim_vector &dv)
void resize (const dim_vector &dv, const T &val)
Array< T > & insert (const Array< T > &a, int r, int c)
Array< T > & insert2 (const Array< T > &a, int r, int c)
Array< T > & insertN (const Array< T > &a, int r, int c)
Array< T > & insert (const Array< T > &a, const Array< int > &idx)
bool is_square (void) const
bool is_empty (void) const
Array< T > transpose (void) const
const T * data (void) const
const T * fortran_vec (void) const
T * fortran_vec (void)
Array< T > & qsort (int(*compare)(const void *, const void *))
int ndims (void) const
void maybe_delete_dims (void)
void clear_index (void)
void set_index (const idx_vector &i)
int index_count (void) const
idx_vectorget_idx (void) const
void maybe_delete_elements (idx_vector &i)
void maybe_delete_elements_1 (idx_vector &i)
void maybe_delete_elements_2 (idx_vector &i)
void maybe_delete_elements (idx_vector &i, idx_vector &j)
void maybe_delete_elements (idx_vector &i, idx_vector &j, idx_vector &k)
void maybe_delete_elements (Array< idx_vector > &ra_idx, const T &rfv)
Array< T > value (void)
Array< T > index (idx_vector &i, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
Array< T > index1 (idx_vector &i, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
Array< T > index2 (idx_vector &i, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
Array< T > indexN (idx_vector &i, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
Array< T > index (idx_vector &i, idx_vector &j, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
Array< T > index (Array< idx_vector > &ra_idx, int resize_ok=0, const T &rfv=resize_fill_value(T())) const
void print_info (std::ostream &os, const std::string &prefix) const

Static Public メソッド

int get_size (int r, int c)
int get_size (int r, int c, int p)
int get_size (const dim_vector &dv)

Public 変数

Array< T >::ArrayReprep
dim_vector dimensions

Protected メソッド

void make_unique (void)
void make_unique (const T &val)
 Array (T *d, int n)
 Array (T *d, const dim_vector &dv)

Protected 変数

idx_vectoridx
int idx_count

template<class T>
class Array< T >


コンストラクタとデストラクタの解説

template<class T>
Array< T >::Array T *    d,
int    n
[inline, protected]
 

Array.h150 行で定義されています。

template<class T>
Array< T >::Array T *    d,
const dim_vector   dv
[inline, protected]
 

Array.h154 行で定義されています。

template<class T>
Array< T >::Array void    [inline]
 

Array.h182 行で定義されています。

template<class T>
Array< T >::Array int    n [inline, explicit]
 

Array.h186 行で定義されています。

template<class T>
Array< T >::Array int    n,
const T &    val
[inline, explicit]
 

Array.h190 行で定義されています。

template<class T>
template<class U>
Array< T >::Array const Array< U > &    a [inline]
 

Array.h199 行で定義されています。

template<class T>
Array< T >::Array const Array< T > &    a [inline]
 

Array.h206 行で定義されています。

template<class T>
Array< T >::Array const dim_vector   dv [inline]
 

Array.h214 行で定義されています。

template<class T>
Array< T >::Array const dim_vector   dv,
const T &    val
[inline]
 

Array.h218 行で定義されています。

template<class T>
Array< T >::Array const Array< T > &    a,
const dim_vector   dv
 

Array.cc49 行で定義されています。

参照 Array< T >::ArrayRep::count, Array< T >::numel(), と Array< T >::rep.

template<class T>
Array< T >::~Array void    [virtual]
 

Array.cc60 行で定義されています。

参照 Array< T >::ArrayRep::count, Array< T >::idx, と Array< T >::rep.


メソッドの解説

template<class T>
size_t Array< T >::byte_size void    const [inline]
 

Array.h264 行で定義されています。

template<class T>
int Array< T >::capacity void    const [inline]
 

Array.h250 行で定義されています。

呼出 Array< bool >::length(), Array< T >::maybe_delete_elements(), Array< bool >::nelem(), と short_freeze().

template<class T>
T Array< T >::checkelem const Array< int > &    ra_idx const [inline]
 

Array.h398 行で定義されています。

template<class T>
T Array< T >::checkelem int    i,
int    j,
int    k
const [inline]
 

Array.h390 行で定義されています。

template<class T>
T Array< T >::checkelem int    i,
int    j
const [inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h382 行で定義されています。

template<class T>
T Array< T >::checkelem int    n const [inline]
 

Array.h374 行で定義されています。

template<class T>
T& Array< T >::checkelem const Array< int > &    ra_idx [inline]
 

Array.h339 行で定義されています。

template<class T>
T& Array< T >::checkelem int    i,
int    j,
int    k
[inline]
 

Array.h331 行で定義されています。

template<class T>
T& Array< T >::checkelem int    i,
int    j
[inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h323 行で定義されています。

template<class T>
T& Array< T >::checkelem int    n [inline]
 

Array.h312 行で定義されています。

template<class T>
void Array< T >::chop_trailing_singletons void    [inline]
 

Array.h270 行で定義されています。

呼出 assignN().

template<class T>
void Array< T >::clear_index void   
 

Array.cc1170 行で定義されています。

参照 Array< T >::idx, と Array< T >::idx_count.

呼出 assign1(), assign2(), assignN(), と Array< T >::value().

template<class T>
int Array< T >::cols void    const [inline]
 

Array.h260 行で定義されています。

呼出 assign2(), Array< T >::insert2(), operator *(), operator+=(), operator-(), と operator-=().

template<class T>
int Array< T >::columns void    const [inline]
 

Array.h261 行で定義されています。

呼出 Array2< bool >::index(), と Array2< bool >::transpose().

template<class T>
int Array< T >::compute_index const Array< int > &    ra_idx const
 

Array.cc276 行で定義されています。

参照 Array< T >::dimensions, Array< T >::length(), と dim_vector::length().

呼出 Array< bool >::checkelem(), Array< bool >::elem(), と Array< bool >::xelem().

template<class T>
const T* Array< T >::data void    const [inline]
 

Array.h478 行で定義されています。

呼出 Array< bool >::Array(), Array< bool >::data(), Array< bool >::fortran_vec(), Array< T >::insert(), Array< T >::insertN(), operator *(), operator-(), DiagArray2< T >::resize(), Array< T >::resize_and_fill(), と Array< T >::resize_no_fill().

template<class T>
int Array< T >::dim1 void    const [inline]
 

Array.h255 行で定義されています。

呼出 DiagArray2< Complex >::checkelem(), DiagArray2< T >::checkelem(), Array< bool >::checkelem(), Array< bool >::elem(), Array< T >::index(), Array< T >::index2(), Array< bool >::is_square(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_2(), MDiagArray2< Complex >::operator MArray2(), DiagArray2< Complex >::operator()(), DiagArray2< T >::operator()(), DiagArray2< T >::resize(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), Array< bool >::rows(), Array< T >::transpose(), と Array< bool >::xelem().

template<class T>
int Array< T >::dim2 void    const [inline]
 

Array.h256 行で定義されています。

呼出 DiagArray2< Complex >::checkelem(), DiagArray2< T >::checkelem(), Array< bool >::checkelem(), Array< bool >::cols(), Array< bool >::columns(), Array< bool >::elem(), Array< T >::index(), Array< T >::index2(), Array< bool >::is_square(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_2(), MDiagArray2< Complex >::operator MArray2(), DiagArray2< Complex >::operator()(), DiagArray2< T >::operator()(), DiagArray2< T >::resize(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), Array< T >::transpose(), と Array< bool >::xelem().

template<class T>
int Array< T >::dim3 void    const [inline]
 

Array.h257 行で定義されています。

呼出 Array< bool >::checkelem(), Array< bool >::pages(), Array< T >::resize_and_fill(), と Array< T >::resize_no_fill().

template<class T>
dim_vector Array< T >::dims void    const [inline]
 

Array.h266 行で定義されています。

呼出 Array2< bool >::Array2(), Array3< T >::Array3(), ArrayN< bool >::ArrayN(), assign2(), assignN(), ArrayN< bool >::index(), Array< T >::index(), Array< T >::indexN(), Array< T >::insert(), Array< T >::insertN(), Array< T >::maybe_delete_elements(), operator+=(), operator-(), operator-=(), と Array< T >::permute().

template<class T>
T Array< T >::elem const Array< int > &    ra_idx const [inline]
 

Array.h414 行で定義されています。

template<class T>
T Array< T >::elem int    i,
int    j,
int    k
const [inline]
 

Array.h412 行で定義されています。

template<class T>
T Array< T >::elem int    i,
int    j
const [inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h410 行で定義されています。

template<class T>
T Array< T >::elem int    n const [inline]
 

Array.h408 行で定義されています。

template<class T>
T& Array< T >::elem const Array< int > &    ra_idx [inline]
 

Array.h359 行で定義されています。

template<class T>
T& Array< T >::elem int    i,
int    j,
int    k
[inline]
 

Array.h357 行で定義されています。

template<class T>
T& Array< T >::elem int    i,
int    j
[inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h355 行で定義されています。

template<class T>
T& Array< T >::elem int    n [inline]
 

Array.h349 行で定義されています。

呼出 assign1(), assign2(), assignN(), Array< bool >::checkelem(), Matrix::column_max(), ComplexMatrix::column_max(), Matrix::column_min(), ComplexMatrix::column_min(), conv_to_int_array(), Array< bool >::elem(), get_elt_idx(), Array< T >::index(), Array< T >::index1(), Array< T >::index2(), Array< T >::indexN(), QRP::init(), QR::init(), CollocWt::init(), ComplexQRP::init(), ComplexQR::init(), ComplexNDArray::insert(), Array< T >::insert(), Array< T >::insert2(), Array< T >::insertN(), NDArray::max(), ComplexNDArray::max(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_1(), Array< T >::maybe_delete_elements_2(), NDArray::min(), ComplexNDArray::min(), intNDArray< T >::operator!(), Array< bool >::operator()(), operator<<(), operator>>(), string_vector::operator[](), Array< T >::permute(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), Matrix::row_max(), ComplexMatrix::row_max(), Matrix::row_min(), ComplexMatrix::row_min(), と Array< bool >::xelem().

template<class T>
void Array< T >::fill const T &    val [inline]
 

ComplexColumnVector, ComplexDiagMatrix, ComplexMatrix, と ComplexRowVectorで再定義されています。

Array.h248 行で定義されています。

呼出 Array< bool >::Array(), ArrayN< bool >::ArrayN(), と DiagArray2< Complex >::DiagArray2().

template<class T>
T * Array< T >::fortran_vec void   
 

Array.cc1129 行で定義されています。

参照 Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, と Array< T >::rep.

template<class T>
const T* Array< T >::fortran_vec void    const [inline]
 

Array.h480 行で定義されています。

呼出 Matrix::determinant(), ComplexMatrix::determinant(), IndefQuad::do_integrate(), DefQuad::do_integrate(), Matrix::expm(), ComplexMatrix::expm(), NDArray::fourier(), Matrix::fourier(), ComplexNDArray::fourier(), ComplexMatrix::fourier(), NDArray::fourier2d(), Matrix::fourier2d(), ComplexNDArray::fourier2d(), ComplexMatrix::fourier2d(), NDArray::fourierNd(), ComplexNDArray::fourierNd(), NDArray::ifourier(), Matrix::ifourier(), ComplexNDArray::ifourier(), ComplexMatrix::ifourier(), NDArray::ifourier2d(), Matrix::ifourier2d(), ComplexNDArray::ifourier2d(), ComplexMatrix::ifourier2d(), NDArray::ifourierNd(), ComplexNDArray::ifourierNd(), QRP::init(), QR::init(), CollocWt::init(), ComplexQRP::init(), ComplexQR::init(), Matrix::inverse(), ComplexMatrix::inverse(), Matrix::lssolve(), ComplexMatrix::lssolve(), operator *(), operator-(), NLEqn::solve(), Matrix::solve(), と ComplexMatrix::solve().

template<class T>
idx_vector* Array< T >::get_idx void    const [inline]
 

Array.h503 行で定義されています。

呼出 assign1(), assign2(), assignN(), と Array< T >::value().

template<class T>
int Array< T >::get_size const dim_vector   dv [static]
 

Array.cc217 行で定義されています。

参照 dim_vector::length(), と MALLOC_OVERHEAD.

template<class T>
int Array< T >::get_size int    r,
int    c,
int    p
[static]
 

Array3< T >で再定義されています。

Array.cc171 行で定義されています。

参照 MALLOC_OVERHEAD.

template<class T>
int Array< T >::get_size int    r,
int    c
[static]
 

Array2< T >, Array2< double >, Array2< char >, Array2< Complex >, と Array2< bool >で再定義されています。

Array.cc132 行で定義されています。

参照 MALLOC_OVERHEAD.

呼出 Array< bool >::Array(), assignN(), Array3< T >::get_size(), Array2< bool >::get_size(), Array< T >::resize_and_fill(), と Array< T >::resize_no_fill().

template<class T>
Array< T > Array< T >::index Array< idx_vector > &    ra_idx,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

ArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, と ArrayN< bool >で再定義されています。

Array.cc2312 行で定義されています。

参照 all_colon_equiv(), all_ok(), any_orig_empty(), dim_vector::any_zero(), idx_vector::capacity(), dim_vector::chop_trailing_singletons(), Array< T >::dimensions, Array< T >::dims(), Array< T >::elem(), freeze(), get_elt_idx(), get_scalar_idx(), increment_index(), Array< T >::length(), dim_vector::length(), dim_vector::resize(), Array< T >::resize(), と short_freeze().

template<class T>
Array< T > Array< T >::index idx_vector   i,
idx_vector   j,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

Array2< T >, ArrayN< T >, Array2< double >, Array2< char >, Array2< Complex >, Array2< bool >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, と ArrayN< bool >で再定義されています。

Array.cc2263 行で定義されています。

参照 Array< T >::dim1(), Array< T >::dim2(), Array< T >::elem(), idx_vector::elem(), idx_vector::freeze(), idx_vector::is_colon_equiv(), Array< T >::ndims(), idx_vector::orig_empty(), と Array< T >::resize_no_fill().

template<class T>
Array< T > Array< T >::index idx_vector   i,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

Array2< T >, ArrayN< T >, Array2< double >, Array2< char >, Array2< Complex >, Array2< bool >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, と ArrayN< bool >で再定義されています。

Array.cc1933 行で定義されています。

参照 Array< T >::index1(), Array< T >::index2(), Array< T >::indexN(), dim_vector::length(), Array< T >::ndims(), と idx_vector::orig_dimensions().

呼出 ArrayN< bool >::index(), Array2< bool >::index(), Array< T >::indexN(), と Array< T >::value().

template<class T>
Array< T > Array< T >::index1 idx_vector   i,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

Array.cc1965 行で定義されています。

参照 idx_vector::elem(), Array< T >::elem(), idx_vector::freeze(), idx_vector::is_colon_equiv(), Array< T >::length(), idx_vector::one_zero_only(), idx_vector::ones_count(), Array< T >::resize_and_fill(), と Array< T >::resize_no_fill().

呼出 Array< T >::index(), と Array< T >::index2().

template<class T>
Array< T > Array< T >::index2 idx_vector   i,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

Array.cc2011 行で定義されています。

参照 Array< T >::dim1(), Array< T >::dim2(), Array< T >::elem(), idx_vector::elem(), idx_vector::freeze(), Array< T >::index1(), idx_vector::is_colon(), Array< T >::length(), liboctave_wfi_flag, Array< T >::ndims(), dim_vector::numel(), idx_vector::one_zero_only(), idx_vector::ones_count(), idx_vector::orig_columns(), idx_vector::orig_dimensions(), idx_vector::orig_rows(), と Array< T >::resize_no_fill().

呼出 Array< T >::index().

template<class T>
int Array< T >::index_count void    const [inline]
 

Array.h501 行で定義されています。

呼出 assign(), assign2(), assignN(), と Array< T >::value().

template<class T>
Array< T > Array< T >::indexN idx_vector   i,
int    resize_ok = 0,
const T &    rfv = resize_fill_value(T())
const
 

Array.cc2119 行で定義されています。

参照 dim_vector::any_zero(), dim_vector::chop_trailing_singletons(), Array< T >::dims(), Array< T >::elem(), idx_vector::elem(), idx_vector::freeze(), get_ra_idx(), increment_index(), Array< T >::index(), idx_vector::is_colon(), Array< T >::length(), dim_vector::length(), liboctave_wfi_flag, dim_vector::numel(), idx_vector::one_zero_only(), idx_vector::ones_count(), idx_vector::orig_dimensions(), Array< T >::resize(), dim_vector::resize(), と vector_equivalent().

呼出 Array< T >::index().

template<class T>
Array< T > & Array< T >::insert const Array< T > &    a,
const Array< int > &    idx
 

Array.cc1039 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::dims(), Array< T >::elem(), dim_vector::length(), Array< T >::length(), と dim_vector::numel().

template<class T>
Array< T > & Array< T >::insert const Array< T > &    a,
int    r,
int    c
 

Array.cc947 行で定義されています。

参照 Array< T >::insert2(), Array< T >::insertN(), と Array< T >::ndims().

呼出 intNDArray< T >::insert(), NDArray::insert(), ComplexNDArray::insert(), charNDArray::insert(), boolNDArray::insert(), ArrayN< bool >::insert(), と Array2< bool >::insert().

template<class T>
Array< T > & Array< T >::insert2 const Array< T > &    a,
int    r,
int    c
 

Array.cc960 行で定義されています。

参照 Array< T >::cols(), Array< T >::elem(), と Array< T >::rows().

呼出 Array< T >::insert().

template<class T>
Array< T > & Array< T >::insertN const Array< T > &    a,
int    r,
int    c
 

Array.cc980 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::dims(), Array< T >::elem(), dim_vector::length(), と Array< T >::numel().

呼出 Array< T >::insert().

template<class T>
Array<T> Array< T >::ipermute const Array< int > &    vec const [inline]
 

ArrayN< T >, MArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, ArrayN< bool >, MArrayN< double >, MArrayN< char >, と MArrayN< Complex >で再定義されています。

Array.h432 行で定義されています。

呼出 ArrayN< bool >::ipermute().

template<class T>
bool Array< T >::is_empty void    const [inline]
 

Array.h474 行で定義されています。

template<class T>
bool Array< T >::is_square void    const [inline]
 

Array.h472 行で定義されています。

template<class T>
int Array< T >::length void    const [inline]
 

Array.h251 行で定義されています。

呼出 all_colon_equiv(), all_ok(), all_ones(), any_ones(), any_orig_empty(), Array< bool >::Array(), assign1(), assign2(), assignN(), calc_permutated_idx(), Array< bool >::capacity(), Array< bool >::checkelem(), Array< T >::compute_index(), compute_index(), conv_to_int_array(), DASPK::do_integrate(), freeze(), get_elt_idx(), get_scalar_idx(), increment_index(), Array< T >::index(), Array< T >::index1(), Array< T >::index2(), index_in_bounds(), Array< T >::indexN(), Array< T >::insert(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_1(), num_ones(), operator *(), intNDArray< T >::operator!(), operator+=(), operator-(), operator-=(), Array< T >::permute(), Array< T >::range_error(), DiagArray2< T >::resize(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), short_freeze(), と vector_equivalent().

template<class T>
void Array< T >::make_unique const T &    val [inline, protected]
 

Array.h125 行で定義されています。

template<class T>
void Array< T >::make_unique void    [inline, protected]
 

Array.h116 行で定義されています。

呼出 Array< bool >::checkelem(), Array< bool >::elem(), Array< bool >::fill(), Array< bool >::qsort(), と Array< T >::squeeze().

template<class T>
void Array< T >::maybe_delete_dims void   
 

Array.cc1141 行で定義されています。

参照 Array< T >::dimensions, と dim_vector::length().

template<class T>
void Array< T >::maybe_delete_elements Array< idx_vector > &    ra_idx,
const T &    rfv
 

Array.cc1569 行で定義されています。

参照 all_ones(), dim_vector::all_zero(), Array< T >::capacity(), Array< T >::ArrayRep::count, Array< T >::dimensions, Array< T >::dims(), idx_vector::elem(), Array< T >::elem(), idx_vector::freeze(), how_many_lgt(), increment_index(), is_in(), idx_vector::length(), dim_vector::length(), Array< T >::length(), liboctave_wfi_flag, liboctave_wrore_flag, Array< T >::ndims(), dim_vector::num_ones(), num_ones(), Array< T >::numel(), Array< T >::rep, Array< T >::resize(), dim_vector::resize(), と idx_vector::sort().

template<class T>
void Array< T >::maybe_delete_elements idx_vector   i,
idx_vector   j,
idx_vector   k
 

Array.cc1562 行で定義されています。

template<class T>
void Array< T >::maybe_delete_elements idx_vector   i,
idx_vector   j
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.cc1390 行で定義されています。

参照 Array< T >::dim1(), Array< T >::dim2(), Array< T >::dimensions, Array< T >::elem(), idx_vector::elem(), idx_vector::is_colon(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::ndims(), dim_vector::resize(), Array< T >::resize_no_fill(), と idx_vector::sort().

template<class T>
void Array< T >::maybe_delete_elements idx_vector   i
 

Array.cc1207 行で定義されています。

参照 Array< T >::maybe_delete_elements_1(), Array< T >::maybe_delete_elements_2(), と Array< T >::ndims().

呼出 assign2(), と assignN().

template<class T>
void Array< T >::maybe_delete_elements_1 idx_vector   i
 

Array.cc1228 行で定義されています。

参照 Array< T >::ArrayRep::count, Array< T >::dimensions, Array< T >::elem(), idx_vector::elem(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::length(), Array< T >::rep, dim_vector::resize(), と Array< T >::resize_no_fill().

呼出 Array< T >::maybe_delete_elements().

template<class T>
void Array< T >::maybe_delete_elements_2 idx_vector   i
 

Array.cc1291 行で定義されています。

参照 Array< T >::dim1(), Array< T >::dim2(), Array< T >::dimensions, Array< T >::elem(), idx_vector::elem(), idx_vector::is_colon_equiv(), idx_vector::length(), Array< T >::ndims(), dim_vector::resize(), Array< T >::resize_no_fill(), と idx_vector::sort().

呼出 Array< T >::maybe_delete_elements().

template<class T>
int Array< T >::ndims void    const [inline]
 

Array.h493 行で定義されています。

呼出 assign(), assign2(), Array< T >::index(), Array< T >::index2(), Array< T >::insert(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_2(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), Array< T >::set_index(), Array< T >::squeeze(), と Array< T >::transpose().

template<class T>
int Array< T >::nelem void    const [inline]
 

Array.h252 行で定義されています。

呼出 Array< bool >::numel(), と operator>>().

template<class T>
int Array< T >::numel void    const [inline]
 

Array.h253 行で定義されています。

呼出 Array< T >::Array(), Array< bool >::byte_size(), intNDArray< T >::concat(), Array< T >::insertN(), Array< bool >::is_empty(), と Array< T >::maybe_delete_elements().

template<class T>
T Array< T >::operator() const Array< int > &    ra_idx const [inline]
 

Array.h426 行で定義されています。

template<class T>
T Array< T >::operator() int    i,
int    j,
int    k
const [inline]
 

Array.h425 行で定義されています。

template<class T>
T Array< T >::operator() int    i,
int    j
const [inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h424 行で定義されています。

template<class T>
T Array< T >::operator() int    n const [inline]
 

Array.h423 行で定義されています。

template<class T>
T& Array< T >::operator() const Array< int > &    ra_idx [inline]
 

Array.h371 行で定義されています。

template<class T>
T& Array< T >::operator() int    i,
int    j,
int    k
[inline]
 

Array.h370 行で定義されています。

template<class T>
T& Array< T >::operator() int    i,
int    j
[inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h369 行で定義されています。

template<class T>
T& Array< T >::operator() int    n [inline]
 

Array.h368 行で定義されています。

template<class T>
Array<T>& Array< T >::operator= const Array< T > &    a [inline]
 

Array.h229 行で定義されています。

呼出 string_vector::operator=(), MArray< Complex >::operator=(), DiagArray2< Complex >::operator=(), ArrayN< bool >::operator=(), Array3< T >::operator=(), と Array2< bool >::operator=().

template<class T>
int Array< T >::pages void    const [inline]
 

Array.h262 行で定義されています。

template<class T>
Array< T > Array< T >::permute const Array< int > &    vec,
bool    inv = false
const
 

ArrayN< T >, MArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, ArrayN< bool >, MArrayN< double >, MArrayN< char >, と MArrayN< Complex >で再定義されています。

Array.cc430 行で定義されています。

参照 calc_permutated_idx(), Array< T >::dims(), Array< T >::elem(), increment_index(), Array< T >::length(), dim_vector::length(), Array< T >::resize(), と dim_vector::resize().

呼出 Array< bool >::ipermute(), と ArrayN< bool >::permute().

template<class T>
void Array< T >::print_info std::ostream &    os,
const std::string &    prefix
const
 

Array.cc3135 行で定義されています。

参照 Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, Array< T >::ArrayRep::len, と Array< T >::rep.

template<class T>
Array<T>& Array< T >::qsort int(*    compare)(const void *, const void *) [inline]
 

Array.h484 行で定義されています。

呼出 string_vector::qsort(), と Array< bool >::qsort().

template<class T>
T & Array< T >::range_error const char *    fcn,
const Array< int > &    ra_idx
 

Array.cc383 行で定義されています。

参照 Array< T >::length(), OSSTREAM, OSSTREAM_C_STR, OSSTREAM_ENDS, と OSSTREAM_FREEZE.

template<class T>
T Array< T >::range_error const char *    fcn,
const Array< int > &    ra_idx
const
 

Array.cc356 行で定義されています。

参照 Array< T >::length(), OSSTREAM, OSSTREAM_C_STR, OSSTREAM_ENDS, と OSSTREAM_FREEZE.

template<class T>
T & Array< T >::range_error const char *    fcn,
int    i,
int    j,
int    k
 

Array.cc346 行で定義されています。

template<class T>
T Array< T >::range_error const char *    fcn,
int    i,
int    j,
int    k
const
 

Array.cc337 行で定義されています。

template<class T>
T & Array< T >::range_error const char *    fcn,
int    i,
int    j
 

Array.cc327 行で定義されています。

template<class T>
T Array< T >::range_error const char *    fcn,
int    i,
int    j
const
 

Array.cc318 行で定義されています。

template<class T>
T & Array< T >::range_error const char *    fcn,
int    n
 

Array.cc309 行で定義されています。

template<class T>
T Array< T >::range_error const char *    fcn,
int    n
const
 

Array.cc301 行で定義されています。

呼出 Array< bool >::checkelem().

template<class T>
Array< T > Array< T >::reshape const dim_vector   new_dims const
 

ArrayN< T >, MArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, ArrayN< bool >, MArrayN< double >, MArrayN< char >, と MArrayN< Complex >で再定義されています。

Array.cc411 行で定義されています。

参照 Array< T >::dimensions, と dim_vector::numel().

呼出 ArrayN< bool >::reshape().

template<class T>
void Array< T >::resize const dim_vector   dv,
const T &    val
[inline]
 

ArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, と ArrayN< bool >で再定義されています。

Array.h463 行で定義されています。

template<class T>
void Array< T >::resize const dim_vector   dv [inline]
 

ArrayN< T >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, と ArrayN< bool >で再定義されています。

Array.h461 行で定義されています。

template<class T>
void Array< T >::resize int    n,
const T &    val
[inline]
 

Array.h459 行で定義されています。

template<class T>
void Array< T >::resize int    n [inline]
 

Array.h457 行で定義されています。

呼出 assignN(), Matrix::column_max(), ComplexMatrix::column_max(), Matrix::column_min(), ComplexMatrix::column_min(), Matrix::fourier2d(), ComplexMatrix::fourier2d(), get_ra_idx(), Matrix::ifourier2d(), ComplexMatrix::ifourier2d(), Array< T >::index(), Array< T >::indexN(), QR::init(), ComplexQR::init(), ODESSA::integrate(), Matrix::inverse(), ComplexMatrix::inverse(), Matrix::lssolve(), ComplexMatrix::lssolve(), Array< T >::maybe_delete_elements(), Array< T >::permute(), ArrayN< bool >::resize(), Matrix::row_max(), ComplexMatrix::row_max(), Matrix::row_min(), ComplexMatrix::row_min(), と octave_rand::vector().

template<class T>
void Array< T >::resize_and_fill const dim_vector   dv,
const T &    val
 

Array.cc869 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::elem(), dim_vector::elem(), get_scalar_idx(), Array< T >::get_size(), increment_index(), index_in_bounds(), dim_vector::length(), Array< T >::rep, と dim_vector::resize().

template<class T>
void Array< T >::resize_and_fill int    r,
int    c,
int    p,
const T &    val
 

Array.cc799 行で定義されています。

参照 Array< T >::data(), Array< T >::dim1(), Array< T >::dim2(), Array< T >::dim3(), Array< T >::dimensions, Array< T >::get_size(), Array< T >::length(), Array< T >::ndims(), Array< T >::rep, と Array< T >::xelem().

template<class T>
void Array< T >::resize_and_fill int    r,
int    c,
const T &    val
 

Array.cc742 行で定義されています。

参照 Array< T >::data(), Array< T >::dim1(), Array< T >::dim2(), Array< T >::dimensions, Array< T >::get_size(), Array< T >::length(), Array< T >::ndims(), Array< T >::rep, と Array< T >::xelem().

template<class T>
void Array< T >::resize_and_fill int    n,
const T &    val
 

Array.cc702 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::length(), Array< T >::rep, と Array< T >::xelem().

呼出 assign1(), assignN(), Array< T >::index1(), Array3< T >::resize(), Array2< bool >::resize(), と Array< bool >::resize().

template<class T>
void Array< T >::resize_no_fill const dim_vector   dv
 

Array.cc529 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::elem(), dim_vector::elem(), get_scalar_idx(), Array< T >::get_size(), increment_index(), index_in_bounds(), dim_vector::length(), Array< T >::rep, と dim_vector::resize().

template<class T>
void Array< T >::resize_no_fill int    r,
int    c,
int    p
 

Array.cc651 行で定義されています。

参照 Array< T >::data(), Array< T >::dim1(), Array< T >::dim2(), Array< T >::dim3(), Array< T >::dimensions, Array< T >::get_size(), Array< T >::length(), Array< T >::ndims(), Array< T >::rep, と Array< T >::xelem().

template<class T>
void Array< T >::resize_no_fill int    r,
int    c
 

Array.cc603 行で定義されています。

参照 Array< T >::data(), Array< T >::dim1(), Array< T >::dim2(), Array< T >::dimensions, Array< T >::get_size(), Array< T >::length(), Array< T >::ndims(), Array< T >::rep, と Array< T >::xelem().

template<class T>
void Array< T >::resize_no_fill int    n
 

Array.cc495 行で定義されています。

参照 Array< T >::data(), Array< T >::dimensions, Array< T >::length(), Array< T >::rep, と Array< T >::xelem().

呼出 assign(), assign1(), Array< T >::index(), Array< T >::index1(), Array< T >::index2(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_1(), Array< T >::maybe_delete_elements_2(), ArrayN< bool >::resize(), Array3< T >::resize(), Array2< bool >::resize(), と Array< bool >::resize().

template<class T>
int Array< T >::rows void    const [inline]
 

Array.h259 行で定義されています。

呼出 assign2(), Array2< bool >::index(), Array< T >::insert2(), operator *(), operator+=(), operator-(), operator-=(), と Array2< bool >::transpose().

template<class T>
void Array< T >::set_index const idx_vector   i
 

Array.cc1179 行で定義されています。

参照 Array< T >::idx, Array< T >::idx_count, と Array< T >::ndims().

template<class T>
Array< T > Array< T >::squeeze void    const
 

ArrayN< T >, boolNDArray, charNDArray, ComplexNDArray, NDArray, intNDArray< T >, MArrayN< T >, streamoff_array, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, ArrayN< bool >, MArrayN< double >, MArrayN< char >, と MArrayN< Complex >で再定義されています。

Array.cc70 行で定義されています。

参照 Array< T >::dimensions, Array< T >::make_unique(), Array< T >::ndims(), と dim_vector::resize().

呼出 assign2(), と ArrayN< bool >::squeeze().

template<class T>
Array< T > Array< T >::transpose void    const
 

Array2< T >, ArrayN< T >, boolMatrix, ComplexColumnVector, ComplexDiagMatrix, charMatrix, ComplexMatrix, ComplexRowVector, ColumnVector, DiagMatrix, Matrix, RowVector, intNDArray< T >, MArray2< T >, Array2< double >, Array2< char >, Array2< Complex >, Array2< bool >, ArrayN< std::streamoff >, ArrayN< double >, ArrayN< char >, ArrayN< Complex >, ArrayN< bool >, MArray2< double >, MArray2< char >, と MArray2< Complex >で再定義されています。

Array.cc1103 行で定義されています。

参照 Array< T >::dim1(), Array< T >::dim2(), Array< T >::ndims(), と Array< T >::xelem().

呼出 ArrayN< bool >::transpose(), と Array2< bool >::transpose().

template<class T>
Array< T > Array< T >::value void   
 

Array.cc1903 行で定義されています。

参照 Array< T >::clear_index(), Array< T >::get_idx(), Array< T >::idx, Array< T >::index(), と Array< T >::index_count().

template<class T>
T Array< T >::xelem const Array< int > &    ra_idx const [inline]
 

Array.h305 行で定義されています。

template<class T>
T& Array< T >::xelem const Array< int > &    ra_idx [inline]
 

Array.h302 行で定義されています。

template<class T>
T Array< T >::xelem int    i,
int    j,
int    k
const [inline]
 

Array.h300 行で定義されています。

template<class T>
T& Array< T >::xelem int    i,
int    j,
int    k
[inline]
 

Array.h299 行で定義されています。

template<class T>
T Array< T >::xelem int    i,
int    j
const [inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h297 行で定義されています。

template<class T>
T& Array< T >::xelem int    i,
int    j
[inline]
 

DiagArray2< T >, DiagArray2< double >, と DiagArray2< Complex >で再定義されています。

Array.h296 行で定義されています。

template<class T>
T Array< T >::xelem int    n const [inline]
 

Array.h294 行で定義されています。

template<class T>
T& Array< T >::xelem int    n [inline]
 

Array.h293 行で定義されています。

呼出 DiagArray2< T >::checkelem(), Array< bool >::checkelem(), DiagArray2< T >::elem(), Array< bool >::elem(), MDiagArray2< Complex >::operator MArray2(), DiagArray2< T >::operator()(), base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::P(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), Array< T >::transpose(), DiagArray2< T >::xelem(), と Array< bool >::xelem().


変数の解説

template<class T>
dim_vector Array< T >::dimensions
 

Array.h143 行で定義されています。

呼出 assign2(), Array< T >::compute_index(), DiagArray2< Complex >::DiagArray2(), Array< bool >::dim1(), Array< bool >::dim2(), Array< bool >::dim3(), Array< T >::index(), Array< T >::insert(), Array< T >::insertN(), Array< T >::maybe_delete_dims(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_1(), Array< T >::maybe_delete_elements_2(), Array< bool >::operator=(), Array< T >::reshape(), DiagArray2< T >::resize(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), と Array< T >::squeeze().

template<class T>
idx_vector* Array< T >::idx [protected]
 

Array.h147 行で定義されています。

呼出 Array< T >::clear_index(), Array< T >::set_index(), Array< T >::value(), と Array< T >::~Array().

template<class T>
int Array< T >::idx_count [protected]
 

Array.h148 行で定義されています。

呼出 Array< bool >::Array(), Array< T >::clear_index(), Array< bool >::index_count(), Array< bool >::operator=(), と Array< T >::set_index().

template<class T>
Array<T>::ArrayRep* Array< T >::rep
 

Array.h141 行で定義されています。

呼出 Array< T >::Array(), Array< T >::fortran_vec(), Array< bool >::make_unique(), Array< T >::maybe_delete_elements(), Array< T >::maybe_delete_elements_1(), Array< bool >::operator=(), Array< T >::print_info(), Array< T >::resize_and_fill(), Array< T >::resize_no_fill(), と Array< T >::~Array().


このクラスの解説は次のファイルから生成されました:
Wed Dec 29 13:05:27 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送