diff --git a/include/armadillo_bits/Mat_bones.hpp b/include/armadillo_bits/Mat_bones.hpp index 5718523d..a5fae86d 100644 --- a/include/armadillo_bits/Mat_bones.hpp +++ b/include/armadillo_bits/Mat_bones.hpp @@ -60,17 +60,17 @@ class Mat : public Base< eT, Mat > inline ~Mat(); inline Mat(); - inline explicit Mat(const uword in_rows, const uword in_cols); + inline explicit Mat(const uword in_n_rows, const uword in_n_cols); inline explicit Mat(const SizeMat& s); - template inline explicit Mat(const uword in_rows, const uword in_cols, const arma_initmode_indicator&); - template inline explicit Mat(const SizeMat& s, const arma_initmode_indicator&); + template inline explicit Mat(const uword in_n_rows, const uword in_n_cols, const arma_initmode_indicator&); + template inline explicit Mat(const SizeMat& s, const arma_initmode_indicator&); - template inline Mat(const uword in_rows, const uword in_cols, const fill::fill_class& f); - template inline Mat(const SizeMat& s, const fill::fill_class& f); + template inline Mat(const uword in_n_rows, const uword in_n_cols, const fill::fill_class& f); + template inline Mat(const SizeMat& s, const fill::fill_class& f); - inline Mat(const uword in_rows, const uword in_cols, const fill::scalar_holder f); - inline Mat(const SizeMat& s, const fill::scalar_holder f); + inline Mat(const uword in_n_rows, const uword in_n_cols, const fill::scalar_holder f); + inline Mat(const SizeMat& s, const fill::scalar_holder f); inline arma_cold Mat(const char* text); inline arma_cold Mat& operator=(const char* text); @@ -447,18 +447,18 @@ class Mat : public Base< eT, Mat > template inline void copy_size(const Base& X); - inline void set_size(const uword in_elem); - inline void set_size(const uword in_rows, const uword in_cols); + inline void set_size(const uword new_n_elem); + inline void set_size(const uword new_n_rows, const uword new_n_cols); inline void set_size(const SizeMat& s); - inline void resize(const uword in_elem); - inline void resize(const uword in_rows, const uword in_cols); + inline void resize(const uword new_n_elem); + inline void resize(const uword new_n_rows, const uword new_n_cols); inline void resize(const SizeMat& s); - inline void reshape(const uword in_rows, const uword in_cols); + inline void reshape(const uword new_n_rows, const uword new_n_cols); inline void reshape(const SizeMat& s); - arma_deprecated inline void reshape(const uword in_rows, const uword in_cols, const uword dim); //!< NOTE: don't use this form: it will be removed + arma_deprecated inline void reshape(const uword new_n_rows, const uword new_n_cols, const uword dim); //!< NOTE: don't use this form: it will be removed template inline const Mat& for_each(functor F); @@ -480,27 +480,27 @@ class Mat : public Base< eT, Mat > inline const Mat& fill(const fill::fill_class& f); inline const Mat& zeros(); - inline const Mat& zeros(const uword in_elem); - inline const Mat& zeros(const uword in_rows, const uword in_cols); + inline const Mat& zeros(const uword new_n_elem); + inline const Mat& zeros(const uword new_n_rows, const uword new_n_cols); inline const Mat& zeros(const SizeMat& s); inline const Mat& ones(); - inline const Mat& ones(const uword in_elem); - inline const Mat& ones(const uword in_rows, const uword in_cols); + inline const Mat& ones(const uword new_n_elem); + inline const Mat& ones(const uword new_n_rows, const uword new_n_cols); inline const Mat& ones(const SizeMat& s); inline const Mat& randu(); - inline const Mat& randu(const uword in_elem); - inline const Mat& randu(const uword in_rows, const uword in_cols); + inline const Mat& randu(const uword new_n_elem); + inline const Mat& randu(const uword new_n_rows, const uword new_n_cols); inline const Mat& randu(const SizeMat& s); inline const Mat& randn(); - inline const Mat& randn(const uword in_elem); - inline const Mat& randn(const uword in_rows, const uword in_cols); + inline const Mat& randn(const uword new_n_elem); + inline const Mat& randn(const uword new_n_rows, const uword new_n_cols); inline const Mat& randn(const SizeMat& s); inline const Mat& eye(); - inline const Mat& eye(const uword in_rows, const uword in_cols); + inline const Mat& eye(const uword new_n_rows, const uword new_n_cols); inline const Mat& eye(const SizeMat& s); inline arma_cold void reset(); @@ -750,7 +750,7 @@ class Mat : public Base< eT, Mat > protected: inline void init_cold(); - inline void init_warm(uword in_rows, uword in_cols); + inline void init_warm(uword in_n_rows, uword in_n_cols); inline arma_cold void init(const std::string& text);