Public Types | Static Public Member Functions | Static Public Attributes | List of all members
EigenProps< Type_ > Struct Template Reference

#include <eigen.h>

Public Types

template<EigenIndex i, EigenIndex ifzero>
using if_zero = std::integral_constant< EigenIndex, i==0 ? ifzero :i >
 
using Scalar = typename Type::Scalar
 
using StrideType = typename eigen_extract_stride< Type >::type
 
using Type = Type_
 

Static Public Member Functions

static EigenConformable< row_majorconformable (const array &a)
 

Static Public Attributes

static constexpr EigenIndex cols = Type::ColsAtCompileTime
 
static constexpr auto descriptor
 
static constexpr bool dynamic = !fixed_rows && !fixed_cols
 
static constexpr bool dynamic_stride = inner_stride == Eigen::Dynamic && outer_stride == Eigen::Dynamic
 
static constexpr bool fixed = size != Eigen::Dynamic
 
static constexpr bool fixed_cols = cols != Eigen::Dynamic
 
static constexpr bool fixed_rows = rows != Eigen::Dynamic
 
static constexpr EigenIndex inner_stride = if_zero<StrideType::InnerStrideAtCompileTime, 1>::value
 
static constexpr EigenIndex outer_stride
 
static constexpr bool requires_col_major = !dynamic_stride && !vector && (row_major ? outer_stride : inner_stride) == 1
 
static constexpr bool requires_row_major = !dynamic_stride && !vector && (row_major ? inner_stride : outer_stride) == 1
 
static constexpr bool row_major = Type::IsRowMajor
 
static constexpr EigenIndex rows = Type::RowsAtCompileTime
 
static constexpr bool show_c_contiguous = show_order && requires_row_major
 
static constexpr bool show_f_contiguous = !show_c_contiguous && show_order && requires_col_major
 
static constexpr bool show_order = is_eigen_dense_map<Type>::value
 
static constexpr bool show_writeable = is_eigen_dense_map<Type>::value && is_eigen_mutable_map<Type>::value
 
static constexpr EigenIndex size = Type::SizeAtCompileTime
 
static constexpr bool vector = Type::IsVectorAtCompileTime
 

Detailed Description

template<typename Type_>
struct EigenProps< Type_ >

Definition at line 146 of file wrap/pybind11/include/pybind11/eigen.h.

Member Typedef Documentation

◆ if_zero

template<typename Type_ >
template<EigenIndex i, EigenIndex ifzero>
using EigenProps< Type_ >::if_zero = std::integral_constant<EigenIndex, i == 0 ? ifzero : i>

Definition at line 160 of file wrap/pybind11/include/pybind11/eigen.h.

◆ Scalar

template<typename Type_ >
using EigenProps< Type_ >::Scalar = typename Type::Scalar

Definition at line 148 of file wrap/pybind11/include/pybind11/eigen.h.

◆ StrideType

template<typename Type_ >
using EigenProps< Type_ >::StrideType = typename eigen_extract_stride<Type>::type

Definition at line 149 of file wrap/pybind11/include/pybind11/eigen.h.

◆ Type

template<typename Type_ >
using EigenProps< Type_ >::Type = Type_

Definition at line 147 of file wrap/pybind11/include/pybind11/eigen.h.

Member Function Documentation

◆ conformable()

template<typename Type_ >
static EigenConformable<row_major> EigenProps< Type_ >::conformable ( const array a)
inlinestatic

Definition at line 177 of file wrap/pybind11/include/pybind11/eigen.h.

Member Data Documentation

◆ cols

template<typename Type_ >
constexpr EigenIndex EigenProps< Type_ >::cols = Type::ColsAtCompileTime
static

Definition at line 150 of file wrap/pybind11/include/pybind11/eigen.h.

◆ descriptor

template<typename Type_ >
constexpr auto EigenProps< Type_ >::descriptor
static
Initial value:
+ const_name<fixed_rows>(const_name<(size_t) rows>(), const_name("m")) + const_name(", ")
+ const_name<fixed_cols>(const_name<(size_t) cols>(), const_name("n")) + const_name("]")
+
const_name<show_writeable>(", flags.writeable", "")
+ const_name<show_c_contiguous>(", flags.c_contiguous", "")
+ const_name<show_f_contiguous>(", flags.f_contiguous", "") + const_name("]")

Definition at line 233 of file wrap/pybind11/include/pybind11/eigen.h.

◆ dynamic

template<typename Type_ >
constexpr bool EigenProps< Type_ >::dynamic = !fixed_rows && !fixed_cols
static

Definition at line 157 of file wrap/pybind11/include/pybind11/eigen.h.

◆ dynamic_stride

template<typename Type_ >
constexpr bool EigenProps< Type_ >::dynamic_stride = inner_stride == Eigen::Dynamic && outer_stride == Eigen::Dynamic
static

Definition at line 168 of file wrap/pybind11/include/pybind11/eigen.h.

◆ fixed

template<typename Type_ >
constexpr bool EigenProps< Type_ >::fixed = size != Eigen::Dynamic
static

Definition at line 156 of file wrap/pybind11/include/pybind11/eigen.h.

◆ fixed_cols

template<typename Type_ >
constexpr bool EigenProps< Type_ >::fixed_cols = cols != Eigen::Dynamic
static

Definition at line 155 of file wrap/pybind11/include/pybind11/eigen.h.

◆ fixed_rows

template<typename Type_ >
constexpr bool EigenProps< Type_ >::fixed_rows = rows != Eigen::Dynamic
static

Definition at line 155 of file wrap/pybind11/include/pybind11/eigen.h.

◆ inner_stride

template<typename Type_ >
constexpr EigenIndex EigenProps< Type_ >::inner_stride = if_zero<StrideType::InnerStrideAtCompileTime, 1>::value
static

Definition at line 162 of file wrap/pybind11/include/pybind11/eigen.h.

◆ outer_stride

template<typename Type_ >
constexpr EigenIndex EigenProps< Type_ >::outer_stride
static
Initial value:
= if_zero < StrideType::OuterStrideAtCompileTime,

Definition at line 163 of file wrap/pybind11/include/pybind11/eigen.h.

◆ requires_col_major

template<typename Type_ >
constexpr bool EigenProps< Type_ >::requires_col_major = !dynamic_stride && !vector && (row_major ? outer_stride : inner_stride) == 1
static

Definition at line 172 of file wrap/pybind11/include/pybind11/eigen.h.

◆ requires_row_major

template<typename Type_ >
constexpr bool EigenProps< Type_ >::requires_row_major = !dynamic_stride && !vector && (row_major ? inner_stride : outer_stride) == 1
static

Definition at line 170 of file wrap/pybind11/include/pybind11/eigen.h.

◆ row_major

template<typename Type_ >
constexpr bool EigenProps< Type_ >::row_major = Type::IsRowMajor
static

Definition at line 152 of file wrap/pybind11/include/pybind11/eigen.h.

◆ rows

template<typename Type_ >
constexpr EigenIndex EigenProps< Type_ >::rows = Type::RowsAtCompileTime
static

Definition at line 150 of file wrap/pybind11/include/pybind11/eigen.h.

◆ show_c_contiguous

template<typename Type_ >
constexpr bool EigenProps< Type_ >::show_c_contiguous = show_order && requires_row_major
static

Definition at line 228 of file wrap/pybind11/include/pybind11/eigen.h.

◆ show_f_contiguous

template<typename Type_ >
constexpr bool EigenProps< Type_ >::show_f_contiguous = !show_c_contiguous && show_order && requires_col_major
static

Definition at line 230 of file wrap/pybind11/include/pybind11/eigen.h.

◆ show_order

template<typename Type_ >
constexpr bool EigenProps< Type_ >::show_order = is_eigen_dense_map<Type>::value
static

Definition at line 227 of file wrap/pybind11/include/pybind11/eigen.h.

◆ show_writeable

template<typename Type_ >
constexpr bool EigenProps< Type_ >::show_writeable = is_eigen_dense_map<Type>::value && is_eigen_mutable_map<Type>::value
static

Definition at line 226 of file wrap/pybind11/include/pybind11/eigen.h.

◆ size

template<typename Type_ >
constexpr EigenIndex EigenProps< Type_ >::size = Type::SizeAtCompileTime
static

Definition at line 151 of file wrap/pybind11/include/pybind11/eigen.h.

◆ vector

template<typename Type_ >
constexpr bool EigenProps< Type_ >::vector = Type::IsVectorAtCompileTime
static

Definition at line 154 of file wrap/pybind11/include/pybind11/eigen.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:02