"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/SpMat_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.

SpMat_bones.hpp  (armadillo-10.8.2.tar.xz):SpMat_bones.hpp  (armadillo-11.0.0.tar.xz)
skipping to change at line 268 skipping to change at line 268
inline void shed_row(const uword row_num); inline void shed_row(const uword row_num);
inline void shed_col(const uword col_num); inline void shed_col(const uword col_num);
inline void shed_rows(const uword in_row1, const uword in_row2); inline void shed_rows(const uword in_row1, const uword in_row2);
inline void shed_cols(const uword in_col1, const uword in_col2); inline void shed_cols(const uword in_col1, const uword in_col2);
// access the i-th element; if there is nothing at element i, 0 is returned // access the i-th element; if there is nothing at element i, 0 is returned
arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator[] (const uword i); arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator[] (const uword i);
arma_inline arma_warn_unused eT operator[] (const uword i) c onst; arma_inline arma_warn_unused eT operator[] (const uword i) c onst;
arma_inline arma_warn_unused SpMat_MapMat_val<eT> at (const uword i); arma_inline arma_warn_unused SpMat_MapMat_val<eT> at (const uword i);
arma_inline arma_warn_unused eT at (const uword i) c onst; arma_inline arma_warn_unused eT at (const uword i) c onst;
arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator() (const uword i); arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator() (const uword i);
arma_inline arma_warn_unused eT operator() (const uword i) c onst; arma_inline arma_warn_unused eT operator() (const uword i) c onst;
// access the element at the given row and column; if there is nothing at that position, 0 is returned // access the element at the given row and column; if there is nothing at that position, 0 is returned
#if defined(__cpp_multidimensional_subscript)
arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator[] (const uword in_r
ow, const uword in_col);
arma_inline arma_warn_unused eT operator[] (const uword in_r
ow, const uword in_col) const;
#endif
arma_inline arma_warn_unused SpMat_MapMat_val<eT> at (const uword in_r ow, const uword in_col); arma_inline arma_warn_unused SpMat_MapMat_val<eT> at (const uword in_r ow, const uword in_col);
arma_inline arma_warn_unused eT at (const uword in_r ow, const uword in_col) const; arma_inline arma_warn_unused eT at (const uword in_r ow, const uword in_col) const;
arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator() (const uword in_r ow, const uword in_col); arma_inline arma_warn_unused SpMat_MapMat_val<eT> operator() (const uword in_r ow, const uword in_col);
arma_inline arma_warn_unused eT operator() (const uword in_r ow, const uword in_col) const; arma_inline arma_warn_unused eT operator() (const uword in_r ow, const uword in_col) const;
arma_inline arma_warn_unused bool is_empty() const; arma_inline arma_warn_unused bool is_empty() const;
arma_inline arma_warn_unused bool is_vec() const; arma_inline arma_warn_unused bool is_vec() const;
arma_inline arma_warn_unused bool is_rowvec() const; arma_inline arma_warn_unused bool is_rowvec() const;
arma_inline arma_warn_unused bool is_colvec() const; arma_inline arma_warn_unused bool is_colvec() const;
arma_inline arma_warn_unused bool is_square() const; arma_inline arma_warn_unused bool is_square() const;
inline arma_warn_unused bool is_finite() const; inline arma_warn_unused bool is_finite() const;
inline arma_warn_unused bool is_symmetric() const; inline arma_warn_unused bool is_symmetric() const;
inline arma_warn_unused bool is_symmetric(const typename get_pod_type<eT>::res ult tol) const; inline arma_warn_unused bool is_symmetric(const typename get_pod_type<eT>::res ult tol) const;
inline arma_warn_unused bool is_hermitian() const; inline arma_warn_unused bool is_hermitian() const;
inline arma_warn_unused bool is_hermitian(const typename get_pod_type<eT>::res ult tol) const; inline arma_warn_unused bool is_hermitian(const typename get_pod_type<eT>::res ult tol) const;
inline arma_warn_unused bool has_inf() const; inline arma_warn_unused bool has_inf() const;
inline arma_warn_unused bool has_nan() const; inline arma_warn_unused bool has_nan() const;
inline arma_warn_unused bool has_nonfinite() const;
arma_inline arma_warn_unused bool in_range(const uword i) const; arma_inline arma_warn_unused bool in_range(const uword i) const;
arma_inline arma_warn_unused bool in_range(const span& x) const; arma_inline arma_warn_unused bool in_range(const span& x) const;
arma_inline arma_warn_unused bool in_range(const uword in_row, const uword in_col) const; arma_inline arma_warn_unused bool in_range(const uword in_row, const uword in_col) const;
arma_inline arma_warn_unused bool in_range(const span& row_span, const uword in_col) const; arma_inline arma_warn_unused bool in_range(const span& row_span, const uword in_col) const;
arma_inline arma_warn_unused bool in_range(const uword in_row, const span& c ol_span) const; arma_inline arma_warn_unused bool in_range(const uword in_row, const span& c ol_span) const;
arma_inline arma_warn_unused bool in_range(const span& row_span, const span& c ol_span) const; arma_inline arma_warn_unused bool in_range(const span& row_span, const span& c ol_span) const;
arma_inline arma_warn_unused bool in_range(const uword in_row, const uword in_ col, const SizeMat& s) const; arma_inline arma_warn_unused bool in_range(const uword in_row, const uword in_ col, const SizeMat& s) const;
skipping to change at line 686 skipping to change at line 695
friend class SpRow<eT>; friend class SpRow<eT>;
friend class SpCol<eT>; friend class SpCol<eT>;
friend class SpMat_MapMat_val<eT>; friend class SpMat_MapMat_val<eT>;
friend class SpSubview_MapMat_val<eT>; friend class SpSubview_MapMat_val<eT>;
friend class spdiagview<eT>; friend class spdiagview<eT>;
template<typename xT1, typename xT2> friend class SpSubview_col_list; template<typename xT1, typename xT2> friend class SpSubview_col_list;
public: public:
#ifdef ARMA_EXTRA_SPMAT_PROTO #if defined(ARMA_EXTRA_SPMAT_PROTO)
#include ARMA_INCFILE_WRAP(ARMA_EXTRA_SPMAT_PROTO) #include ARMA_INCFILE_WRAP(ARMA_EXTRA_SPMAT_PROTO)
#endif #endif
}; };
class SpMat_aux class SpMat_aux
{ {
public: public:
template<typename eT, typename T1> inline static void set_real(SpMat<eT>& out, const SpBase<eT,T1>& X); template<typename eT, typename T1> inline static void set_real(SpMat<eT>& out, const SpBase<eT,T1>& X);
template<typename T, typename T1> inline static void set_real(SpMat< std::com plex<T> >& out, const SpBase< T,T1>& X); template<typename T, typename T1> inline static void set_real(SpMat< std::com plex<T> >& out, const SpBase< T,T1>& X);
 End of changes. 6 change blocks. 
3 lines changed or deleted 14 lines changed or added

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