Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
matrix.h
Go to the documentation of this file.
1 /************************************************************************/
2 /**
3 
4  \file matrix.h
5 
6  \version V1.9
7  \date 14.08.14
8  \brief Include file for matrix operations
9 
10  \copyright (c) UCL / Dr. Andrew C. R. Martin 1995-2014
11  \author Dr. Andrew C. R. Martin
12  \par
13  Institute of Structural & Molecular Biology,
14  University College London,
15  Gower Street,
16  London.
17  WC1E 6BT.
18  \par
19  andrew@bioinf.org.uk
20  andrew.martin@ucl.ac.uk
21 
22 **************************************************************************
23 
24  This code is NOT IN THE PUBLIC DOMAIN, but it may be copied
25  according to the conditions laid out in the accompanying file
26  COPYING.DOC.
27 
28  The code may be modified as required, but any modifications must be
29  documented so that the person responsible can be identified.
30 
31  The code may not be sold commercially or included as part of a
32  commercial product except as described in the file COPYING.DOC.
33 
34 **************************************************************************
35 
36  Description:
37  ============
38 
39 
40 **************************************************************************
41 
42  Usage:
43  ======
44 
45 **************************************************************************
46 
47  Revision History:
48  =================
49 
50 - V1.7 07.07.14 Use bl prefix for functions By: CTP
51 - V1.8 31.07.14 Updated deprecation: Removed deprecated.h and added
52  prototypes for renamed functions. By: CTP
53 - V1.9 14.08.14 Moved deprecated function prototypes to deprecated.h
54  By: CTP
55 
56 *************************************************************************/
57 /* Includes
58 */
59 
60 /************************************************************************/
61 /* Defines and macros
62 */
63 
64 /************************************************************************/
65 /* Globals
66 */
67 
68 /************************************************************************/
69 /* Prototypes
70 */
71 
72 /************************************************************************/
73 
74 #ifndef _MATRIX_H
75 #define _MATRIX_H
76 #include "MathType.h"
77 
78 /* Prototypes */
79 void blMatMult3_33(VEC3F vecin, REAL matin[3][3], VEC3F *vecout);
80 void blMatMult33_33(REAL a[3][3], REAL b[3][3], REAL out[3][3]);
81 void blInvert33(REAL s[3][3], REAL ss[3][3]);
82 void blCreateRotMat(char direction, REAL angle, REAL matrix[3][3]);
83 REAL blVecDist(REAL *a, REAL *b, int len);
84 
85 /************************************************************************/
86 /* Include deprecated functions */
87 #define _MATRIX_H_DEPRECATED
88 # include "deprecated.h"
89 /************************************************************************/
90 
91 
92 #endif
void blInvert33(REAL s[3][3], REAL ss[3][3])
Definition: invert33.c:102
Redirect calls to deprecated functions.
Definition: MathType.h:69
void blCreateRotMat(char direction, REAL angle, REAL matrix[3][3])
Definition: CreateRotMat.c:101
double REAL
Definition: MathType.h:67
REAL blVecDist(REAL *a, REAL *b, int len)
Definition: VecDist.c:98
void blMatMult3_33(VEC3F vecin, REAL matin[3][3], VEC3F *vecout)
Definition: MatMult3_33.c:100
void blMatMult33_33(REAL a[3][3], REAL b[3][3], REAL out[3][3])
Definition: MatMult33_33.c:99
Type definitions for maths.