"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/op_chol_meat.hpp" between
armadillo-10.8.2.tar.xz and armadillo-11.0.0.tar.xz

About: Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use.

op_chol_meat.hpp  (armadillo-10.8.2.tar.xz):op_chol_meat.hpp  (armadillo-11.0.0.tar.xz)
skipping to change at line 52 skipping to change at line 52
arma_extra_debug_sigprint(); arma_extra_debug_sigprint();
typedef typename T1::elem_type eT; typedef typename T1::elem_type eT;
out = A_expr.get_ref(); out = A_expr.get_ref();
arma_debug_check( (out.is_square() == false), "chol(): given matrix must be sq uare sized" ); arma_debug_check( (out.is_square() == false), "chol(): given matrix must be sq uare sized" );
if(out.is_empty()) { return true; } if(out.is_empty()) { return true; }
// if(auxlib::rudimentary_sym_check(out) == false)
// {
// if(is_cx<eT>::no ) { arma_debug_warn_level(1, "chol(): given matrix is n
ot symmetric"); }
// if(is_cx<eT>::yes) { arma_debug_warn_level(1, "chol(): given matrix is n
ot hermitian"); }
// return false;
// }
if((arma_config::debug) && (auxlib::rudimentary_sym_check(out) == false)) if((arma_config::debug) && (auxlib::rudimentary_sym_check(out) == false))
{ {
if(is_cx<eT>::no ) { arma_debug_warn_level(1, "chol(): given matrix is not symmetric"); } if(is_cx<eT>::no ) { arma_debug_warn_level(1, "chol(): given matrix is not symmetric"); }
if(is_cx<eT>::yes) { arma_debug_warn_level(1, "chol(): given matrix is not hermitian"); } if(is_cx<eT>::yes) { arma_debug_warn_level(1, "chol(): given matrix is not hermitian"); }
} }
uword KD = 0; uword KD = 0;
#if defined(ARMA_OPTIMISE_BAND) const bool is_band = arma_config::optimise_band && ((auxlib::crippled_lapack(o
const bool is_band = (auxlib::crippled_lapack(out)) ? false : ((layout == 0) ut)) ? false : ((layout == 0) ? band_helper::is_band_upper(KD, out, uword(32)) :
? band_helper::is_band_upper(KD, out, uword(32)) : band_helper::is_band_lower(K band_helper::is_band_lower(KD, out, uword(32))));
D, out, uword(32)));
#else
const bool is_band = false;
#endif
const bool status = (is_band) ? auxlib::chol_band(out, KD, layout) : auxlib::c hol(out, layout); const bool status = (is_band) ? auxlib::chol_band(out, KD, layout) : auxlib::c hol(out, layout);
return status; return status;
} }
//! @} //! @}
 End of changes. 2 change blocks. 
16 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)