13 typedef long TM_COL_NUM;
25 TM_COL_NUM its_col_num;
33 const TM_COL_NUM get_col_num()
const;
34 const COMPLEX & get_ele()
const;
49 USHORT its_num_of_rows;
50 TM_COL_NUM its_num_of_cols;
53 VOID clear_row(USHORT r);
57 VOID set_to_zero_mat(USHORT num_of_rows, TM_COL_NUM num_of_cols);
58 VOID resize(USHORT new_nr, TM_COL_NUM new_nc);
59 VOID set_num_of_rows(USHORT nr);
60 VOID set_num_of_cols(TM_COL_NUM nc);
62 TRANS_MAT(USHORT num_of_rows, TM_COL_NUM num_of_cols);
67 VOID set_ele(USHORT row, TM_COL_NUM col,
const COMPLEX & ele);
68 COMPLEX read_ele(USHORT row, TM_COL_NUM col)
const;
70 BOOLEAN is_col_valid(TM_COL_NUM c)
const;
71 DOUBLE get_col_prob(TM_COL_NUM col);
74 BOOLEAN is_row_valid(USHORT r)
const;
75 USHORT get_num_of_nz_elems(USHORT row);
76 const DIR_NZ_ELE * get_row_ptr(USHORT row)
const;
79 TM_COL_NUM get_num_of_cols()
const;
80 USHORT get_num_of_rows()
const;
83 const USHORT get_cur_finesse_of_amps()
const;
84 VOID filter_out_small_amps(USHORT finesse );
86 VOID reorder_rows(
const UI_MAP & map);
87 VOID reorder_cols_as_part_of_reordering_in_nds(
91 VOID reorder_cols_as_part_of_reordering_nd_sts_of_a_pa(
95 VOID order_row_elems_by_increasing_col_num();
96 #ifdef _mac_gui_app //''''''''''''''''''''''''''''''''''''''''''''\\. 99 VOID write_net_stream(LStream & net_stream);
100 VOID read_net_stream(LStream & net_stream);
101 #endif //_mac_gui_app \\............................................// 107 #pragma mark ----DIR_NZ_ELE---- 110 const TM_COL_NUM DIR_NZ_ELE::get_col_num()
const 116 const COMPLEX & DIR_NZ_ELE::get_ele()
const 122 const DIR_NZ_ELE * DIR_NZ_ELE::get_next_p()
const 126 #pragma mark ----TRANS_MAT---- 129 VOID TRANS_MAT::set_num_of_cols(
132 resize(its_num_of_rows, nc);
136 VOID TRANS_MAT::set_num_of_rows(
139 resize(nr, its_num_of_cols);
143 BOOLEAN TRANS_MAT::is_col_valid(
147 return ( (0<=c)&&(c<=its_num_of_cols) );
151 BOOLEAN TRANS_MAT::is_row_valid(
155 return ( (0<=r)&&(r<=its_num_of_rows) );
163 return its_elements_p_p[row];
167 TM_COL_NUM TRANS_MAT::get_num_of_cols()
const 169 return its_num_of_cols;
173 USHORT TRANS_MAT::get_num_of_rows()
const 175 return its_num_of_rows;
Definition: TRANS_MAT.h:21
Definition: STRETCH_OR_FOLD.h:12
Definition: TRANS_MAT.h:46