gpp4 1.3.1
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 3 of the License, or (at your option) any later version.
00009 
00010      This library is distributed in the hope that it will be useful,
00011      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013      Lesser General Public License for more details.
00014 
00015      You should have received a copy of the GNU Lesser General Public
00016      License along with This library.  If not, see
00017      <http://www.gnu.org/licenses/>.
00018 
00019 */
00020 
00026 #ifndef __CCP4_VECMAT
00027 #define __CCP4_VECMAT
00028 
00029 #ifdef  __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 void ccp4_dcross(const double a[3], const double b[3], double c[3]);
00034 void ccp4_3matmul(double c[3][3], const double a[3][3], const double b[3][3]);
00035 void ccp4_4matmul( float c[4][4], const float  a[4][4], const float b[4][4]);
00036 double invert3matrix(const double a[3][3], double ai[3][3]);
00037 float invert4matrix(const float a[4][4], float ai[4][4]);
00038 
00039 float ccp4_pow_ii(const float base, const int power);
00040 
00041 #ifdef __cplusplus
00042 }
00043 #endif
00044 
00045 #endif  
00047 /*
00048   Local variables:
00049   mode: font-lock
00050   End:
00051 */