/dports/math/armadillo/armadillo-10.7.1/include/armadillo_bits/ |
H A D | op_flip_meat.hpp | 127 const uword P_n_cols = P.get_n_cols(); in apply_proxy_noalias() local 131 out.set_size(P_n_rows, P_n_cols); in apply_proxy_noalias() 133 if( ((T1::is_col) || (P_n_cols == 1)) && (Proxy<T1>::use_at == false) ) in apply_proxy_noalias() 146 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias() 256 const uword P_n_cols = P.get_n_cols(); in apply_proxy_noalias() local 258 const uword P_n_cols_m1 = P_n_cols - 1; in apply_proxy_noalias() 260 out.set_size(P_n_rows, P_n_cols); in apply_proxy_noalias() 268 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias() 275 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias()
|
H A D | op_sum_meat.hpp | 131 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 135 out.set_size(1, P_n_cols); in apply_noalias_proxy() 139 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 165 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 307 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 312 out.set_size(1, P_n_cols, P_n_slices); in apply_noalias_proxy() 318 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 348 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 358 out.zeros(P_n_rows, P_n_cols, 1); in apply_noalias_proxy() 362 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy()
|
H A D | spop_reverse_meat.hpp | 100 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 103 const uword P_n_cols_m1 = P_n_cols - 1; in apply_proxy() 109 out.zeros(P_n_rows, P_n_cols); in apply_proxy() 153 SpMat<eT> tmp(locs, vals, P_n_rows, P_n_cols, true, false); in apply_proxy()
|
H A D | op_median_meat.hpp | 96 const uword P_n_cols = P.get_n_cols(); in apply() local 102 out.set_size((P_n_rows > 0) ? 1 : 0, P_n_cols); in apply() 108 for(uword col=0; col < P_n_cols; ++col) in apply() 120 out.set_size(P_n_rows, (P_n_cols > 0) ? 1 : 0); in apply() 122 if(P_n_cols > 0) in apply() 124 std::vector<eT> tmp_vec(P_n_cols); in apply() 128 for(uword col=0; col < P_n_cols; ++col) { tmp_vec[col] = P.at(row,col); } in apply()
|
H A D | op_reshape_meat.hpp | 94 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 96 for(uword col=0; col < P_n_cols; ++col) in apply_proxy() 131 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 133 for(uword col=0; col < P_n_cols; ++col) in apply_proxy()
|
H A D | spop_diagmat_meat.hpp | 61 const uword P_n_cols = P.get_n_cols(); in apply_noalias() local 64 const bool P_is_vec = (P_n_rows == 1) || (P_n_cols == 1); in apply_noalias() 68 const uword N = (P_n_rows == 1) ? P_n_cols : P_n_rows; in apply_noalias() 76 if(P_n_cols == 1) in apply_noalias() 102 out.zeros(P_n_rows, P_n_cols); in apply_noalias() 104 const uword N = (std::min)(P_n_rows, P_n_cols); in apply_noalias()
|
H A D | op_mean_meat.hpp | 150 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 154 out.set_size((P_n_rows > 0) ? 1 : 0, P_n_cols); in apply_noalias_proxy() 160 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 183 out.zeros(P_n_rows, (P_n_cols > 0) ? 1 : 0); in apply_noalias_proxy() 185 if(P_n_cols == 0) { return; } in apply_noalias_proxy() 189 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 195 out /= T(P_n_cols); in apply_noalias_proxy()
|
H A D | fn_misc.hpp | 310 const uword P_n_cols = P.get_n_cols(); in ind2sub() local 314 const bool P_is_vec = ((P_n_rows == 1) || (P_n_cols == 1)); in ind2sub() 343 for(uword count=0; count < P_n_cols; ++count) in ind2sub() 359 if(P_n_cols == 1) in ind2sub()
|
H A D | fn_accu.hpp | 338 const uword P_n_cols = P.get_n_cols(); in accu() local 343 for(uword col=0; col < P_n_cols; ++col) in accu() 350 for(uword col=0; col < P_n_cols; ++col) in accu() 393 const uword P_n_cols = P.get_n_cols(); in accu() local 398 for(uword col=0; col < P_n_cols; ++col) in accu() 405 for(uword col=0; col < P_n_cols; ++col) in accu()
|
/dports/math/R-cran-RcppArmadillo/RcppArmadillo/inst/include/armadillo_bits/ |
H A D | op_flip_meat.hpp | 153 const uword P_n_cols = P.get_n_cols(); in apply_proxy_noalias() local 157 out.set_size(P_n_rows, P_n_cols); in apply_proxy_noalias() 159 if( ((T1::is_col) || (P_n_cols == 1)) && (Proxy<T1>::use_at == false) ) in apply_proxy_noalias() 172 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias() 308 const uword P_n_cols = P.get_n_cols(); in apply_proxy_noalias() local 310 const uword P_n_cols_m1 = P_n_cols - 1; in apply_proxy_noalias() 312 out.set_size(P_n_rows, P_n_cols); in apply_proxy_noalias() 320 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias() 327 for(uword col=0; col < P_n_cols; ++col) in apply_proxy_noalias()
|
H A D | op_sum_meat.hpp | 131 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 135 out.set_size(1, P_n_cols); in apply_noalias_proxy() 139 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 165 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 307 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 312 out.set_size(1, P_n_cols, P_n_slices); in apply_noalias_proxy() 318 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 348 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 358 out.zeros(P_n_rows, P_n_cols, 1); in apply_noalias_proxy() 362 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy()
|
H A D | spop_reverse_meat.hpp | 100 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 103 const uword P_n_cols_m1 = P_n_cols - 1; in apply_proxy() 109 out.zeros(P_n_rows, P_n_cols); in apply_proxy() 153 SpMat<eT> tmp(locs, vals, P_n_rows, P_n_cols, true, false); in apply_proxy()
|
H A D | op_median_meat.hpp | 96 const uword P_n_cols = P.get_n_cols(); in apply() local 102 out.set_size((P_n_rows > 0) ? 1 : 0, P_n_cols); in apply() 108 for(uword col=0; col < P_n_cols; ++col) in apply() 120 out.set_size(P_n_rows, (P_n_cols > 0) ? 1 : 0); in apply() 122 if(P_n_cols > 0) in apply() 124 std::vector<eT> tmp_vec(P_n_cols); in apply() 128 for(uword col=0; col < P_n_cols; ++col) { tmp_vec[col] = P.at(row,col); } in apply()
|
H A D | op_reshape_meat.hpp | 94 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 96 for(uword col=0; col < P_n_cols; ++col) in apply_proxy() 131 const uword P_n_cols = P.get_n_cols(); in apply_proxy() local 133 for(uword col=0; col < P_n_cols; ++col) in apply_proxy()
|
H A D | spop_diagmat_meat.hpp | 61 const uword P_n_cols = P.get_n_cols(); in apply_noalias() local 64 const bool P_is_vec = (P_n_rows == 1) || (P_n_cols == 1); in apply_noalias() 68 const uword N = (P_n_rows == 1) ? P_n_cols : P_n_rows; in apply_noalias() 76 if(P_n_cols == 1) in apply_noalias() 102 out.zeros(P_n_rows, P_n_cols); in apply_noalias() 104 const uword N = (std::min)(P_n_rows, P_n_cols); in apply_noalias()
|
H A D | op_mean_meat.hpp | 150 const uword P_n_cols = P.get_n_cols(); in apply_noalias_proxy() local 154 out.set_size((P_n_rows > 0) ? 1 : 0, P_n_cols); in apply_noalias_proxy() 160 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 183 out.zeros(P_n_rows, (P_n_cols > 0) ? 1 : 0); in apply_noalias_proxy() 185 if(P_n_cols == 0) { return; } in apply_noalias_proxy() 189 for(uword col=0; col < P_n_cols; ++col) in apply_noalias_proxy() 195 out /= T(P_n_cols); in apply_noalias_proxy()
|
H A D | fn_misc.hpp | 310 const uword P_n_cols = P.get_n_cols(); in ind2sub() local 314 const bool P_is_vec = ((P_n_rows == 1) || (P_n_cols == 1)); in ind2sub() 343 for(uword count=0; count < P_n_cols; ++count) in ind2sub() 359 if(P_n_cols == 1) in ind2sub()
|
H A D | fn_accu.hpp | 338 const uword P_n_cols = P.get_n_cols(); in accu() local 343 for(uword col=0; col < P_n_cols; ++col) in accu() 350 for(uword col=0; col < P_n_cols; ++col) in accu() 393 const uword P_n_cols = P.get_n_cols(); in accu() local 398 for(uword col=0; col < P_n_cols; ++col) in accu() 405 for(uword col=0; col < P_n_cols; ++col) in accu()
|