EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Time.h File Reference

Time steps (decisions.md [time-steps]): TimeTraits, which converts a time type to a scalar, the TimeStep concept that a filter's predict() takes its step through, and Steps, a count of a fixed-step model's steps. More...

#include <chrono>
#include <concepts>
#include <type_traits>
#include <Eigen/Core>
#include <EmrysFilter/Core/Macros.h>

Go to the source code of this file.

Classes

struct  Emrys::TimeTraits< Time >
 How a time type converts to a scalar, as a static member template toScalar<Scalar>(t) returning Scalar, in the unit of the parameters of the models it steps. More...
struct  Emrys::TimeTraits< Time >
 A floating-point number, taken as it is and converted to the scalar. More...
struct  Emrys::TimeTraits< std::chrono::duration< Rep, Period > >
 A std::chrono::duration, converted to seconds in the scalar by its period. More...
struct  Emrys::Steps
 A count of a fixed-step model's steps, for predict(Steps{n}). More...

Concepts

concept  Emrys::TimeStep
 A step of time that converts to Scalar: Scalar itself, or any type with a TimeTraits, such as a floating-point number or a std::chrono::duration.

Detailed Description

Time steps (decisions.md [time-steps]): TimeTraits, which converts a time type to a scalar, the TimeStep concept that a filter's predict() takes its step through, and Steps, a count of a fixed-step model's steps.

Read Weights.h next.