MVUE 1.0
MVUE / BLUE (Minimum Variance Unbiased Estimator / Best Linear Unbiassed Estimator)
Loading...
Searching...
No Matches
mvue_3.tpp
Go to the documentation of this file.
1#include "../include/mvue_3.h"
2
3template <typename T>
5{
6}
7
8template <typename T>
10{
11}
12
13template <typename T>
14void 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
19template <typename T>
20void 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
27template <typename T>
28T 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
33template <typename T>
35{
36}
T update(T x1_i, T x2_i, T x3_i)
Computes the minimum variance unbiased estimate.
Definition mvue_3.h:29
~MVUE_3()
Destroys the MVUE estimator.
Definition mvue_3.h:10
void reset()
Resets the estimator.
Definition mvue_3.h:35
void init(T var_1_, T var_2_, T var_3_)
Initializes the estimator.
Definition mvue_3.h:15
MVUE_3()
Constructs a three-measurement MVUE.
Definition mvue_3.h:5
void set_param(T var_1_, T var_2_, T var_3_)
Sets the estimator parameters.
Definition mvue_3.h:21
Three-measurement Minimum Variance Unbiased Estimator.