Main Page | Modules | Class List | File List | Class Members | File Members

2x2matrix_norm.h

Go to the documentation of this file.
00001 
00018 /* This library is free software; you can redistribute it and/or
00019    modify it under the terms of the GNU Lesser General Public
00020    License as published by the Free Software Foundation; either
00021    version 2.1 of the License, or (at your option) any later version.
00022 
00023    This library is distributed in the hope that it will be useful,
00024    but WITHOUT ANY WARRANTY; without even the implied warranty of
00025    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00026    Lesser General Public License for more details.
00027 
00028    You should have received a copy of the GNU Lesser General Public
00029    License along with this library; if not, write to the Free Software
00030    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00031 */
00032 
00033 #ifndef _GAN_2X2MATRIX_NORM_H
00034 #define _GAN_2X2MATRIX_NORM_H
00035 
00036 #include <gandalf/linalg/2x2matrix.h>
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 #define GAN_MAT_NORMALISE  gan_mat22_normalize
00043 #define GAN_MATT_NORMALISE gan_mat22T_normalize
00044 #define GAN_MATTYPE        Gan_Matrix22
00045 #define GAN_SQUMATTYPE     Gan_SquMatrix22
00046 
00047 /*
00048  * File:          $RCSfile: mat_norm_noc.h,v $
00049  * Module:        Fixed size matrix projective normalisation
00050  * Part of:       Gandalf Library
00051  *
00052  * Revision:      $Revision: 1.7 $
00053  * Last edited:   $Date: 2005/08/22 08:52:18 $
00054  * Author:        $Author: jps $
00055  * Copyright:     (c) 2000 Imagineer Software Limited
00056  *
00057  * Notes:         Not to be compiled separately
00058  */
00059 
00060 /* This library is free software; you can redistribute it and/or
00061    modify it under the terms of the GNU Lesser General Public
00062    License as published by the Free Software Foundation; either
00063    version 2.1 of the License, or (at your option) any later version.
00064 
00065    This library is distributed in the hope that it will be useful,
00066    but WITHOUT ANY WARRANTY; without even the implied warranty of
00067    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00068    Lesser General Public License for more details.
00069 
00070    You should have received a copy of the GNU Lesser General Public
00071    License along with this library; if not, write to the Free Software
00072    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00073 */
00074 
00075 /* normalises an array of matrices B */
00076  Gan_Bool gan_mat22_normalize ( Gan_Matrix22 *B, int n, double term_threshold,
00077                              int max_iterations, Gan_SquMatrix22 *Lp );
00078  Gan_Bool gan_mat22T_normalize ( Gan_Matrix22 *B, int n, double term_threshold,
00079                               int max_iterations, Gan_SquMatrix22 *Lp );
00080 
00081 #undef GAN_MAT_NORMALISE
00082 #undef GAN_MATT_NORMALISE
00083 #undef GAN_MATTYPE
00084 #undef GAN_SQUMATTYPE
00085 
00086 #ifdef __cplusplus
00087 }
00088 #endif
00089 
00090 #endif /* #ifndef _GAN_2X2MATRIX_NORM_H */

Generated on Fri Mar 17 12:44:46 2006 by  doxygen 1.3.9.1