Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
LatticeGCD.h
Go to the documentation of this file.
1/* This file is part of PIL, the Particle Interaction Library.
2 *
3 *
4 * MODEL is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_LatticeGCD_h_
9#define model_LatticeGCD_h_
10
11#include <Eigen/Dense>
12
13namespace model
14{
15 template <int dim>
17 {
18
19 typedef Eigen::Matrix<long int,dim,1> VectorDimI;
20
21
22 /**********************************************************************/
23 static long int gcd(const long int& a,const long int& b);
24
25 /**********************************************************************/
26 static long int gcd(const long int& a,const long int& b,const long int& c);
27
28 /**********************************************************************/
29 static long int gcd(const VectorDimI& v);
30 };
31
32} // end namespace
33#endif
c
Definition int_R.m:15
a
Definition int_R.m:14
b
Definition int_R.m:16
static long int gcd(const long int &a, const long int &b)
Eigen::Matrix< long int, dim, 1 > VectorDimI
Definition LatticeGCD.h:19
REAL v[4]