MVUE
1.0
MVUE / BLUE (Minimum Variance Unbiased Estimator / Best Linear Unbiassed Estimator)
Toggle main menu visibility
Loading...
Searching...
No Matches
mvue_2.h
Go to the documentation of this file.
1
5
* @details
6
* This file defines the @ref estimators::mvue::MVUE_2 class, which
7
* implements a Minimum Variance Unbiased Estimator (MVUE) for combining
8
* two independent measurements.
9
*
10
* The estimator combines the two input measurements according to their
11
* associated variances. Measurements with lower variance are assigned
12
* greater weight in the resulting estimate.
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_2_H_BLUE_2_H
28
#define ESTIMATORS_MVUE_2_H_BLUE_2_H
29
30
namespace
estimators
31
{
34
* @brief Contains estimation and sensor-fusion algorithms.
35
*/
36
37
namespace
mvue
38
{
43
68
template
<
typename
T>
69
class
MVUE_2
70
{
71
public
:
80
MVUE_2
();
81
85
~MVUE_2
();
86
97
void
init
(T var_1_, T var_2_);
98
109
void
set_param
(T var_1_, T var_2_);
110
124
T
update
(T x1_i, T x2_i);
125
132
void
reset
();
133
134
private
:
138
T
var_1
= 0.0;
139
143
T
var_2
= 0.0;
144
};
145
146
#include "
../src/MVUE_2.tpp
"
147
148
}
// namespace mvue
149
150
}
// namespace estimators
151
152
#endif
// ESTIMATORS_MVUE_2_H_BLUE_2_H
estimators::mvue::MVUE_2::set_param
void set_param(T var_1_, T var_2_)
Sets the estimator parameters.
Definition
mvue_2.h:21
estimators::mvue::MVUE_2::init
void init(T var_1_, T var_2_)
Initializes the estimator.
Definition
mvue_2.h:15
estimators::mvue::MVUE_2::var_1
T var_1
Variance of the first measurement.
Definition
mvue_2.h:138
estimators::mvue::MVUE_2::update
T update(T x1_i, T x2_i)
Computes the minimum variance unbiased estimate.
Definition
mvue_2.h:28
estimators::mvue::MVUE_2::var_2
T var_2
Variance of the second measurement.
Definition
mvue_2.h:143
estimators::mvue::MVUE_2::MVUE_2
MVUE_2()
Constructs a two-measurement MVUE.
Definition
mvue_2.h:5
estimators::mvue::MVUE_2::~MVUE_2
~MVUE_2()
Destroys the MVUE estimator.
Definition
mvue_2.h:10
estimators::mvue::MVUE_2::reset
void reset()
Resets the estimator.
Definition
mvue_2.h:34
mvue_2.tpp
estimators
Contains estimation and sensor-fusion algorithms.
Definition
mvue_2.h:31
mvue
Contains Minimum Variance Unbiased Estimator implementations.
include
mvue_2.h
Generated by
1.17.0