"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/op_range_meat.hpp" between
armadillo-10.2.0.tar.xz and armadillo-10.2.1.tar.xz

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

op_range_meat.hpp  (armadillo-10.2.0.tar.xz):op_range_meat.hpp  (armadillo-10.2.1.tar.xz)
skipping to change at line 29 skipping to change at line 29
template<typename T1> template<typename T1>
inline inline
void void
op_range::apply(Mat<typename T1::elem_type>& out, const Op<T1,op_range>& in) op_range::apply(Mat<typename T1::elem_type>& out, const Op<T1,op_range>& in)
{ {
arma_extra_debug_sigprint(); arma_extra_debug_sigprint();
typedef typename T1::elem_type eT; typedef typename T1::elem_type eT;
const uword dim = in.aux_uword_a; const uword dim = in.aux_uword_a;
arma_debug_check( (dim > 1), "range(): parameter 'dim' must be 0 or 1"); arma_debug_check( (dim > 1), "range(): parameter 'dim' must be 0 or 1" );
const quasi_unwrap<T1> U(in.m); const quasi_unwrap<T1> U(in.m);
const Mat<eT>& X = U.M; const Mat<eT>& X = U.M;
if(U.is_alias(out) == false) if(U.is_alias(out) == false)
{ {
op_range::apply_noalias(out, X, dim); op_range::apply_noalias(out, X, dim);
} }
else else
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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