EmrysFilter
0.1.0
State estimation utilities in C++23 using Eigen
Toggle main menu visibility
Loading...
Searching...
No Matches
Params.h
Go to the documentation of this file.
1
#pragma once
2
12
13
namespace
Emrys
14
{
15
21
template
<
typename
D>
22
struct
ParamsOf
23
{
24
using
type
= D;
25
};
26
28
template
<
typename
D>
29
requires
requires
{
typename
D::ParamsType; }
30
struct
ParamsOf<D>
31
{
32
using
type
=
typename
D::ParamsType;
33
};
34
36
41
template
<
typename
D>
42
using
Params
=
typename
ParamsOf<D>::type
;
43
49
template
<
typename
P>
50
struct
DensityOf
51
{
52
using
type
= P;
53
};
54
56
template
<
typename
P>
57
requires
requires
{
typename
P::DensityType; }
58
struct
DensityOf<P>
59
{
60
using
type
=
typename
P::DensityType;
61
};
62
64
70
template
<
typename
P>
71
using
Density
=
typename
DensityOf<P>::type
;
72
73
}
// namespace Emrys
Emrys::Density
typename DensityOf< P >::type Density
The density of the parameters P: Gaussian for GaussianParams, and P itself for a type that is its own...
Definition
Params.h:71
Emrys::Params
typename ParamsOf< D >::type Params
The parameters of the density D: GaussianParams for a Gaussian, and D itself for a distribution whose...
Definition
Params.h:42
Emrys::DensityOf
The density of the parameters P, as its member DensityType: what its toDensity() returns.
Definition
Params.h:51
Emrys::DensityOf::type
P type
the density: P itself
Definition
Params.h:52
Emrys::ParamsOf
The parameters of the density D, as its member ParamsType: the type it borrows from,...
Definition
Params.h:23
Emrys::ParamsOf::type
D type
the parameters: D itself
Definition
Params.h:24
EmrysFilter
Distributions
Params.h
Generated by
1.18.0