linearanalyticsystemmodel_gaussianuncertainty.cpp
Go to the documentation of this file.
00001 // $Id: linearanalyticsystemmodel_gaussianuncertainty.cpp 29495 2008-08-13 12:57:49Z tdelaet $
00002 // Copyright (C) 2002 Klaas Gadeyne <first dot last at gmail dot com>
00003 //
00004 // This program is free software; you can redistribute it and/or modify
00005 // it under the terms of the GNU Lesser General Public License as published by
00006 // the Free Software Foundation; either version 2.1 of the License, or
00007 // (at your option) any later version.
00008 //
00009 // This program is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU Lesser General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU Lesser General Public License
00015 // along with this program; if not, write to the Free Software
00016 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017 //
00018 
00019 #include "../sample/sample.h"
00020 #include "linearanalyticsystemmodel_gaussianuncertainty.h"
00021 #include "../pdf/linearanalyticconditionalgaussian.h"
00022 #include <cassert>
00023 
00024 namespace BFL
00025 {
00026   using namespace MatrixWrapper;
00027 
00028 
00029   LinearAnalyticSystemModelGaussianUncertainty::LinearAnalyticSystemModelGaussianUncertainty
00030   ( LinearAnalyticConditionalGaussian* pdf)
00031     : AnalyticSystemModelGaussianUncertainty( pdf )
00032   {
00033   }
00034 
00035   LinearAnalyticSystemModelGaussianUncertainty::~LinearAnalyticSystemModelGaussianUncertainty()
00036   {}
00037 
00038 
00039   void LinearAnalyticSystemModelGaussianUncertainty::ASet(const Matrix& a)
00040   {
00041     dynamic_cast<LinearAnalyticConditionalGaussian *>(SystemPdfGet())->MatrixSet(0,a);
00042   }
00043 
00044   void LinearAnalyticSystemModelGaussianUncertainty::BSet(const Matrix& b)
00045   {
00046     dynamic_cast<LinearAnalyticConditionalGaussian *>(SystemPdfGet())->MatrixSet(1,b);
00047   }
00048 
00049   const Matrix&
00050   LinearAnalyticSystemModelGaussianUncertainty::AGet() const
00051   {
00052     return dynamic_cast<LinearAnalyticConditionalGaussian *>(_SystemPdf)->MatrixGet(0);
00053   }
00054 
00055   const Matrix&
00056   LinearAnalyticSystemModelGaussianUncertainty::BGet() const
00057   {
00058     return dynamic_cast<LinearAnalyticConditionalGaussian *>(_SystemPdf)->MatrixGet(1);
00059   }
00060 
00061 
00062 } // End namespace BFL


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 Fri Aug 28 2015 10:10:21