OpenKalman
Functions
get_component_start_indices.hpp File Reference

Definition for coordinates::internal::get_component_start_indices. More...

#include <type_traits>
#include <functional>
#include "values/classes/operation.hpp"
#include "collections/functions/get_size.hpp"
#include "collections/concepts/index.hpp"
#include "linear-algebra/coordinates/concepts/descriptor.hpp"
#include "linear-algebra/coordinates/concepts/descriptor_tuple.hpp"
#include "linear-algebra/coordinates/concepts/pattern.hpp"
#include "get_descriptor_dimension.hpp"
Include dependency graph for get_component_start_indices.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Arg , std::enable_if_t< pattern< Arg >, int > = 0>
auto OpenKalman::coordinates::internal::get_component_start_indices (Arg &&arg)
 A collections::index mapping a component of T to an index within a vector. More...
 

Detailed Description

Definition for coordinates::internal::get_component_start_indices.

Function Documentation

◆ get_component_start_indices()

template<typename Arg , std::enable_if_t< pattern< Arg >, int > = 0>
auto OpenKalman::coordinates::internal::get_component_start_indices ( Arg &&  arg)

A collections::index mapping a component of T to an index within a vector.

The size must be the same as component_collection(t). Each component of the resulting collection must map to the corresponding starting index within a vector.

Returns
A collection of index values