OpenKalman
Functions
arithmetic-operators.hpp File Reference

Arithmetic operators for coordinates::pattern objects. More...

#include "linear-algebra/coordinates/concepts/fixed_pattern.hpp"
#include "linear-algebra/coordinates/concepts/pattern.hpp"
#include "linear-algebra/coordinates/concepts/euclidean_pattern.hpp"
#include "linear-algebra/coordinates/traits/dimension_of.hpp"
#include "linear-algebra/coordinates/descriptors/Dimensions.hpp"
#include "linear-algebra/coordinates/descriptors/DynamicDescriptor.hpp"
#include "linear-algebra/coordinates/descriptors/internal/Concatenate.hpp"
#include "linear-algebra/coordinates/descriptors/internal/Replicate.hpp"
Include dependency graph for arithmetic-operators.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T , typename U , std::enable_if_t< pattern< T > and pattern< U >, int > = 0>
constexpr auto OpenKalman::coordinates::operator+ (T &&t, U &&u)
 Add two sets of coordinates::pattern objects, whether fixed or dynamic.
 
template<typename Arg , typename N , std::enable_if_t< pattern< Arg > and values::index< N >, int > = 0>
constexpr auto OpenKalman::coordinates::operator* (Arg &&arg, const N &n)
 Replicate a coordinates::pattern some number of times.
 
template<typename N , typename Arg , std::enable_if_t< pattern< Arg > and values::index< N >, int > = 0>
constexpr auto OpenKalman::coordinates::operator* (const N &n, Arg &&arg)
 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

Arithmetic operators for coordinates::pattern objects.

Function Documentation

◆ operator*()

template<typename N , typename Arg , std::enable_if_t< pattern< Arg > and values::index< N >, int > = 0>
constexpr auto OpenKalman::coordinates::operator* ( const N &  n,
Arg &&  arg 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Replicate a coordinates::pattern some number of times.