include
pinocchio
container
container/aligned-vector.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2016-2024 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_container_aligned_vector_hpp__
6
#define __pinocchio_container_aligned_vector_hpp__
7
8
#include <vector>
9
#include <Eigen/StdVector>
10
11
#define PINOCCHIO_ALIGNED_STD_VECTOR(Type) ::pinocchio::container::aligned_vector<Type>
12
13
#define PINOCCHIO_STD_VECTOR_WITH_EIGEN_ALLOCATOR(T) ::pinocchio::container::aligned_vector<T>
14
15
namespace
pinocchio
16
{
17
namespace
container
18
{
19
20
template
<
typename
T>
21
using
aligned_vector
= std::vector<T, Eigen::aligned_allocator<T>>;
22
23
}
// namespace container
24
25
}
// namespace pinocchio
26
27
#endif // ifndef __pinocchio_container_aligned_vector_hpp__
pinocchio::container::aligned_vector
std::vector< T, Eigen::aligned_allocator< T > > aligned_vector
Definition:
container/aligned-vector.hpp:21
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:38