Index: branches/pap/psLib/src/math/psMatrix.h
===================================================================
--- branches/pap/psLib/src/math/psMatrix.h	(revision 25780)
+++ branches/pap/psLib/src/math/psMatrix.h	(revision 25862)
@@ -66,7 +66,7 @@
  */
 psImage *psMatrixLUInvert(
-    psImage *out,		   ///< place result here if not NULL
-    const psImage* LU,		   ///< LU-decomposed matrix.
-    const psVector* perm	   ///< Permutation vector resulting from psMatrixLUD function.
+    psImage *out,                  ///< place result here if not NULL
+    const psImage* LU,             ///< LU-decomposed matrix.
+    const psVector* perm           ///< Permutation vector resulting from psMatrixLUD function.
 );
 
@@ -186,4 +186,13 @@
 );
 
+/// Solve a matrix equation using Singular Value Decomposition
+///
+/// Solves Ax = b for x
+psVector *psMatrixSolveSVD(
+    const psImage *matrix,              ///< Matrix to be solved
+    const psVector *vector              ///< Vector of values
+    );
+
+
 /// Single value decomposition, provided by Andy Becker
 psImage *psMatrixSVD(psImage* evec, psVector* eval, const psImage* in);
