From: Anthony Geay Date: Mon, 16 Nov 2020 21:34:20 +0000 (+0100) Subject: [EDF22126] : doc about convention of components for eigenValues and eigenVectors... X-Git-Tag: V9_6_asterxx_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2394caafa21e29bfdf11325818a9693b8ceac6d2;p=tools%2Fmedcoupling.git [EDF22126] : doc about convention of components for eigenValues and eigenVectors method --- 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.