getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] r4851 - in /trunk/getfem: doc/sphinx/source/userdoc/gas


From: logari81
Subject: [Getfem-commits] r4851 - in /trunk/getfem: doc/sphinx/source/userdoc/gasm_high.rst src/getfem_plasticity.cc
Date: Tue, 03 Feb 2015 08:49:49 -0000

Author: logari81
Date: Tue Feb  3 09:49:48 2015
New Revision: 4851

URL: http://svn.gna.org/viewcvs/getfem?rev=4851&view=rev
Log:
rename exponent and logarithm matrix operators to Expm and Logm respectively

Modified:
    trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst
    trunk/getfem/src/getfem_plasticity.cc

Modified: trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst?rev=4851&r1=4850&r2=4851&view=diff
==============================================================================
--- trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst        (original)
+++ trunk/getfem/doc/sphinx/source/userdoc/gasm_high.rst        Tue Feb  3 
09:49:48 2015
@@ -559,9 +559,9 @@
 
   - ``Inv(m)`` gives the inverse of a square matrix ``m``. The second 
derivative is not available since it is an order 6 tensor. This means that 
``Inv(m)`` cannot be used in the description of a potential energy.
 
-  - ``expm(m)`` gives the exponential of a square matrix ``m``.
-
-  - ``logm(m)`` gives the logarithm of a square matrix ``m``.
+  - ``Expm(m)`` gives the exponential of a square matrix ``m``.
+
+  - ``Logm(m)`` gives the logarithm of a square matrix ``m``.
 
   - ``Matrix_I2(m)`` gives the second invariants of a square matrix ``m`` 
which is defined by ``(sqr(Trace(m)) - Trace(m*m))/2``.
 

Modified: trunk/getfem/src/getfem_plasticity.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_plasticity.cc?rev=4851&r1=4850&r2=4851&view=diff
==============================================================================
--- trunk/getfem/src/getfem_plasticity.cc       (original)
+++ trunk/getfem/src/getfem_plasticity.cc       Tue Feb  3 09:49:48 2015
@@ -1045,9 +1045,9 @@
     ga_predef_operator_tab &PREDEF_OPERATORS
       = dal::singleton<ga_predef_operator_tab>::instance();
 
-    PREDEF_OPERATORS.add_method("expm",
+    PREDEF_OPERATORS.add_method("Expm",
                                 new matrix_exponential_operator());
-    PREDEF_OPERATORS.add_method("logm",
+    PREDEF_OPERATORS.add_method("Logm",
                                 new matrix_logarithm_operator());
     PREDEF_OPERATORS.add_method("Normalized",
                                 new normalized_operator());




reply via email to

[Prev in Thread] Current Thread [Next in Thread]