MVUE
1.0
MVUE / BLUE (Minimum Variance Unbiased Estimator / Best Linear Unbiassed Estimator)
Toggle main menu visibility
Loading...
Searching...
No Matches
mvue_2.tpp
Go to the documentation of this file.
1
#include "
../include/mvue_2.h
"
2
3
template
<
typename
T>
4
estimators::mvue::MVUE_2<T>::MVUE_2
()
5
{
6
}
7
8
template
<
typename
T>
9
estimators::mvue::MVUE_2<T>::~MVUE_2
()
10
{
11
}
12
13
template
<
typename
T>
14
void
estimators::mvue::MVUE_2<T>::init
(T var_1_, T var_2_)
15
{
16
set_param(var_1_, var_2_);
17
}
18
19
template
<
typename
T>
20
void
estimators::mvue::MVUE_2<T>::set_param
(T var_1_, T var_2_)
21
{
22
var_1 = var_1_;
23
var_2 = var_2_;
24
}
25
26
template
<
typename
T>
27
T
estimators::mvue::MVUE_2<T>::update
(T x1_i, T x2_i)
28
{
29
return
((x1_i / var_1) + (x2_i / var_2)) / ((1.0 / var_1) + (1.0 / var_2));
30
}
31
32
template
<
typename
T>
33
void
estimators::mvue::MVUE_2<T>::reset
()
34
{
35
}
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::update
T update(T x1_i, T x2_i)
Computes the minimum variance unbiased estimate.
Definition
mvue_2.h:28
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.h
Two-measurement Minimum Variance Unbiased Estimator.
src
mvue_2.tpp
Generated by
1.17.0