core
vnl
vnl_definite_integral.h
Go to the documentation of this file.
1
#ifndef VNL_DEFINITE_INTEGRAL_H_
2
#define VNL_DEFINITE_INTEGRAL_H_
3
//:
4
// \file
5
// \author Kongbin Kang at Brown
6
// \date Jan 12, 2005
7
// \brief the abstract 1D integrand function used for definite integral
8
9
#include "
vnl_integrant_fnct.h
"
10
#include "vnl/vnl_export.h"
11
#ifdef _MSC_VER
12
# include <vcl_msvc_warnings.h>
13
#endif
14
15
class
VNL_EXPORT
vnl_definite_integral
16
{
17
protected
:
18
static
vnl_integrant_fnct
*
pfnct_
;
19
20
public
:
21
vnl_definite_integral
() { pfnct_ =
nullptr
; }
22
23
void
set_fnct
(
vnl_integrant_fnct
* f) { pfnct_ = f; }
24
25
// destructor
26
virtual
~vnl_definite_integral
() { pfnct_ =
nullptr
; }
27
};
28
29
#endif
vnl_definite_integral::~vnl_definite_integral
virtual ~vnl_definite_integral()
Definition:
vnl_definite_integral.h:26
vnl_integrant_fnct
Definition:
vnl_integrant_fnct.h:10
vnl_definite_integral::pfnct_
static vnl_integrant_fnct * pfnct_
Definition:
vnl_definite_integral.h:18
vnl_definite_integral::vnl_definite_integral
vnl_definite_integral()
Definition:
vnl_definite_integral.h:21
vnl_integrant_fnct.h
the abstract class of 1D integrand function used in integral
vnl_definite_integral
Definition:
vnl_definite_integral.h:15
vnl_definite_integral::set_fnct
void set_fnct(vnl_integrant_fnct *f)
Definition:
vnl_definite_integral.h:23
Generated by
1.8.15