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

Array.cc の解説

#include <cassert>
#include <climits>
#include <iostream>
#include "Array.h"
#include "Array-flags.h"
#include "Array-util.h"
#include "Range.h"
#include "idx-vector.h"
#include "lo-error.h"
#include "lo-sstream.h"

Array.ccのインクルード依存関係図

Include dependency graph

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

Included by dependency graph

ソースコードを見る。

マクロ定義

#define MALLOC_OVERHEAD   1024
#define MAYBE_RESIZE_LHS

関数

template<class LT, class RT> int assign (Array< LT > &lhs, const Array< RT > &rhs, const LT &rfv)
template<class LT, class RT> int assign1 (Array< LT > &lhs, const Array< RT > &rhs, const LT &rfv)
template<class LT, class RT> int assign2 (Array< LT > &lhs, const Array< RT > &rhs, const LT &rfv)
template<class LT, class RT> int assignN (Array< LT > &lhs, const Array< RT > &rhs, const LT &rfv)


マクロ定義の解説

#define MALLOC_OVERHEAD   1024
 

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

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

#define MAYBE_RESIZE_LHS
 

値:

do \
    { \
      int max_row_idx = idx_i_is_colon ? rhs_nr : idx_i.max () + 1; \
      int max_col_idx = idx_j_is_colon ? rhs_nc : idx_j.max () + 1; \
 \
      int new_nr = max_row_idx > lhs_nr ? max_row_idx : lhs_nr; \
      int new_nc = max_col_idx > lhs_nc ? max_col_idx : lhs_nc; \
 \
      lhs.resize_and_fill (new_nr, new_nc, rfv); \
    } \
  while (0)

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

呼出 assign2().


関数の解説

template<class LT, class RT>
int assign Array< LT > &    lhs,
const Array< RT > &    rhs,
const LT &    rfv
 

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

template<class LT, class RT>
int assign1 Array< LT > &    lhs,
const Array< RT > &    rhs,
const LT &    rfv
 

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

参照 Array< T >::clear_index(), idx_vector::elem(), Array< T >::elem(), idx_vector::freeze(), Array< T >::get_idx(), idx_vector::is_colon(), Array< T >::length(), liboctave_wrore_flag, idx_vector::max(), Array< T >::resize_and_fill(), と Array< T >::resize_no_fill().

呼出 assign(), と assign2().

template<class LT, class RT>
int assign2 Array< LT > &    lhs,
const Array< RT > &    rhs,
const LT &    rfv
 

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

参照 assign1(), Array< T >::clear_index(), Array< T >::cols(), Array< T >::dimensions, Array< T >::dims(), dim_vector::elem(), Array< T >::elem(), idx_vector::elem(), idx_vector::freeze(), Array< T >::get_idx(), Array< T >::index_count(), idx_vector::is_colon(), dim_vector::length(), Array< T >::length(), liboctave_wfi_flag, liboctave_wrore_flag, Array< T >::maybe_delete_elements(), MAYBE_RESIZE_LHS, Array< T >::ndims(), idx_vector::one_zero_only(), idx_vector::orig_columns(), idx_vector::orig_rows(), Array< T >::rows(), と Array< T >::squeeze().

呼出 assign().

template<class LT, class RT>
int assignN Array< LT > &    lhs,
const Array< RT > &    rhs,
const LT &    rfv
 

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

参照 dim_vector::all_ones(), dim_vector::all_zero(), dim_vector::any_zero(), Array< T >::chop_trailing_singletons(), Array< T >::clear_index(), conv_to_array(), Array< T >::dims(), idx_vector::elem(), Array< T >::elem(), dim_vector::elem(), idx_vector::freeze(), freeze(), get_elt_idx(), Array< T >::get_idx(), Array< T >::get_size(), increment_index(), Array< T >::index_count(), idx_vector::is_colon(), is_scalar(), dim_vector::length(), Array< T >::length(), liboctave_wfi_flag, Array< T >::maybe_delete_elements(), idx_vector::one_zero_only(), idx_vector::orig_dimensions(), dim_vector::resize(), Array< T >::resize(), Array< T >::resize_and_fill(), と dim_vector::squeeze().

呼出 assign().


Wed Dec 29 11:53:36 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送