Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
pdf
analyticconditionalgaussian.cpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2003 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 "
analyticconditionalgaussian.h
"
20
#include <cmath>
21
#include "../wrappers/rng/rng.h"
22
23
namespace
BFL
24
{
25
using namespace
MatrixWrapper
;
26
27
AnalyticConditionalGaussian::AnalyticConditionalGaussian
(
int
dim,
28
int
num_conditional_arguments)
29
:
ConditionalGaussian
(dim, num_conditional_arguments)
30
{}
31
33
AnalyticConditionalGaussian::~AnalyticConditionalGaussian
(){}
34
35
Matrix
36
AnalyticConditionalGaussian::dfGet
(
unsigned
int
i)
const
37
{
38
cerr <<
"Error: The dfGet function was called, but you didn't implement it!\n"
;
39
exit(-
BFL_ERRMISUSE
);
40
41
Matrix m;
42
return
m;
43
}
44
45
46
47
}
// End namespace
BFL::AnalyticConditionalGaussian::dfGet
virtual MatrixWrapper::Matrix dfGet(unsigned int i) const
returns derivative from function to n-th conditional variable
Definition:
analyticconditionalgaussian.cpp:36
BFL::AnalyticConditionalGaussian::~AnalyticConditionalGaussian
virtual ~AnalyticConditionalGaussian()
Destructor.
Definition:
analyticconditionalgaussian.cpp:33
BFL
Definition:
compare_filters/nonlinearanalyticconditionalgaussianmobile.cpp:24
BFL_ERRMISUSE
#define BFL_ERRMISUSE
Definition:
particlefilter.h:23
MatrixWrapper
Definition:
matrix_wrapper.cpp:7
BFL::ConditionalGaussian
Abstract Class representing all Conditional gaussians.
Definition:
conditionalgaussian.h:40
analyticconditionalgaussian.h
BFL::AnalyticConditionalGaussian::AnalyticConditionalGaussian
AnalyticConditionalGaussian(int dim=0, int num_conditional_arguments=0)
Constructor.
Definition:
analyticconditionalgaussian.cpp:27
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 Jun 10 2019 12:47:58