OpenKalman
Classes | Functions
get_slice.hpp File Reference

Definition for coordinates::get_slice. More...

#include "linear-algebra/coordinates/descriptors/internal/Slice.hpp"
Include dependency graph for get_slice.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenKalman::coordinates::detail::slice_is_within_range< T, Offset, Extent, typename >
 
struct  OpenKalman::coordinates::detail::slice_is_within_range< T, Offset, Extent, std::enable_if_t< values::dynamic< Offset > and values::dynamic< Extent > > >
 

Functions

template<typename Scalar , typename Arg , typename Offset , typename Extent , std::enable_if_t< values::number< Scalar > and coordinates::pattern< Arg > and values::index< Offset > and values::index< Extent > and(dynamic_pattern< Arg > or detail::slice_is_within_range< Arg, Offset, Extent >::value), int > = 0>
constexpr auto OpenKalman::coordinates::get_slice (Arg &&arg, const Offset &offset, const Extent &extent)
 Get a slice of coordinates::pattern T. More...
 

Detailed Description

Definition for coordinates::get_slice.

Function Documentation

◆ get_slice()

template<typename Scalar , typename Arg , typename Offset , typename Extent , std::enable_if_t< values::number< Scalar > and coordinates::pattern< Arg > and values::index< Offset > and values::index< Extent > and(dynamic_pattern< Arg > or detail::slice_is_within_range< Arg, Offset, Extent >::value), int > = 0>
constexpr auto OpenKalman::coordinates::get_slice ( Arg &&  arg,
const Offset &  offset,
const Extent &  extent 
)

Get a slice of coordinates::pattern T.

Template Parameters
TThe coordinates::pattern
OffsetThe beginning location of the slice.
ExtentThe size of the slize.