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