Revision 11, 434 bytes
(checked in by smidl, 17 years ago)
|
resampling in PF + initial port of functions
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | // |
---|
2 | // C++ Interface: itpp_ext |
---|
3 | // |
---|
4 | // Description: |
---|
5 | // |
---|
6 | // |
---|
7 | // Author: smidl <smidl@utia.cas.cz>, (C) 2008 |
---|
8 | // |
---|
9 | // Copyright: See COPYING file that comes with this distribution |
---|
10 | // |
---|
11 | // |
---|
12 | #include <itpp/itbase.h> |
---|
13 | #include "libBM" |
---|
14 | |
---|
15 | using namespace itpp; |
---|
16 | |
---|
17 | class constfn : public fnc { |
---|
18 | RV rv; |
---|
19 | ivec indexlist; // needed by evalsome |
---|
20 | vec val; |
---|
21 | |
---|
22 | public: |
---|
23 | vec eval() {return val;}; |
---|
24 | vec eval(vec &cond) {return val;}; |
---|
25 | |
---|
26 | vec evalsome(ivec &rvind); |
---|
27 | } |
---|