• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

src/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 /* rcsidhv[] = "$Id: cvecmat.h,v 1.6 2008/06/18 16:55:57 mdw Exp $" */
00035 
00036 void ccp4_dcross(const double a[3], const double b[3], double c[3]);
00037 void ccp4_3matmul(double c[3][3], const double a[3][3], const double b[3][3]);
00038 void ccp4_4matmul( float c[4][4], const float  a[4][4], const float b[4][4]);
00039 double invert3matrix(const double a[3][3], double ai[3][3]);
00040 float invert4matrix(const float a[4][4], float ai[4][4]);
00041 
00042 float ccp4_pow_ii(const float base, const int power);
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif
00047 
00048 #endif  
00050 /*
00051   Local variables:
00052   mode: font-lock
00053   End:
00054 */

Generated on Mon Jan 10 2011 for gpp4 by  doxygen 1.7.1