OpenKalman
Namespaces | Functions
diagonal_of.hpp File Reference

Definition for diagonal_of function. More...

#include "patterns/patterns.hpp"
#include "linear-algebra/concepts/indexible.hpp"
#include "linear-algebra/traits/get_mdspan.hpp"
#include "linear-algebra/concepts/compares_with_pattern_collection.hpp"
#include "linear-algebra/concepts/pattern_collection_for.hpp"
#include "linear-algebra/concepts/diagonal_matrix.hpp"
#include "linear-algebra/functions/attach_patterns.hpp"
#include "linear-algebra/functions/make_constant.hpp"
#include "linear-algebra/functions/internal/make_wrapped_mdspan.hpp"
#include "linear-algebra/interfaces/stl/diagonal_of_mdspan_policies.hpp"
Include dependency graph for diagonal_of.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 Arg , std::enable_if_t< indexible< Arg >, int > = 0>
decltype(auto) constexpr OpenKalman::diagonal_of (Arg &&arg)
 Extract a column vector (or column slice for rank>2 tensors) comprising the diagonal elements. More...
 

Detailed Description

Definition for diagonal_of function.