gpp4  1.3.1
cvecmat.h
Go to the documentation of this file.
1 /*
2  cvecmat.h: header file for cvecmat.c
3  Copyright (C) 2001 CCLRC, Martyn Winn
4 
5  This library is free software: you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation, either
8  version 3 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with This library. If not, see
17  <http://www.gnu.org/licenses/>.
18 
19 */
20 
26 #ifndef __CCP4_VECMAT
27 #define __CCP4_VECMAT
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 void ccp4_dcross(const double a[3], const double b[3], double c[3]);
34 void ccp4_3matmul(double c[3][3], const double a[3][3], const double b[3][3]);
35 void ccp4_4matmul( float c[4][4], const float a[4][4], const float b[4][4]);
36 double invert3matrix(const double a[3][3], double ai[3][3]);
37 float invert4matrix(const float a[4][4], float ai[4][4]);
38 
39 float ccp4_pow_ii(const float base, const int power);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif
47 /*
48  Local variables:
49  mode: font-lock
50  End:
51 */