#include <Eigen/Core>
#include <span>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::detail |
Functions | |
template<class Derived> requires (Derived::ColsAtCompileTime == 1) | |
auto | as_span (Eigen::DenseBase< Derived > &v) |
Convert an Eigen vector view to a std::span. | |
template<class Derived> requires (Derived::ColsAtCompileTime == 1) | |
auto | as_span (Eigen::DenseBase< Derived > &&v) |
Convert an Eigen vector view to a std::span. | |
template<class Derived> requires (Derived::ColsAtCompileTime == 1) | |
auto | as_span (const Eigen::DenseBase< Derived > &v) |
Convert an Eigen vector view to a std::span. | |
template<class T, size_t E> | |
auto | as_vec (std::span< T, E > s) |
Convert a std::span to an Eigen::Vector view. |
Variables | |
template<Eigen::Index R> | |
constexpr auto | to_std_extent |
template<size_t E> | |
constexpr auto | to_eigen_extent |