guanaqo develop
Utilities for scientific software
Loading...
Searching...
No Matches
view.hpp File Reference

Detailed Description

Conversions between Eigen expressions, maps and refs, and guanaqo::MatrixView.

Definition in file view.hpp.

#include <guanaqo/mat-view.hpp>
#include <Eigen/Core>
#include <type_traits>
Include dependency graph for view.hpp:

Go to the source code of this file.

Classes

struct  guanaqo::with_index_type_t< I >

Namespaces

namespace  guanaqo
namespace  guanaqo::detail

Functions

template<class Derived, class I>
auto guanaqo::detail::as_view_impl (auto &M)
template<class Derived, class I = typename Derived::Index>
auto guanaqo::as_view (Eigen::DenseBase< Derived > &M, with_index_type_t< I >={})
 Convert an Eigen matrix view to a guanaqo::MatrixView.
template<class Derived, class I = typename Derived::Index>
auto guanaqo::as_view (const Eigen::DenseBase< Derived > &M, with_index_type_t< I >={})
 Convert an Eigen matrix view to a guanaqo::MatrixView.
template<class Derived, class I = typename Derived::Index>
auto guanaqo::as_view (Eigen::DenseBase< Derived > &&M, with_index_type_t< I >={})
 Convert an Eigen matrix view to a guanaqo::MatrixView.
template<class Derived, class I = typename Derived::Index>
auto guanaqo::as_view (const Eigen::DenseBase< Derived > &&M, with_index_type_t< I >={})
 Convert an Eigen matrix view to a guanaqo::MatrixView.
template<class T, class I, class S, StorageOrder O>
auto guanaqo::as_eigen (MatrixView< T, I, S, O > M)
 Convert a guanaqo::MatrixView to an Eigen::Matrix view.

Variables

template<class I>
constexpr with_index_type_t< I > guanaqo::with_index_type

Class Documentation

◆ guanaqo::with_index_type_t

struct guanaqo::with_index_type_t
Collaboration diagram for guanaqo::with_index_type_t< I >: