aligator  0.14.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
 
Loading...
Searching...
No Matches
fmt-eigen.hpp
Go to the documentation of this file.
1
3#pragma once
4
5#include "math.hpp"
6#include <fmt/ostream.h>
7#include <fmt/ranges.h>
8
11template <typename MatrixType>
12struct fmt::formatter<MatrixType,
13 ::aligator::enable_if_eigen_dense<MatrixType, char>>
14 : fmt::ostream_formatter {};
15
16template <typename MatrixType>
17struct fmt::is_range<MatrixType,
18 ::aligator::enable_if_eigen_dense<MatrixType, char>>
19 : std::false_type {};
20
21template <typename MatrixType>
22struct fmt::formatter<Eigen::WithFormat<MatrixType>>
23 : public fmt::ostream_formatter {};
Math utilities.
std::enable_if_t< is_eigen_dense_type< T >, T2 > enable_if_eigen_dense
Definition math.hpp:64