MVUE
1.0
MVUE / BLUE (Minimum Variance Unbiased Estimator / Best Linear Unbiassed Estimator)
Toggle main menu visibility
Loading...
Searching...
No Matches
mvue_3.h
Go to the documentation of this file.
1
5
* @details
6
* This file defines the @ref estimators::mvue::MVUE_3 class, which
7
* implements a Minimum Variance Unbiased Estimator (MVUE) for combining
8
* three measurements.
9
*
10
* Each measurement is associated with a variance. The estimator combines
11
* the measurements according to their variances, giving greater weight
12
* to measurements with lower variance.
13
*
14
* The class is templated to support different numeric types such as
15
* @c float and @c double.
16
*
17
* @tparam T Numeric data type used for the estimator calculations.
18
*
19
* @author Abhinay Kumar
20
* @version 1.0
21
* @date 2026-08-11
22
*
23
* @copyright
24
* Copyright (c) 2026 Abhinay Kumar
25
*/
26
27
#ifndef ESTIMATORS_MVUE_3_H_BLUE_3_H
28
#define ESTIMATORS_MVUE_3_H_BLUE_3_H
29
30
namespace
estimators
31
{
33
35
*/
36
37
namespace
mvue
38
{
43
68
template
<
typename
T>
69
class
MVUE_3
70
{
71
public
:
80
MVUE_3
();
81
85
~MVUE_3
();
86
98
void
init
(T var_1_, T var_2_, T var_3_);
99
111
void
set_param
(T var_1_, T var_2_, T var_3_);
112
127
T
update
(T x1_i, T x2_i, T x3_i);
128
135
void
reset
();
136
137
private
:
141
T
var_1
= 0.0;
142
146
T
var_2
= 0.0;
147
151
T
var_3
= 0.0;
152
};
153
154
#include "
../src/MVUE_3.tpp
"
155
156
}
// namespace mvue
157
158
}
// namespace estimators
159
160
#endif
// ESTIMATORS_MVUE_3_H_BLUE_3_H
estimators::mvue::MVUE_3::update
T update(T x1_i, T x2_i, T x3_i)
Computes the minimum variance unbiased estimate.
Definition
mvue_3.h:29
estimators::mvue::MVUE_3::var_1
T var_1
Variance of the first measurement.
Definition
mvue_3.h:141
estimators::mvue::MVUE_3::var_3
T var_3
Variance of the third measurement.
Definition
mvue_3.h:151
estimators::mvue::MVUE_3::~MVUE_3
~MVUE_3()
Destroys the MVUE estimator.
Definition
mvue_3.h:10
estimators::mvue::MVUE_3::reset
void reset()
Resets the estimator.
Definition
mvue_3.h:35
estimators::mvue::MVUE_3::init
void init(T var_1_, T var_2_, T var_3_)
Initializes the estimator.
Definition
mvue_3.h:15
estimators::mvue::MVUE_3::var_2
T var_2
Variance of the second measurement.
Definition
mvue_3.h:146
estimators::mvue::MVUE_3::MVUE_3
MVUE_3()
Constructs a three-measurement MVUE.
Definition
mvue_3.h:5
estimators::mvue::MVUE_3::set_param
void set_param(T var_1_, T var_2_, T var_3_)
Sets the estimator parameters.
Definition
mvue_3.h:21
mvue_3.tpp
estimators
Contains estimation and sensor-fusion algorithms.
Definition
mvue_2.h:31
mvue
Contains Minimum Variance Unbiased Estimator implementations.
include
mvue_3.h
Generated by
1.17.0