Col_bones.hpp | Col_bones.hpp | |||
---|---|---|---|---|
skipping to change at line 164 | skipping to change at line 164 | |||
inline fixed(const char* text); | inline fixed(const char* text); | |||
inline fixed(const std::string& text); | inline fixed(const std::string& text); | |||
template<typename T1> inline const Col& operator=(const Base<eT,T1>& A); | template<typename T1> inline const Col& operator=(const Base<eT,T1>& A); | |||
inline const Col& operator=(const eT val); | inline const Col& operator=(const eT val); | |||
inline const Col& operator=(const char* text); | inline const Col& operator=(const char* text); | |||
inline const Col& operator=(const std::string& text); | inline const Col& operator=(const std::string& text); | |||
inline const Col& operator=(const subview_cube<eT>& X); | inline const Col& operator=(const subview_cube<eT>& X); | |||
using Col<eT>::operator(); | #if !defined(ARMA_GCC47_BUG) | |||
using Col<eT>::operator(); | ||||
#endif | ||||
#if defined(ARMA_USE_CXX11) | #if defined(ARMA_USE_CXX11) | |||
inline fixed(const std::initializer_list<eT>& list); | inline fixed(const std::initializer_list<eT>& list); | |||
inline const Col& operator=(const std::initializer_list<eT>& list); | inline const Col& operator=(const std::initializer_list<eT>& list); | |||
#endif | #endif | |||
arma_inline arma_warn_unused eT& operator[] (const uword i); | arma_inline arma_warn_unused eT& operator[] (const uword i); | |||
arma_inline arma_warn_unused eT operator[] (const uword i) const; | arma_inline arma_warn_unused eT operator[] (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword i); | arma_inline arma_warn_unused eT& at (const uword i); | |||
arma_inline arma_warn_unused eT at (const uword i) const; | arma_inline arma_warn_unused eT at (const uword i) const; | |||
arma_inline arma_warn_unused eT& operator() (const uword i); | arma_inline arma_warn_unused eT& operator() (const uword i); | |||
arma_inline arma_warn_unused eT operator() (const uword i) const; | arma_inline arma_warn_unused eT operator() (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
Mat_bones.hpp | Mat_bones.hpp | |||
---|---|---|---|---|
skipping to change at line 515 | skipping to change at line 515 | |||
arma_inline fixed(const fixed<fixed_n_rows, fixed_n_cols>& X); | arma_inline fixed(const fixed<fixed_n_rows, fixed_n_cols>& X); | |||
template<typename T1> inline fixed(const Base<eT,T1>& A); | template<typename T1> inline fixed(const Base<eT,T1>& A); | |||
template<typename T1, typename T2> inline fixed(const Base<pod_type,T1>& A, const Base<pod_type,T2>& B); | template<typename T1, typename T2> inline fixed(const Base<pod_type,T1>& A, const Base<pod_type,T2>& B); | |||
inline fixed(const eT* aux_mem); | inline fixed(const eT* aux_mem); | |||
inline fixed(const char* text); | inline fixed(const char* text); | |||
inline fixed(const std::string& text); | inline fixed(const std::string& text); | |||
using Mat<eT>::operator=; | #if !defined(ARMA_GCC47_BUG) | |||
using Mat<eT>::operator(); | using Mat<eT>::operator=; | |||
using Mat<eT>::operator(); | ||||
#else | ||||
template<typename T1> inline const Mat& operator=(const Base<eT,T1>& A) | ||||
; | ||||
inline const Mat& operator=(const eT val); | ||||
inline const Mat& operator=(const char* text); | ||||
inline const Mat& operator=(const std::string& text); | ||||
#endif | ||||
#if defined(ARMA_USE_CXX11) | #if defined(ARMA_USE_CXX11) | |||
inline fixed(const std::initializer_list<eT>& list); | inline fixed(const std::initializer_list<eT>& list); | |||
inline const Mat& operator=(const std::initializer_list<eT>& list); | inline const Mat& operator=(const std::initializer_list<eT>& list); | |||
#endif | #endif | |||
arma_inline arma_warn_unused eT& operator[] (const uword i); | arma_inline arma_warn_unused eT& operator[] (const uword i); | |||
arma_inline arma_warn_unused eT operator[] (const uword i) const; | arma_inline arma_warn_unused eT operator[] (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword i); | arma_inline arma_warn_unused eT& at (const uword i); | |||
arma_inline arma_warn_unused eT at (const uword i) const; | arma_inline arma_warn_unused eT at (const uword i) const; | |||
arma_inline arma_warn_unused eT& operator() (const uword i); | arma_inline arma_warn_unused eT& operator() (const uword i); | |||
arma_inline arma_warn_unused eT operator() (const uword i) const; | arma_inline arma_warn_unused eT operator() (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 14 lines changed or added | |||
Mat_meat.hpp | Mat_meat.hpp | |||
---|---|---|---|---|
skipping to change at line 5176 | skipping to change at line 5176 | |||
template<uword fixed_n_rows, uword fixed_n_cols> | template<uword fixed_n_rows, uword fixed_n_cols> | |||
inline | inline | |||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::fixed(const std::string& text) | Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::fixed(const std::string& text) | |||
: Mat<eT>( arma_fixed_indicator(), fixed_n_rows, fixed_n_cols, 0, ((use_e xtra) ? mem_local_extra : mem_local) ) | : Mat<eT>( arma_fixed_indicator(), fixed_n_rows, fixed_n_cols, 0, ((use_e xtra) ? mem_local_extra : mem_local) ) | |||
{ | { | |||
arma_extra_debug_sigprint_this(this); | arma_extra_debug_sigprint_this(this); | |||
Mat<eT>::operator=(text); | Mat<eT>::operator=(text); | |||
} | } | |||
#if defined(ARMA_GCC47_BUG) | ||||
template<typename eT> | ||||
template<uword fixed_n_rows, uword fixed_n_cols> | ||||
template<typename T1> | ||||
inline | ||||
const Mat<eT>& | ||||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::operator=(const Base<eT,T1>& | ||||
A) | ||||
{ | ||||
Mat<eT>::operator=(A.get_ref()); | ||||
return *this; | ||||
} | ||||
template<typename eT> | ||||
template<uword fixed_n_rows, uword fixed_n_cols> | ||||
inline | ||||
const Mat<eT>& | ||||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::operator=(const eT val) | ||||
{ | ||||
arma_extra_debug_sigprint(); | ||||
Mat<eT>::operator=(val); | ||||
return *this; | ||||
} | ||||
template<typename eT> | ||||
template<uword fixed_n_rows, uword fixed_n_cols> | ||||
inline | ||||
const Mat<eT>& | ||||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::operator=(const char* text) | ||||
{ | ||||
arma_extra_debug_sigprint(); | ||||
Mat<eT>::operator=(text); | ||||
return *this; | ||||
} | ||||
template<typename eT> | ||||
template<uword fixed_n_rows, uword fixed_n_cols> | ||||
inline | ||||
const Mat<eT>& | ||||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::operator=(const std::string& | ||||
text) | ||||
{ | ||||
arma_extra_debug_sigprint(); | ||||
Mat<eT>::operator=(text); | ||||
return *this; | ||||
} | ||||
#endif | ||||
#if defined(ARMA_USE_CXX11) | #if defined(ARMA_USE_CXX11) | |||
template<typename eT> | template<typename eT> | |||
template<uword fixed_n_rows, uword fixed_n_cols> | template<uword fixed_n_rows, uword fixed_n_cols> | |||
inline | inline | |||
Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::fixed(const std::initializer_li st<eT>& list) | Mat<eT>::fixed<fixed_n_rows, fixed_n_cols>::fixed(const std::initializer_li st<eT>& list) | |||
: Mat<eT>( arma_fixed_indicator(), fixed_n_rows, fixed_n_cols, 0, ((use_e xtra) ? mem_local_extra : mem_local) ) | : Mat<eT>( arma_fixed_indicator(), fixed_n_rows, fixed_n_cols, 0, ((use_e xtra) ? mem_local_extra : mem_local) ) | |||
{ | { | |||
arma_extra_debug_sigprint_this(this); | arma_extra_debug_sigprint_this(this); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 57 lines changed or added | |||
Row_bones.hpp | Row_bones.hpp | |||
---|---|---|---|---|
skipping to change at line 162 | skipping to change at line 162 | |||
inline fixed(const char* text); | inline fixed(const char* text); | |||
inline fixed(const std::string& text); | inline fixed(const std::string& text); | |||
template<typename T1> inline const Row& operator=(const Base<eT,T1>& A); | template<typename T1> inline const Row& operator=(const Base<eT,T1>& A); | |||
inline const Row& operator=(const eT val); | inline const Row& operator=(const eT val); | |||
inline const Row& operator=(const char* text); | inline const Row& operator=(const char* text); | |||
inline const Row& operator=(const std::string& text); | inline const Row& operator=(const std::string& text); | |||
inline const Row& operator=(const subview_cube<eT>& X); | inline const Row& operator=(const subview_cube<eT>& X); | |||
using Row<eT>::operator(); | #if !defined(ARMA_GCC47_BUG) | |||
using Row<eT>::operator(); | ||||
#endif | ||||
#if defined(ARMA_USE_CXX11) | #if defined(ARMA_USE_CXX11) | |||
inline fixed(const std::initializer_list<eT>& list); | inline fixed(const std::initializer_list<eT>& list); | |||
inline const Row& operator=(const std::initializer_list<eT>& list); | inline const Row& operator=(const std::initializer_list<eT>& list); | |||
#endif | #endif | |||
arma_inline arma_warn_unused eT& operator[] (const uword i); | arma_inline arma_warn_unused eT& operator[] (const uword i); | |||
arma_inline arma_warn_unused eT operator[] (const uword i) const; | arma_inline arma_warn_unused eT operator[] (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword i); | arma_inline arma_warn_unused eT& at (const uword i); | |||
arma_inline arma_warn_unused eT at (const uword i) const; | arma_inline arma_warn_unused eT at (const uword i) const; | |||
arma_inline arma_warn_unused eT& operator() (const uword i); | arma_inline arma_warn_unused eT& operator() (const uword i); | |||
arma_inline arma_warn_unused eT operator() (const uword i) const; | arma_inline arma_warn_unused eT operator() (const uword i) const; | |||
arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | arma_inline arma_warn_unused eT& at (const uword in_row, const uw ord in_col); | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
arma_version.hpp | arma_version.hpp | |||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
// Lesser General Public License (LGPL) as published | // Lesser General Public License (LGPL) as published | |||
// by the Free Software Foundation, either version 3 | // by the Free Software Foundation, either version 3 | |||
// of the License or (at your option) any later version. | // of the License or (at your option) any later version. | |||
// (see http://www.opensource.org/licenses for more info) | // (see http://www.opensource.org/licenses for more info) | |||
//! \addtogroup arma_version | //! \addtogroup arma_version | |||
//! @{ | //! @{ | |||
#define ARMA_VERSION_MAJOR 3 | #define ARMA_VERSION_MAJOR 3 | |||
#define ARMA_VERSION_MINOR 2 | #define ARMA_VERSION_MINOR 2 | |||
#define ARMA_VERSION_PATCH 3 | #define ARMA_VERSION_PATCH 4 | |||
#define ARMA_VERSION_NAME "Creamfields" | #define ARMA_VERSION_NAME "Creamfields" | |||
struct arma_version | struct arma_version | |||
{ | { | |||
static const unsigned int major = ARMA_VERSION_MAJOR; | static const unsigned int major = ARMA_VERSION_MAJOR; | |||
static const unsigned int minor = ARMA_VERSION_MINOR; | static const unsigned int minor = ARMA_VERSION_MINOR; | |||
static const unsigned int patch = ARMA_VERSION_PATCH; | static const unsigned int patch = ARMA_VERSION_PATCH; | |||
static | static | |||
inline | inline | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
compiler_setup.hpp | compiler_setup.hpp | |||
---|---|---|---|---|
skipping to change at line 109 | skipping to change at line 109 | |||
#endif | #endif | |||
#if (ARMA_GCC_VERSION >= 40300) | #if (ARMA_GCC_VERSION >= 40300) | |||
#undef arma_hot | #undef arma_hot | |||
#undef arma_cold | #undef arma_cold | |||
#define arma_hot __attribute__((hot)) | #define arma_hot __attribute__((hot)) | |||
#define arma_cold __attribute__((cold)) | #define arma_cold __attribute__((cold)) | |||
#endif | #endif | |||
#if ( (ARMA_GCC_VERSION >= 40700) && (ARMA_GCC_VERSION <= 40701) ) | ||||
#define ARMA_GCC47_BUG | ||||
#warning "*** Detected GCC 4.7.0 / 4.7.1, which has a regression (bug)" | ||||
#warning "*** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 " | ||||
#warning "*** A partial workaround for the bug has been activated, " | ||||
#warning "*** which reduces some functionality in fixed-size matrices " | ||||
#endif | ||||
#undef ARMA_GCC_VERSION | #undef ARMA_GCC_VERSION | |||
#endif | #endif | |||
#if defined(_MSC_VER) | #if defined(_MSC_VER) | |||
#if (_MSC_VER < 1500) | #if (_MSC_VER < 1500) | |||
#error "*** Need a newer compiler ***" | #error "*** Need a newer compiler ***" | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||