WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
DataMath.h
1#ifndef _WINC_DATAMATH
2#define _WINC_DATAMATH
3
4#include <WXP/Data.h>
5
6namespace WXP {
7 class DataMath {
8 public:
9 static int units( Data &data, int fld, const char *units );
10 static int units( Data &data, const char *units );
11 static int uniqueId( Data &odata, Data &idata );
12 static int removeMiss( Data &odata, Data &idata );
13
14 static int max( Data &odata, Data &dataa, int flda, Data &datab, int fldb );
15 static int max( Data &odata, Data &dataa, Data &datab );
16 static int max( Data &odata, Data &idata, int ifld );
17 static int max( Data &odata, Data &idata );
18
19 static int min( Data &odata, Data &dataa, int flda, Data &datab, int fldb );
20 static int min( Data &odata, Data &dataa, Data &datab );
21 static int min( Data &odata, Data &idata, int ifld );
22 static int min( Data &odata, Data &idata );
23
24 static int add( Data &odata, Data &dataa, int flda, Data &datab, int fldb );
25 static int add( Data &odata, Data &dataa, Data &datab );
26 static int add( Data &odata, Data &idata, int ifld );
27 static int add( Data &odata, Data &idata );
28
29 static int diff( Data &odata, Data &dataa, int flda, Data &datab, int fldb );
30 static int diff( Data &odata, Data &dataa, Data &datab );
31
32 static int replace( Data &data, int fld, float old, float val );
33 static int replace( Data &data, float old, float val );
34
35 static int offset( Data &data, int fld, float offset );
36 static int offset( Data &data, float offset );
37
38 static int scale( Data &data, int fld, float scale );
39 static int scale( Data &data, float scale );
40
41 static int removeValid( Data &odata, Data &data, int min );
42 static int average( Data &odata, Data &data );
43
44 static int cutoff( Data &odata, const char *cmd, float cutoff, float nval, Data &idata, int fld );
45 };
46}
47#endif
This class does math on raw point data.
Definition DataMath.h:7
static int min(Data &odata, Data &dataa, int flda, Data &datab, int fldb)
Definition DataMath.cc:227
static int diff(Data &odata, Data &dataa, int flda, Data &datab, int fldb)
Definition DataMath.cc:454
static int scale(Data &data, int fld, float scale)
Definition DataMath.cc:548
static int add(Data &odata, Data &dataa, int flda, Data &datab, int fldb)
Definition DataMath.cc:339
static int average(Data &odata, Data &data)
Definition DataMath.cc:605
static int offset(Data &data, int fld, float offset)
Definition DataMath.cc:524
static int cutoff(Data &odata, const char *cmd, float cutoff, float nval, Data &idata, int fld)
Definition DataMath.cc:645
static int replace(Data &data, int fld, float old, float val)
Definition DataMath.cc:503
static int units(Data &data, int fld, const char *units)
Definition DataMath.cc:30
static int removeValid(Data &odata, Data &data, int min)
Definition DataMath.cc:572
static int removeMiss(Data &odata, Data &idata)
Definition DataMath.cc:92
static int uniqueId(Data &odata, Data &idata)
Definition DataMath.cc:66
static int max(Data &odata, Data &dataa, int flda, Data &datab, int fldb)
Definition DataMath.cc:115
This class is a repository for point data.
Definition Data.h:11
All WXP classes fall under the WXP namespace.
Definition Angle.h:4