"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/op_median_bones.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_median_bones.hpp  (armadillo-10.8.2.tar.xz):op_median_bones.hpp  (armadillo-11.0.0.tar.xz)
skipping to change at line 33 skipping to change at line 33
{ {
T val; T val;
uword index; uword index;
}; };
template<typename T> template<typename T>
arma_inline arma_inline
bool bool
operator< (const arma_cx_median_packet<T>& A, const arma_cx_median_packet<T>& B) operator< (const arma_cx_median_packet<T>& A, const arma_cx_median_packet<T>& B)
{ {
return A.val < B.val; return (A.val < B.val);
} }
//! Class for finding median values of a matrix
class op_median class op_median
: public traits_op_xvec : public traits_op_xvec
{ {
public: public:
template<typename eT, typename T1> template<typename T1>
inline static void apply(Mat<eT>& out, const Op<T1,op_median>& in, const typen inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_medi
ame arma_not_cx<eT>::result* junk = nullptr); an>& expr);
template<typename eT>
inline static void apply_noalias(Mat<eT>& out, const Mat<eT>& X, const uword d
im, const typename arma_not_cx<eT>::result* junk = nullptr);
template<typename eT, typename T1> template<typename eT>
inline static void apply(Mat<eT>& out, const Op<T1,op_median>& in, const typen inline static void apply_noalias(Mat<eT>& out, const Mat<eT>& X, const uword d
ame arma_cx_only<eT>::result* junk = nullptr); im, const typename arma_cx_only<eT>::result* junk = nullptr);
// //
// //
template<typename T1> template<typename T1>
inline static typename T1::elem_type median_vec(const T1& X, const typename ar ma_not_cx<typename T1::elem_type>::result* junk = nullptr); inline static typename T1::elem_type median_vec(const T1& X, const typename ar ma_not_cx<typename T1::elem_type>::result* junk = nullptr);
template<typename T1> template<typename T1>
inline static typename T1::elem_type median_vec(const T1& X, const typename ar ma_cx_only<typename T1::elem_type>::result* junk = nullptr); inline static typename T1::elem_type median_vec(const T1& X, const typename ar ma_cx_only<typename T1::elem_type>::result* junk = nullptr);
 End of changes. 4 change blocks. 
8 lines changed or deleted 11 lines changed or added

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