Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
w
x
y
+
Functions
_
a
c
d
e
f
g
i
m
n
p
r
s
t
u
+
Variables
_
a
b
c
d
e
i
l
m
n
p
q
r
s
t
v
w
x
y
+
Classes
Class List
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
v
w
x
y
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
~
+
Variables
b
c
d
e
f
i
j
l
m
n
o
p
s
t
v
w
x
y
+
Typedefs
_
a
b
c
d
e
f
i
k
l
m
n
p
q
r
s
t
v
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
e
f
g
i
l
m
n
p
r
s
t
v
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
+
Macros
_
b
e
n
p
include
eigenpy
utils
scalar-name.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2020 INRIA
3
*/
4
5
#ifndef __eigenpy_utils_scalar_name_hpp__
6
#define __eigenpy_utils_scalar_name_hpp__
7
8
#include <complex>
9
#include <string>
10
11
namespace
eigenpy
{
12
template
<
typename
Scalar>
13
struct
scalar_name
{
14
static
std::string
shortname
();
15
};
16
17
template
<>
18
struct
scalar_name
<float> {
19
static
std::string
shortname
() {
return
"f"
; };
20
};
21
22
template
<>
23
struct
scalar_name
<double> {
24
static
std::string
shortname
() {
return
"d"
; };
25
};
26
27
template
<>
28
struct
scalar_name
<long double> {
29
static
std::string
shortname
() {
return
"ld"
; };
30
};
31
32
template
<
typename
Scalar>
33
struct
scalar_name
<std::complex<Scalar> > {
34
static
std::string
shortname
() {
return
"c"
+
scalar_name<Scalar>
(); };
35
};
36
}
// namespace eigenpy
37
38
#endif // ifndef __eigenpy_utils_scalar_name_hpp__
eigenpy::scalar_name
Definition:
scalar-name.hpp:13
eigenpy::scalar_name< long double >::shortname
static std::string shortname()
Definition:
scalar-name.hpp:29
eigenpy
Definition:
alignment.hpp:14
eigenpy::scalar_name::shortname
static std::string shortname()
eigenpy::scalar_name< float >::shortname
static std::string shortname()
Definition:
scalar-name.hpp:19
eigenpy::scalar_name< double >::shortname
static std::string shortname()
Definition:
scalar-name.hpp:24
eigenpy::scalar_name< std::complex< Scalar > >::shortname
static std::string shortname()
Definition:
scalar-name.hpp:34
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:26