00001 // $Id$ 00002 // Copyright (C) 2003 Klaas Gadeyne <first dot last at gmail dot com> 00003 // Wim Meeussen <wim dot meeussen at mech dot kuleuven dot ac dot be> 00004 // 00005 // This program is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU Lesser General Public License as published by 00007 // the Free Software Foundation; either version 2.1 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // This program is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public License 00016 // along with this program; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 // 00019 00020 #include "../sample/sample.h" 00021 #include "nonlinearanalyticsystemmodel_gaussianuncertainty_ginac.h" 00022 #include <cassert> 00023 00024 namespace BFL 00025 { 00026 00027 using namespace std; 00028 00029 NonLinearAnalyticSystemModelGaussianUncertainty_Ginac::NonLinearAnalyticSystemModelGaussianUncertainty_Ginac 00030 (NonLinearAnalyticConditionalGaussian_Ginac* const pdf) 00031 : AnalyticSystemModelGaussianUncertainty( new NonLinearAnalyticConditionalGaussian_Ginac( *pdf ) ) 00032 {} 00033 00034 00035 NonLinearAnalyticSystemModelGaussianUncertainty_Ginac::~NonLinearAnalyticSystemModelGaussianUncertainty_Ginac() 00036 {} 00037 00038 /* 00039 std::ostream& operator<< (std::ostream& os, NonLinearAnalyticSystemModelGaussianUncertainty_Ginac& m) 00040 { 00041 os << "\nSystemModel:" << endl; 00042 os << *(SystemPdfGet()); 00043 return os; 00044 } 00045 */ 00046 00047 GiNaC::matrix 00048 NonLinearAnalyticSystemModelGaussianUncertainty_Ginac::FunctionGet() 00049 { 00050 return ((NonLinearAnalyticSystemModelGaussianUncertainty_Ginac *) SystemPdfGet())->FunctionGet(); 00051 } 00052 00053 vector<GiNaC::symbol> 00054 NonLinearAnalyticSystemModelGaussianUncertainty_Ginac::StateGet() 00055 { 00056 return ((NonLinearAnalyticSystemModelGaussianUncertainty_Ginac *)SystemPdfGet())->StateGet(); 00057 } 00058 00059 vector<GiNaC::symbol> 00060 NonLinearAnalyticSystemModelGaussianUncertainty_Ginac::InputGet() 00061 { 00062 return ((NonLinearAnalyticSystemModelGaussianUncertainty_Ginac *) SystemPdfGet())->InputGet(); 00063 } 00064 00065 00066 } // End namespace BFL