16 #ifndef OPENKALMAN_GLOBAL_DEFINITIONS_HPP 17 #define OPENKALMAN_GLOBAL_DEFINITIONS_HPP 19 #include <type_traits> 31 inline constexpr std::size_t
dynamic_size = std::dynamic_extent;
33 inline constexpr std::size_t dynamic_size = std::numeric_limits<std::size_t>::max();
146 using type = std::conditional_t<std::is_rvalue_reference_v<T>, std::remove_reference_t<T>, T>;
192 #endif //OPENKALMAN_GLOBAL_DEFINITIONS_HPP TriangleType
The type of a triangular matrix.
Definition: global-definitions.hpp:60
Row-major storage (C or C++ style): contiguous storage in which the right-most index has a stride of ...
No storage layout (e.g., if the elements are calculated rather than stored).
Lower, upper, or diagonal matrix.
Definition: tuple_reverse.hpp:103
HermitianAdapterType
The type of a hermitian adapter, indicating which triangle of the nested matrix is used...
Definition: global-definitions.hpp:78
An upper-right triangular matrix.
If T is an rvalue reference, remove the reference.
Definition: global-definitions.hpp:144
typename remove_rvalue_reference< T >::type remove_rvalue_reference_t
Helper type for remove_rvalue_reference.
Definition: global-definitions.hpp:154
The root namespace for OpenKalman.
Definition: basics.hpp:34
The concept, trait, or restraint is permitted, but whether it applies is not necessarily known at com...
Column-major storage (Fortran, Matlab, or Eigen style): contiguous storage in which the left-most ext...
Applicability
The applicability of a concept, trait, or restraint.
Definition: global-definitions.hpp:93
A generalization of the above: a custom stride is specified for each index.
constexpr std::ptrdiff_t dynamic_difference
A constant indicating that a difference in sizes or indices is dynamic.
Definition: global-definitions.hpp:41
Layout
The layout format of a multidimensional array.
Definition: global-definitions.hpp:47
Definition: global-definitions.hpp:130
A diagonal matrix (both a lower-left and an upper-right triangular matrix).
Definition: global-definitions.hpp:124
constexpr std::size_t dynamic_size
A constant indicating that a size or index is dynamic.
Definition: global-definitions.hpp:33
Whether the argument is a specialization of std::initializer_list.
Definition: global-definitions.hpp:165
The concept, trait, or restraint represents a compile-time guarantee.
A lower-left triangular matrix.