aligator  0.13.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
 
Loading...
Searching...
No Matches
eigen-map.hpp File Reference
#include "aligator/memory/allocator.hpp"
#include <new>
Include dependency graph for eigen-map.hpp:

Go to the source code of this file.

Namespaces

namespace  aligator
 Main package namespace.
 

Functions

template<typename MatrixType, int Alignment = Eigen::AlignedMax>
auto aligator::allocate_eigen_map (polymorphic_allocator alloc, Eigen::Index rows, Eigen::Index cols)
 
template<typename MatrixType, int Alignment = Eigen::AlignedMax>
auto aligator::allocate_eigen_map (polymorphic_allocator alloc, Eigen::Index size)
 
template<typename MatrixType, int Alignment>
void aligator::emplace_map_steal (Eigen::Map< MatrixType, Alignment > &map, Eigen::Map< MatrixType, Alignment > &other)
 In-place construct a map from another one by stealing the other's data.
 
template<typename MatrixType, int Alignment>
void aligator::emplace_map_from_data (Eigen::Map< MatrixType, Alignment > &map, Eigen::Index rows, Eigen::Index cols, typename MatrixType::Scalar *data)
 Use placement new to create an Eigen::Map object with given dimensions and data pointer.
 
template<typename MatrixType, int Alignment>
void aligator::emplace_map_from_data (Eigen::Map< MatrixType, Alignment > &map, Eigen::Index size, typename MatrixType::Scalar *data)
 
template<typename MatrixType, int Alignment>
void aligator::emplace_allocated_map (Eigen::Map< MatrixType, Alignment > &map, Eigen::Index rows, Eigen::Index cols, polymorphic_allocator alloc)
 Use placement new and an allocator to create an Eigen::Map object to it.
 
template<typename MatrixType, int Alignment>
void aligator::emplace_allocated_map (Eigen::Map< MatrixType, Alignment > &map, Eigen::Index size, polymorphic_allocator alloc)
 Use placement new and an allocator to create an Eigen::Map object to it.
 
template<typename MatrixType, int Alignment>
void aligator::emplace_resize_map (Eigen::Map< MatrixType, Alignment > &map, Eigen::Index rows, Eigen::Index cols, polymorphic_allocator alloc)
 
template<typename MatrixType, int Alignment>
void aligator::deallocate_map (Eigen::Map< MatrixType, Alignment > &map, polymorphic_allocator alloc)
 
template<typename MatrixType, int Alignment>
void aligator::emplace_map_copy (Eigen::Map< MatrixType, Alignment > &map, const Eigen::Map< MatrixType, Alignment > &other, polymorphic_allocator alloc)
 Create a deep copy of a managed Eigen::Map object.