Loading [MathJax]/extensions/tex2jax.js
NiHu
2.0
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
c
d
f
i
m
n
p
q
r
s
t
v
x
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
Enumerator
d
i
j
k
l
m
n
o
p
q
r
s
t
Files
File List
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
real_part_type.hpp
1
#ifndef REAL_PART_TYPE_HPP_INCLUDED
2
#define REAL_PART_TYPE_HPP_INCLUDED
3
4
namespace
NiHu
5
{
6
9
template
<
class
T>
10
struct
real_part_type
11
{
12
typedef
T type;
13
};
14
17
template
<
class
T>
18
struct
real_part_type
<std::complex<T> >
19
{
20
typedef
T type;
21
};
22
23
}
// end of namespace NiHu
24
25
#endif // REAL_PART_TYPE_HPP_INCLUDED
NiHu::real_part_type
metafunction returning the real scalar part type
Definition:
real_part_type.hpp:10
src
util
real_part_type.hpp
Generated on Sun Apr 6 2025 01:00:17 for NiHu by
1.8.18