Index: /trunk/archive/pslib/include/psStdArrays.h
===================================================================
--- /trunk/archive/pslib/include/psStdArrays.h	(revision 204)
+++ /trunk/archive/pslib/include/psStdArrays.h	(revision 205)
@@ -4,4 +4,33 @@
 #include <complex.h>
 #include "psArray.h"
+
+
+/** Types of the elements of vectors, matrices, etc. */
+enum {
+    PS_TYPE_CHAR,			//!< Character
+    PS_TYPE_SHORT,			//!< Short integer
+    PS_TYPE_INT,			//!< Integer
+    PS_TYPE_LONG,			//!< Long integer
+    PS_TYPE_UCHAR,			//!< Unsigned character
+    PS_TYPE_USHORT,			//!< Unsigned short integer
+    PS_TYPE_UINT,			//!< Unsigned integer
+    PS_TYPE_ULONG,			//!< Unsigned long integer
+    PS_TYPE_FLOAT,			//!< Floating point
+    PS_TYPE_DOUBLE,			//!< Double-precision floating point
+    PS_TYPE_COMPLEX			//!< Complex numbers consisting of floating point
+} psElemType;
+
+/** Dimensions of a data type */
+enum {
+    PS_DIMEN_SCALAR,			//!< Scalar
+    PS_DIMEN_VECTOR,			//!< A vector
+    PS_DIMEN_MATRIX			//!< A matrix
+} psDimen;
+
+/** The type of a data type */
+typedef struct {
+    enum psElemType type;		//!< The type
+    enum psDimen dimen;			//!< The dimensionality
+} psType;
 
 /**
@@ -18,4 +47,7 @@
 PS_CREATE_ARRAY_TYPE(psFloat);
 
+/** Define a vector as an array of real numbers */
+typedef psFloatArray psVector;
+
 /** An array of complex numbers */
 PS_DECLARE_ARRAY_TYPE(psComplex);
