OpenKalman
Namespaces | Functions
make_constant.hpp File Reference

Definitions for make_constant. More...

#include "linear-algebra/functions/internal/constant_mdspan_policies.hpp"
#include "linear-algebra/concepts/constant_object.hpp"
#include "linear-algebra/adapters/pattern_adapter.hpp"
#include "linear-algebra/functions/attach_pattern.hpp"
Include dependency graph for make_constant.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenKalman
 The root namespace for OpenKalman.
 
 OpenKalman::detail
 T is an acceptable noise perturbation input to a tests.
 

Functions

template<typename C , typename IndexType , std::size_t... Extents, std::enable_if_t< values::value< C >, int > = 0>
constexpr auto OpenKalman::make_constant (C c, stdex::extents< IndexType, Extents... > extents)
 Make an indexible object in which every element is a constant value. More...
 
template<std::size_t N, std::size_t i = 0, std::size_t... SDs, typename P , typename... Ds>
constexpr auto OpenKalman::detail::derive_extents (const P &p, Ds...ds)
 
template<typename C , typename P , std::enable_if_t< values::value< C > and coordinates::pattern_collection< P > and values::fixed< collections::size_of< P >>, int > = 0>
constexpr auto OpenKalman::make_constant (C c, P &&p)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename C , typename... Ps, std::enable_if_t< values::value< C > and(... and coordinates::pattern< Ps >), int > = 0>
constexpr auto OpenKalman::make_constant (C c, Ps &&...ps)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename C , typename P , std::enable_if_t< coordinates::pattern_collection< P > and values::value< C > and values::fixed< collections::size_of< P >>, int > = 0>
constexpr auto OpenKalman::make_constant (C c)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Definitions for make_constant.