00001 /*---------------------------------------------------------------------------* 00002 * IT++ * 00003 *---------------------------------------------------------------------------* 00004 * Copyright (c) 1995-2002 by Tony Ottosson, Thomas Eriksson, Pål Frenger, * 00005 * Tobias Ringström, and Jonas Samuelsson. * 00006 * * 00007 * Permission to use, copy, modify, and distribute this software and its * 00008 * documentation under the terms of the GNU General Public License is hereby * 00009 * granted. No representations are made about the suitability of this * 00010 * software for any purpose. It is provided "as is" without expressed or * 00011 * implied warranty. See the GNU General Public License for more details. * 00012 *---------------------------------------------------------------------------*/ 00016 // SPUC - Signal processing using C++ - A DSP library 00017 00028 #ifndef __svd_h 00029 #define __svd_h 00030 00031 #include <vector.h> 00032 #include <matrix.h> 00033 00034 namespace SPUC { 00035 00051 bool svd(const mat &A, vec &S); 00052 00068 bool svd(const cmat &A, vec &S); 00069 00085 vec svd(const mat &A); 00086 00102 vec svd(const cmat &A); 00103 00119 bool svd(const mat &A, mat &U, vec &S, mat &V); 00120 00136 bool svd(const cmat &A, cmat &U, vec &S, cmat &V); 00137 } 00138 #endif // __svd_h