OpenKalman
Classes | Namespaces | Functions | Variables
constant_coefficient.hpp File Reference

Definition for constant_coefficient. More...

#include <type_traits>
#include "values/values.hpp"
#include "linear-algebra/interfaces/object-traits-defined.hpp"
#include "linear-algebra/concepts/indexible.hpp"
#include "linear-algebra/concepts/one_dimensional.hpp"
Include dependency graph for constant_coefficient.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenKalman::values::constant_coefficient< T, typename >
 The constant associated with T, assuming T is a constant_matrix. More...
 
struct  OpenKalman::values::detail::has_static_constant_impl< T, typename >
 
struct  OpenKalman::values::detail::has_static_constant_impl< T, std::enable_if_t< values::fixed< typename interface::get_constant_diagonal_return_type< T >::type > > >
 
struct  OpenKalman::values::constant_coefficient< T, std::enable_if_t< indexible< T > and detail::has_static_constant< T > > >
 
struct  OpenKalman::values::constant_coefficient< T, std::enable_if_t<(values::dynamic< typename interface::get_constant_return_type< T >::type > or one_dimensional< T >) and(not detail::has_static_constant< T >)> >
 

Namespaces

 OpenKalman::values
 Definition for values::abs.
 
 OpenKalman
 The root namespace for OpenKalman.
 

Functions

template<typename T >
 OpenKalman::values::constant_coefficient (const T &) -> constant_coefficient< T >
 Deduction guide for constant_coefficient.
 

Variables

template<typename T >
constexpr auto OpenKalman::values::constant_coefficient_v = constant_coefficient<T>::value
 Helper template for constant_coefficient.
 
template<typename T >
constexpr auto OpenKalman::values::detail::const_diag_value
 
template<typename T >
constexpr bool OpenKalman::values::detail::has_static_constant
 

Detailed Description

Definition for constant_coefficient.

Variable Documentation

◆ const_diag_value

template<typename T >
constexpr auto OpenKalman::values::detail::const_diag_value
Initial value:
=
std::decay_t<decltype(interface::indexible_object_traits<std::decay_t<T>>::get_constant_diagonal(std::declval<T>()))>::value
constexpr bool value
T is numerical value or is reducible to a numerical value.
Definition: value.hpp:31

◆ has_static_constant

template<typename T >
constexpr bool OpenKalman::values::detail::has_static_constant
Initial value:
= values::fixed<typename interface::get_constant_return_type<T>::type> or
constexpr bool value
T is numerical value or is reducible to a numerical value.
Definition: value.hpp:31