IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
integer_pow.hpp
Go to the documentation of this file.
1
15#pragma once
16
17namespace iganet {
18namespace utils {
19
22template <int E, int N> struct integer_pow {
23 enum { value = E * integer_pow<E, N - 1>::value };
24};
25
26template <int E> struct integer_pow<E, 0> {
27 enum { value = 1 };
28};
30
31} // namespace utils
32} // namespace iganet
Definition boundary.hpp:22
constexpr bool is_SplineType_v
Alias to the value of is_SplineType.
Definition bspline.hpp:3243
Computes the power of integer E to the N at compile time.
Definition integer_pow.hpp:22
@ value
Definition integer_pow.hpp:23