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 __inv_h 00029 #define __inv_h 00030 00031 #include <matrix.h> 00032 namespace SPUC { 00033 00034 #ifdef HAVE_LAPACK 00035 00049 bool inv(const mat &X, mat &Y); 00050 00060 mat inv(const mat &X); 00061 00071 bool inv(const cmat &X, cmat &Y); 00072 00082 cmat inv(const cmat &X); 00083 00084 #endif // HAVE_LAPACK 00085 } 00086 #endif // __inv_h