src
model
linearanalyticsystemmodel_gaussianuncertainty.cpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2002 Klaas Gadeyne <first dot last at gmail dot com>
3
//
4
// This program is free software; you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as published by
6
// the Free Software Foundation; either version 2.1 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU Lesser General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this program; if not, write to the Free Software
16
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
//
18
19
#include "../sample/sample.h"
20
#include "
linearanalyticsystemmodel_gaussianuncertainty.h
"
21
#include "../pdf/linearanalyticconditionalgaussian.h"
22
#include <cassert>
23
24
namespace
BFL
25
{
26
using namespace
MatrixWrapper
;
27
28
29
LinearAnalyticSystemModelGaussianUncertainty::LinearAnalyticSystemModelGaussianUncertainty
30
(
LinearAnalyticConditionalGaussian
* pdf)
31
:
AnalyticSystemModelGaussianUncertainty
( pdf )
32
{
33
}
34
35
LinearAnalyticSystemModelGaussianUncertainty::~LinearAnalyticSystemModelGaussianUncertainty
()
36
{}
37
38
39
void
LinearAnalyticSystemModelGaussianUncertainty::ASet
(
const
Matrix& a)
40
{
41
dynamic_cast<
LinearAnalyticConditionalGaussian
*
>
(SystemPdfGet())->MatrixSet(0,a);
42
}
43
44
void
LinearAnalyticSystemModelGaussianUncertainty::BSet
(
const
Matrix& b)
45
{
46
dynamic_cast<
LinearAnalyticConditionalGaussian
*
>
(SystemPdfGet())->MatrixSet(1,b);
47
}
48
49
const
Matrix&
50
LinearAnalyticSystemModelGaussianUncertainty::AGet
()
const
51
{
52
return
dynamic_cast<
LinearAnalyticConditionalGaussian
*
>
(_SystemPdf)->MatrixGet(0);
53
}
54
55
const
Matrix&
56
LinearAnalyticSystemModelGaussianUncertainty::BGet
()
const
57
{
58
return
dynamic_cast<
LinearAnalyticConditionalGaussian
*
>
(_SystemPdf)->MatrixGet(1);
59
}
60
61
62
}
// End namespace BFL
BFL::LinearAnalyticSystemModelGaussianUncertainty::ASet
void ASet(const MatrixWrapper::Matrix &a)
Set Matrix A.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:39
BFL::LinearAnalyticSystemModelGaussianUncertainty::LinearAnalyticSystemModelGaussianUncertainty
LinearAnalyticSystemModelGaussianUncertainty(LinearAnalyticConditionalGaussian *pdf)
Constructor.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:30
BFL::LinearAnalyticSystemModelGaussianUncertainty::BGet
const MatrixWrapper::Matrix & BGet() const
Get Matrix B.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:56
BFL
Definition:
compare_filters/nonlinearanalyticconditionalgaussianmobile.cpp:24
linearanalyticsystemmodel_gaussianuncertainty.h
MatrixWrapper
Definition:
matrix_wrapper.cpp:7
BFL::AnalyticSystemModelGaussianUncertainty
Class for analytic system models with additive Gauss. uncertainty.
Definition:
analyticsystemmodel_gaussianuncertainty.h:31
BFL::LinearAnalyticConditionalGaussian
Linear Conditional Gaussian.
Definition:
linearanalyticconditionalgaussian.h:35
BFL::LinearAnalyticSystemModelGaussianUncertainty::AGet
const MatrixWrapper::Matrix & AGet() const
Get Matrix A.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:50
BFL::LinearAnalyticSystemModelGaussianUncertainty::BSet
void BSet(const MatrixWrapper::Matrix &b)
Set Matrix B.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:44
BFL::LinearAnalyticSystemModelGaussianUncertainty::~LinearAnalyticSystemModelGaussianUncertainty
virtual ~LinearAnalyticSystemModelGaussianUncertainty()
Destructor.
Definition:
linearanalyticsystemmodel_gaussianuncertainty.cpp:35
bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Feb 28 2022 21:56:33