include
pinocchio
utils
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__
omniidl_be_python_with_docstring.run
def run(tree, args)
Definition:
cmake/hpp/idl/omniidl_be_python_with_docstring.py:140
pinocchio::python::Scalar
context::Scalar Scalar
Definition:
admm-solver.cpp:29
pinocchio::cast
NewScalar cast(const Scalar &value)
Definition:
utils/cast.hpp:13
value
float value
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:26