src
utils
cast.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 INRIA
3
//
4
5
#ifndef __pinocchio_utils_cast_hpp__
6
#define __pinocchio_utils_cast_hpp__
7
8
#include <Eigen/Core>
9
10
namespace
pinocchio
11
{
12
template
<
typename
NewScalar,
typename
Scalar>
13
NewScalar
cast
(
const
Scalar
& value)
14
{
15
return
Eigen::internal::cast_impl<Scalar,NewScalar>::run
(value);
16
}
17
}
// namespace pinocchio
18
19
#endif // ifndef __pinocchio_utils_cast_hpp__
pinocchio::cast
NewScalar cast(const Scalar &value)
Definition:
cast.hpp:13
pinocchio::python::Scalar
SE3::Scalar Scalar
Definition:
conversions.cpp:13
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:28
omniidl_be_python_with_docstring.run
def run(tree, args)
Definition:
cmake/hpp/idl/omniidl_be_python_with_docstring.py:140
pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:29