The documentation for the complex dot product codes is erroneous.
I here attach a patch which fixes the ambiguity and streamlines the documentation of the complex dot routines.
Index: cdotc.f
===================================================================
--- cdotc.f (revision 1579)
+++ cdotc.f (working copy)
@@ -23,8 +23,9 @@
*>
*> \verbatim
*>
-*> forms the dot product of two vectors, conjugating the first
-*> vector.
+*> CDOTC forms the dot product of two complex vectors
+*> CDOTC = X^H * Y
+*>
*> \endverbatim
*
* Authors:
Index: cdotu.f
===================================================================
--- cdotu.f (revision 1579)
+++ cdotu.f (working copy)
@@ -23,7 +23,9 @@
*>
*> \verbatim
*>
-*> CDOTU forms the dot product of two vectors.
+*> CDOTU forms the dot product of two complex vectors
+*> CDOTU = X^T * Y
+*>
*> \endverbatim
*
* Authors:
Index: zdotc.f
===================================================================
--- zdotc.f (revision 1579)
+++ zdotc.f (working copy)
@@ -23,7 +23,9 @@
*>
*> \verbatim
*>
-*> ZDOTC forms the dot product of a vector.
+*> ZDOTC forms the dot product of two complex vectors
+*> ZDOTC = X^H * Y
+*>
*> \endverbatim
*
* Authors:
Index: zdotu.f
===================================================================
--- zdotu.f (revision 1579)
+++ zdotu.f (working copy)
@@ -23,7 +23,9 @@
*>
*> \verbatim
*>
-*> ZDOTU forms the dot product of two vectors.
+*> ZDOTU forms the dot product of two complex vectors
+*> ZDOTU = X^T * Y
+*>
*> \endverbatim
*
Users browsing this forum: No registered users and 1 guest