ARTS 2.5.4 (git: 31ce4f0e)
matpack::eigen Namespace Reference

Classes

struct  eigen_type
 Setup for eigen mapping. More...
 

Concepts

concept  standard_vector
 Test if the type represents a standard layout std::vector or std::array.
 

Typedefs

template<typename internal_type , bool constant_type = true>
using eigen_map = typename eigen_type< internal_type, constant_type >::map
 An actual map to an eigen type. More...
 
template<typename internal_type , bool constant_type = true>
using eigen_stride = typename eigen_type< internal_type, constant_type >::stride_type
 The stride of the eigen type. More...
 

Functions

auto col_vec (matpack::vector auto &&x)
 Map the input to a non-owning const-correct Eigen Map representing a column vector. More...
 
auto row_vec (matpack::vector auto &&x)
 Map the input to a non-owning const-correct Eigen Map representing a row vector. More...
 
auto mat (matpack::matrix auto &&x)
 Map the input to a non-owning const-correct Eigen Map representing a row matrix. More...
 
auto col_vec (standard_vector auto &&x)
 Map the input to a non-owning const Eigen Map representing a column vector. More...
 
auto row_vec (standard_vector auto &&x)
 Map the input to a non-owning const Eigen Map representing a row vector. More...
 

Typedef Documentation

◆ eigen_map

template<typename internal_type , bool constant_type = true>
using matpack::eigen::eigen_map = typedef typename eigen_type<internal_type, constant_type>::map

An actual map to an eigen type.

Definition at line 43 of file matpack_eigen.h.

◆ eigen_stride

template<typename internal_type , bool constant_type = true>
using matpack::eigen::eigen_stride = typedef typename eigen_type<internal_type, constant_type>::stride_type

The stride of the eigen type.

Definition at line 47 of file matpack_eigen.h.

Function Documentation

◆ col_vec() [1/2]

auto matpack::eigen::col_vec ( matpack::vector auto &&  x)

Map the input to a non-owning const-correct Eigen Map representing a column vector.

Definition at line 50 of file matpack_eigen.h.

Referenced by Zeeman::dsum(), and Zeeman::sum().

◆ col_vec() [2/2]

auto matpack::eigen::col_vec ( standard_vector auto &&  x)

Map the input to a non-owning const Eigen Map representing a column vector.

Definition at line 99 of file matpack_eigen.h.

◆ mat()

◆ row_vec() [1/2]

auto matpack::eigen::row_vec ( matpack::vector auto &&  x)

Map the input to a non-owning const-correct Eigen Map representing a row vector.

Definition at line 63 of file matpack_eigen.h.

Referenced by Zeeman::dsum(), iyRadarSingleScat(), Zeeman::sum(), test01(), and test03().

◆ row_vec() [2/2]

auto matpack::eigen::row_vec ( standard_vector auto &&  x)

Map the input to a non-owning const Eigen Map representing a row vector.

Definition at line 110 of file matpack_eigen.h.