Index: trunk/psLib/src/collections/psVector.c
===================================================================
--- trunk/psLib/src/collections/psVector.c	(revision 3780)
+++ trunk/psLib/src/collections/psVector.c	(revision 3786)
@@ -9,6 +9,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-21 21:21:01 $
+*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-29 02:25:09 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -526,2 +526,14 @@
     }
 }
+
+bool p_psVectorPrint (FILE *f, psVector *a, char *name)
+{
+
+    fprintf (f, "vector: %s\n", name);
+
+    for (int i = 0; i < a[0].n; i++) {
+        fprintf (f, "%f\n", p_psVectorGetElementF64(a, i));
+    }
+    fprintf (f, "\n");
+    return (true);
+}
Index: trunk/psLib/src/collections/psVector.h
===================================================================
--- trunk/psLib/src/collections/psVector.h	(revision 3780)
+++ trunk/psLib/src/collections/psVector.h	(revision 3786)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-21 21:18:23 $
+ *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-29 02:25:09 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -19,4 +19,6 @@
 #ifndef PS_VECTOR_H
 #define PS_VECTOR_H
+
+#include<stdio.h>
 
 #include "psType.h"
@@ -162,4 +164,13 @@
 );
 
+/** Print a vector to a stream
+ *
+ *  @return psBool          TRUE is successful, otherwise FALSE.
+ */
+bool p_psVectorPrint (
+    FILE *f,                           ///< output stream
+    psVector *a,                       ///< vector to print
+    char *name                         ///< name of vector (for title)
+);
 
 /// @}
