Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_STATISTICAL_HXX
11 : #define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_STATISTICAL_HXX
12 :
13 : #include "opbase.hxx"
14 :
15 : namespace sc { namespace opencl {
16 :
17 0 : class OpStandard: public Normal
18 : {
19 : public:
20 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
21 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
22 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Standard"; }
23 : };
24 0 : class OpExponDist: public Normal
25 : {
26 : public:
27 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
28 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
29 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "ExponDist"; }
30 : };
31 0 : class OpVar: public Normal
32 : {
33 : public:
34 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
35 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
36 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Var"; }
37 : };
38 0 : class OpSTEYX: public Normal
39 : {
40 : public:
41 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
42 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
43 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "STEYX"; }
44 : };
45 0 : class OpVarP: public Normal
46 : {
47 : public:
48 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
49 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
50 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "VarP"; }
51 : };
52 0 : class OpZTest: public Normal
53 : {
54 : public:
55 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
56 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
57 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
58 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "ZTest"; }
59 : };
60 0 : class OpStDevP: public Normal
61 : {
62 : public:
63 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
64 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
65 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "StDevP"; }
66 : };
67 :
68 0 : class OpStDev: public Normal
69 : {
70 : public:
71 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
72 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
73 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "StDev"; }
74 : };
75 0 : class OpSkewp: public Normal
76 : {
77 : public:
78 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
79 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
80 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Skewp"; }
81 : };
82 0 : class OpSlope: public Normal
83 : {
84 : public:
85 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
86 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
87 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Slope"; }
88 : };
89 0 : class OpWeibull: public Normal
90 : {
91 : public:
92 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
93 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
94 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Weibull"; }
95 : };
96 0 : class OpFdist: public Normal
97 : {
98 : public:
99 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
100 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
101 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
102 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Fdist"; }
103 : };
104 0 : class OpTDist: public Normal
105 : {
106 : public:
107 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
108 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
109 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "TDist"; }
110 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
111 : };
112 0 : class OpTInv: public Normal
113 : {
114 : public:
115 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
116 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
117 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "TInv"; }
118 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
119 : };
120 0 : class OpTTest: public Normal
121 : {
122 : public:
123 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
124 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
125 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "TTest"; }
126 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
127 : };
128 0 : class OpSkew: public Normal
129 : {
130 : public:
131 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
132 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
133 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Skew"; }
134 : };
135 0 : class OpFisher: public Normal
136 : {
137 : public:
138 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
139 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
140 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Fisher"; }
141 : };
142 :
143 0 : class OpFisherInv: public Normal
144 : {
145 : public:
146 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
147 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
148 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "FisherInv"; }
149 : };
150 :
151 0 : class OpGamma: public Normal
152 : {
153 : public:
154 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
155 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
156 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Gamma"; }
157 : };
158 :
159 0 : class OpCorrel: public Normal
160 : {
161 : public:
162 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
163 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
164 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Correl"; }
165 : };
166 :
167 0 : class OpNegbinomdist: public Normal
168 : {
169 : public:
170 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
171 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
172 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpNegbinomdist"; }
173 : };
174 :
175 0 : class OpPearson: public Normal
176 : {
177 : public:
178 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
179 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
180 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpPearson"; }
181 : };
182 :
183 0 : class OpGammaLn: public Normal
184 : {
185 : public:
186 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
187 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
188 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "GammaLn"; }
189 : };
190 :
191 0 : class OpGauss: public Normal
192 : {
193 : public:
194 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
195 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
196 : virtual void BinInlineFun(std::set<std::string>& ,
197 : std::set<std::string>& ) SAL_OVERRIDE;
198 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Gauss"; }
199 : };
200 :
201 0 : class OpGeoMean: public CheckVariables
202 : {
203 : public:
204 : OpGeoMean(void): CheckVariables(), mNeedReductionKernel(true) {}
205 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
206 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
207 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "GeoMean"; }
208 0 : bool NeedReductionKernel(void) const { return mNeedReductionKernel; }
209 : protected:
210 : bool mNeedReductionKernel;
211 : };
212 :
213 0 : class OpHarMean: public Normal
214 : {
215 : public:
216 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
217 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
218 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "HarMean"; }
219 : };
220 :
221 0 : class OpRsq: public Normal
222 : {
223 : public:
224 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
225 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
226 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpRsq"; }
227 : };
228 0 : class OpNormdist:public Normal{
229 : public:
230 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
231 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
232 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpNormdist"; }
233 : };
234 0 : class OpMedian:public Normal{
235 : public:
236 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
237 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
238 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpMedian"; }
239 : };
240 0 : class OpNormsdist:public Normal{
241 : public:
242 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
243 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
244 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
245 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpNormsdist"; }
246 : };
247 0 : class OpNorminv:public Normal{
248 : public:
249 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
250 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
251 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpNorminv"; }
252 : };
253 0 : class OpNormsinv:public Normal{
254 : public:
255 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
256 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
257 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpNormsinv"; }
258 : };
259 0 : class OpPhi:public Normal{
260 : public:
261 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
262 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
263 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpPhi"; }
264 : };
265 0 : class OpKurt: public Normal
266 : {
267 : public:
268 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
269 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
270 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Kurt"; }
271 : };
272 0 : class OpCovar: public Normal
273 : {
274 : public:
275 : virtual void GenSlidingWindowFunction(std::stringstream& ss,
276 : const std::string &sSymName, SubArguments& vSubArguments) SAL_OVERRIDE;
277 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Covar"; }
278 : };
279 :
280 0 : class OpVariationen:public Normal{
281 : public:
282 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
283 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
284 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpVariationen"; }
285 : };
286 0 : class OpVariationen2:public Normal{
287 : public:
288 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
289 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
290 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpVariationen2";}
291 : };
292 :
293 0 : class OpConfidence: public Normal
294 : {
295 : public:
296 0 : virtual std::string GetBottom(void) SAL_OVERRIDE { return "0"; }
297 :
298 : virtual void GenSlidingWindowFunction(std::stringstream& ss,
299 : const std::string &sSymName, SubArguments& vSubArguments) SAL_OVERRIDE;
300 : virtual void BinInlineFun(std::set<std::string>& ,
301 : std::set<std::string>& ) SAL_OVERRIDE;
302 :
303 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Confidence"; }
304 : };
305 0 : class OpIntercept: public Normal
306 : {
307 : public:
308 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
309 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
310 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Intercept"; }
311 : };
312 0 : class OpLogInv: public Normal
313 : {
314 : public:
315 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
316 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
317 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "LogInv"; }
318 : };
319 0 : class OpCritBinom: public Normal
320 : {
321 : public:
322 0 : virtual std::string GetBottom(void) SAL_OVERRIDE { return "0"; }
323 :
324 : virtual void GenSlidingWindowFunction(std::stringstream& ss,
325 : const std::string &sSymName, SubArguments& vSubArguments) SAL_OVERRIDE;
326 : virtual void BinInlineFun(std::set<std::string>& ,
327 : std::set<std::string>& ) SAL_OVERRIDE;
328 :
329 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "CritBinom"; }
330 : };
331 0 : class OpForecast: public Normal
332 : {
333 : public:
334 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
335 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
336 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Forecast"; }
337 : };
338 0 : class OpLogNormDist: public Normal
339 : {
340 : public:
341 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
342 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
343 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "LogNormdist"; }
344 : };
345 0 : class OpGammaDist: public Normal
346 : {
347 : public:
348 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
349 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
350 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs) SAL_OVERRIDE;
351 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "GammaDist"; }
352 : };
353 0 : class OpHypGeomDist:public Normal{
354 : public:
355 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
356 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
357 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpHypGeomDist"; }
358 : };
359 0 : class OpChiDist:public Normal{
360 : public:
361 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
362 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
363 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
364 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpChiDist"; }
365 : };
366 0 : class OpBinomdist:public Normal{
367 : public:
368 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
369 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
370 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
371 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpBinomdist"; }
372 : };
373 0 : class OpChiSqDist: public CheckVariables
374 : {
375 : public:
376 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
377 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
378 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "ChiSqDist"; }
379 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>& ) SAL_OVERRIDE;
380 : };
381 :
382 0 : class OpChiSqInv: public CheckVariables
383 : {
384 : public:
385 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
386 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
387 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "ChiSqInv"; }
388 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>& ) SAL_OVERRIDE;
389 : };
390 0 : class OpChiInv:public Normal{
391 : public:
392 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
393 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
394 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
395 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpChiInv"; }
396 : };
397 0 : class OpPoisson:public Normal{
398 : public:
399 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
400 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
401 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
402 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpPoisson"; }
403 : };
404 :
405 0 : class OpGammaInv: public Normal
406 : {
407 : public:
408 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
409 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
410 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs
411 : ) SAL_OVERRIDE;
412 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "GammaInv"; }
413 : };
414 0 : class OpFInv: public Normal
415 : {
416 : public:
417 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
418 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
419 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs
420 : ) SAL_OVERRIDE;
421 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "FInv"; }
422 : };
423 0 : class OpFTest: public Normal
424 : {
425 : public:
426 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
427 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
428 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs
429 : ) SAL_OVERRIDE;
430 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "FTest"; }
431 : };
432 0 : class OpDevSq: public Normal
433 : {
434 : public:
435 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
436 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
437 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "DevSq"; }
438 : };
439 0 : class OpB: public Normal
440 : {
441 : public:
442 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
443 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
444 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs
445 : ) SAL_OVERRIDE;
446 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "B"; }
447 : };
448 0 : class OpBetaDist: public Normal
449 : {
450 : public:
451 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
452 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
453 : void BinInlineFun(std::set<std::string>& decls,std::set<std::string>& funs
454 : ) SAL_OVERRIDE;
455 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "BetaDist"; }
456 : };
457 0 : class OpBetainv:public Normal{
458 : public:
459 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
460 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
461 : virtual void BinInlineFun(std::set<std::string>& ,std::set<std::string>&) SAL_OVERRIDE;
462 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpBetainv"; }
463 : };
464 0 : class OpMinA: public Normal
465 : {
466 : public:
467 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
468 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
469 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpMinA"; }
470 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
471 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
472 : };
473 0 : class OpCountA: public Normal
474 : {
475 : public:
476 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
477 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
478 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpCountA"; }
479 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
480 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
481 : };
482 0 : class OpMaxA: public Normal
483 : {
484 : public:
485 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
486 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
487 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpMaxA"; }
488 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
489 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
490 : };
491 0 : class OpVarA: public Normal
492 : {
493 : public:
494 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
495 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
496 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpVarA"; }
497 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
498 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
499 : };
500 0 : class OpVarPA: public Normal
501 : {
502 : public:
503 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
504 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
505 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpVarPA"; }
506 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
507 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
508 : };
509 0 : class OpStDevPA: public Normal
510 : {
511 : public:
512 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
513 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
514 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpStDevPA"; }
515 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
516 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
517 : };
518 0 : class OpAverageA: public Normal
519 : {
520 : public:
521 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
522 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
523 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpAverageA"; }
524 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
525 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
526 : };
527 0 : class OpStDevA: public Normal
528 : {
529 : public:
530 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
531 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
532 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "OpStDevA"; }
533 0 : virtual bool takeString() const SAL_OVERRIDE { return true; }
534 0 : virtual bool takeNumeric() const SAL_OVERRIDE { return true; }
535 : };
536 0 : class OpAveDev: public Normal
537 : {
538 : public:
539 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
540 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
541 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "AveDev"; }
542 : };
543 :
544 : }}
545 :
546 : #endif
547 :
548 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|