1.3.2
CCC
 
CalcStatistics.hpp File Reference
#include "gstlearn_export.hpp"
#include "ACalcDbToDb.hpp"
#include "geoslib_define.h"

Classes

class  CalcStatistics
 

Functions

GSTLEARN_EXPORT int dbStatisticsOnGrid (Db *db, DbGrid *dbgrid, const EStatOption &oper, int radius=0, const NamingConvention &namconv=NamingConvention("Stats"))
 
GSTLEARN_EXPORT int dbRegression (Db *db1, const String &nameResp, const VectorString &nameAux, int mode=0, bool flagCst=true, Db *db2=nullptr, const Model *model=nullptr, const NamingConvention &namconv=NamingConvention("Regr"))
 

Function Documentation

◆ dbRegression()

GSTLEARN_EXPORT int dbRegression ( Db db1,
const String nameResp,
const VectorString nameAux,
int  mode = 0,
bool  flagCst = true,
Db db2 = nullptr,
const Model model = nullptr,
const NamingConvention namconv = NamingConvention("Regr") 
)

◆ dbStatisticsOnGrid()

GSTLEARN_EXPORT int dbStatisticsOnGrid ( Db db,
DbGrid dbgrid,
const EStatOption &  oper,
int  radius,
const NamingConvention namconv 
)

Calculates the statistics on variables of an input Db per cell of an output Grid

Returns
Error return code
Parameters
[in]dbInput Db
[in]dbgridOutput DbGrid
[in]operThe statistical calculation
[in]radiusNeighborhood radius
[in]namconvNaming convention