cvecmat.h

Go to the documentation of this file.
00001 /*
00002      cvecmat.h: header file for cvecmat.c
00003      Copyright (C) 2001  CCLRC, Martyn Winn
00004 
00005      This library is free software; you can redistribute it and/or
00006      modify it under the terms of the GNU Lesser General Public
00007      License as published by the Free Software Foundation; either
00008      version 2.1 of the License, or (at your option) any later
00009      version.
00010 
00011      This library is distributed in the hope that it will be useful,
00012      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014      Lesser General Public License for more details.
00015 
00016      You should have received a copy of the GNU Lesser General Public
00017      License along with this library; if not, write to the Free
00018      Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019      Boston, MA 02110-1301 USA
00020 
00021 */
00022 
00028 #ifndef __CCP4_VECMAT
00029 #define __CCP4_VECMAT
00030 
00031 #ifdef  __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 void ccp4_dcross(const double a[3], const double b[3], double c[3]);
00036 void ccp4_3matmul(double c[3][3], const double a[3][3], const double b[3][3]);
00037 void ccp4_4matmul( float c[4][4], const float  a[4][4], const float b[4][4]);
00038 double invert3matrix(const double a[3][3], double ai[3][3]);
00039 float invert4matrix(const float a[4][4], float ai[4][4]);
00040 float ccp4_pow_ii(const float base, const int power);
00041 
00042 #ifdef __cplusplus
00043 }
00044 #endif
00045 
00046 #endif  
00048 /*
00049   Local variables:
00050   mode: font-lock
00051   End:
00052 */

Generated on Wed Oct 29 21:14:24 2008 for gpp4 by  doxygen 1.4.7