IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
integer_pow.hpp
Go to the documentation of this file.
1
15
#pragma once
16
17
namespace
iganet::utils
{
18
21
template
<
int
E,
int
N>
struct
integer_pow
{
22
enum
{
value
= E *
integer_pow
<E, N - 1>
::value
};
23
};
24
25
template
<
int
E>
struct
integer_pow
<E, 0> {
26
enum
{
value
= 1 };
27
};
29
30
}
// namespace iganet::utils
iganet::utils
Definition
blocktensor.hpp:24
iganet::utils::integer_pow
Computes the power of integer E to the N at compile time.
Definition
integer_pow.hpp:21
iganet::utils::integer_pow::value
@ value
Definition
integer_pow.hpp:22
include
utils
integer_pow.hpp
Generated on Thu Jan 8 2026 19:25:17 for IgANet by
1.9.8