Debian Codegraph @

vendor/Heap-Layers/utility/lcm.h

raw symbols SCIP
1 // -*- C++ -*-
2
3 #ifndef HL_LCM_H
4 #define HL_LCM_H
5
6 #include "gcd.h"
7
8 namespace HL {
9
10 template <int a, int b>
11 class lcm;
12
13 template <int a, int b>
14 class lcm
15 {
16 public:
17 enum { VALUE = (a * b) / (gcd<a, b>::VALUE) };
18 static const int value = (a * b) / (gcd<a, b>::value);
19 };
20
21 }
22
23 #endif