OpenKalman
Namespaces | Functions
make_constant_diagonal.hpp File Reference

Definitions for make_constant_diagonal. More...

#include "linear-algebra/concepts/constant_diagonal_object.hpp"
#include "to_diagonal.hpp"
#include "make_constant.hpp"
Include dependency graph for make_constant_diagonal.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.
 

Functions

template<typename C , typename IndexType , std::size_t... Extents, std::enable_if_t< values::value< C >, int > = 0>
constexpr auto OpenKalman::make_constant_diagonal (C c, stdex::extents< IndexType, Extents... > extents)
 Make an indexible object in which every diagonal element is a constant value. More...
 
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_diagonal (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_diagonal (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_diagonal (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_diagonal.