1 // -*- C++ -*-
2 //
3 // Helper functions for 3x3 matrices defined as Vec[3].
4 //
5 // Copyright (C) 2008-2011 Jakob Schiotz and Center for Individual
6 // Nanoparticle Functionality, Department of Physics, Technical
7 // University of Denmark.  Email: schiotz@fysik.dtu.dk
8 //
9 // This file is part of Asap version 3.
10 // Asap is released under the GNU Lesser Public License (LGPL) version 3.
11 // However, the parts of Asap distributed within the OpenKIM project
12 // (including this file) are also released under the Common Development
13 // and Distribution License (CDDL) version 1.0.
14 //
15 // This program is free software: you can redistribute it and/or
16 // modify it under the terms of the GNU Lesser General Public License
17 // version 3 as published by the Free Software Foundation.  Permission
18 // to use other versions of the GNU Lesser General Public License may
19 // granted by Jakob Schiotz or the head of department of the
20 // Department of Physics, Technical University of Denmark, as
21 // described in section 14 of the GNU General Public License.
22 //
23 // This program is distributed in the hope that it will be useful,
24 // but WITHOUT ANY WARRANTY; without even the implied warranty of
25 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 // GNU General Public License for more details.
27 //
28 // You should have received a copy of the GNU General Public License
29 // and the GNU Lesser Public License along with this program.  If not,
30 // see <http://www.gnu.org/licenses/>.
31 
32 #ifndef _MATRIX3X3_H
33 #define _MATRIX3X3_H
34 
35 #include "Vec.h"
36 
37 namespace ASAPSPACE {
38 
39 void matrixMultiply3x3(Vec product[3], const Vec a[3], const Vec b[3]);
40 
41 } // end namespace
42 
43 #endif // _MATRIX3X3_H
44