1.4.0
CCC
 
CalcStatistics.cpp File Reference
#include "Enum/ELoc.hpp"
#include "Basic/NamingConvention.hpp"
#include "Calculators/CalcStatistics.hpp"
#include "Calculators/ACalcDbToDb.hpp"
#include "Stats/Classical.hpp"
#include "Stats/Regression.hpp"
#include "Db/DbGrid.hpp"
#include "Db/Db.hpp"
#include <math.h>

Functions

int dbStatisticsOnGrid (Db *db, DbGrid *dbgrid, const EStatOption &oper, int radius, const NamingConvention &namconv)
 
int dbRegression (Db *db1, const String &nameResp, const VectorString &nameAux, int mode, bool flagCst, Db *db2, const Model *model, const NamingConvention &namconv)
 

Function Documentation

◆ dbRegression()

int dbRegression ( Db db1,
const String nameResp,
const VectorString nameAux,
int  mode,
bool  flagCst,
Db db2,
const Model model,
const NamingConvention namconv 
)

◆ dbStatisticsOnGrid()

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