Mercurial > octave
diff liboctave/numeric/schur.h @ 30073:1e277c6b6626
maint: rename schur member function from "unitary_matrix" to "unitary_schur_matrix"
* schur.h: Rename schur member function from "unitary_matrix" to
"unitary_schur_matrix".
* schur.cc, sqrtm.cc, CMatrix.cc, dMatrix.cc, fCMatrix.cc, fMatrix.cc,
schur.cc: Rename all occurrences of "unitary_matrix".
author | Rik <rik@octave.org> |
---|---|
date | Mon, 30 Aug 2021 09:45:47 -0700 |
parents | ae47678c76e8 |
children | 796f54d4ddbf |
line wrap: on
line diff
--- a/liboctave/numeric/schur.h Mon Aug 30 09:02:23 2021 -0700 +++ b/liboctave/numeric/schur.h Mon Aug 30 09:45:47 2021 -0700 @@ -47,17 +47,17 @@ { public: - schur (void) : m_schur_mat (), m_unitary_mat () { } + schur (void) : m_schur_mat (), m_unitary_schur_mat () { } schur (const T& a, const std::string& ord, bool calc_unitary = true) - : m_schur_mat (), m_unitary_mat () + : m_schur_mat (), m_unitary_schur_mat () { init (a, ord, calc_unitary); } schur (const T& a, const std::string& ord, octave_f77_int_type& info, bool calc_unitary = true) - : m_schur_mat (), m_unitary_mat () + : m_schur_mat (), m_unitary_schur_mat () { info = init (a, ord, calc_unitary); } @@ -65,10 +65,12 @@ // This one should really be protected or private but we need it in // rsf2csf and I don't see how to make that function a friend of // this class. - schur (const T& s, const T& u) : m_schur_mat (s), m_unitary_mat (u) { } + schur (const T& s, const T& u) : m_schur_mat (s), m_unitary_schur_mat (u) + { } schur (const schur& a) - : m_schur_mat (a.m_schur_mat), m_unitary_mat (a.m_unitary_mat) + : m_schur_mat (a.m_schur_mat), + m_unitary_schur_mat (a.m_unitary_schur_mat) { } schur& operator = (const schur& a) @@ -76,7 +78,7 @@ if (this != &a) { m_schur_mat = a.m_schur_mat; - m_unitary_mat = a.m_unitary_mat; + m_unitary_schur_mat = a.m_unitary_schur_mat; } return *this; @@ -86,14 +88,14 @@ T schur_matrix (void) const { return m_schur_mat; } - T unitary_matrix (void) const { return m_unitary_mat; } + T unitary_schur_matrix (void) const { return m_unitary_schur_mat; } protected: private: T m_schur_mat; - T m_unitary_mat; + T m_unitary_schur_mat; OCTAVE_API octave_f77_int_type init (const T& a, const std::string& ord, bool calc_unitary);