From 2394caafa21e29bfdf11325818a9693b8ceac6d2 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 16 Nov 2020 22:34:20 +0100 Subject: [PATCH] [EDF22126] : doc about convention of components for eigenValues and eigenVectors method --- src/MEDCoupling/MEDCouplingMemArray.cxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index 01b9c0cc1..468faa943 100755 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -2093,7 +2093,13 @@ DataArrayDouble *DataArrayDouble::determinant() const /*! * Computes 3 eigenvalues of every upper triangular matrix defined by the tuple of - * \a this array, which contains 6 components. + * \a this array, which contains 6 components. The 6 components of tuples are expected to be stored as follow :
+ * \a tuple[0] = \c matrix_XX
+ * \a tuple[1] = \c matrix_YY
+ * \a tuple[2] = \c matrix_ZZ
+ * \a tuple[3] = \c matrix_XY
+ * \a tuple[4] = \c matrix_YZ
+ * \a tuple[5] = \c matrix_XZ
* \return DataArrayDouble * - the new instance of DataArrayDouble containing 3 * components, whose each tuple contains the eigenvalues of the matrix of * corresponding tuple of \a this array. @@ -2119,7 +2125,13 @@ DataArrayDouble *DataArrayDouble::eigenValues() const /*! * Computes 3 eigenvectors of every upper triangular matrix defined by the tuple of - * \a this array, which contains 6 components. + * \a this array, which contains 6 components. The 6 components of tuples are expected to be stored as follow :
+ * \a tuple[0] = \c matrix_XX
+ * \a tuple[1] = \c matrix_YY
+ * \a tuple[2] = \c matrix_ZZ
+ * \a tuple[3] = \c matrix_XY
+ * \a tuple[4] = \c matrix_YZ
+ * \a tuple[5] = \c matrix_XZ
* \return DataArrayDouble * - the new instance of DataArrayDouble containing 9 * components, whose each tuple contains 3 eigenvectors of the matrix of * corresponding tuple of \a this array. -- 2.39.2