#include "geoslib_f.h"
#include "geoslib_old_f.h"
#include "Enum/EJustify.hpp"
#include "Morpho/Morpho.hpp"
#include "Basic/VectorNumT.hpp"
#include "Basic/Utilities.hpp"
#include "Basic/Law.hpp"
#include "Basic/File.hpp"
#include "Basic/String.hpp"
#include "Basic/OptDbg.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include "Stats/Classical.hpp"
#include <math.h>
#include <string.h>
Functions | |
int | db_upscale (DbGrid *dbgrid1, DbGrid *dbgrid2, int orient, int verbose) |
int | db_diffusion (DbGrid *dbgrid1, DbGrid *dbgrid2, int orient, int niter, int nseed, int seed, int verbose) |
int | stats_residuals (int verbose, int nech, double *tab, int ncut, double *zcut, int *nsorted, double *mean, double *residuals, double *T, double *Q) |
int db_diffusion | ( | DbGrid * | dbgrid1, |
DbGrid * | dbgrid2, | ||
int | orient, | ||
int | niter, | ||
int | nseed, | ||
int | seed, | ||
int | verbose | ||
) |
Calculate the diffusion factor from a grid Db into another grid Db
[in] | dbgrid1 | Db for the input grid |
[in] | dbgrid2 | Db for the output grid |
[in] | orient | Diffusion orientation (0 or the space rank dimension) |
[in] | niter | Number of iterations |
[in] | nseed | Number of seeds |
[in] | seed | Seed for the random number generation |
[in] | verbose | Verbose Option |
int stats_residuals | ( | int | verbose, |
int | nech, | ||
double * | tab, | ||
int | ncut, | ||
double * | zcut, | ||
int * | nsorted, | ||
double * | mean, | ||
double * | residuals, | ||
double * | T, | ||
double * | Q | ||
) |
Create residuals
[in] | verbose | Verbose flag |
[in] | nech | Number of samples |
[in] | tab | Array of sample values (Dimension: nech) |
[in] | ncut | Number of cutoffs |
[in] | zcut | Array of cutoff values (Dimension: ncut) |
[out] | nsorted | Number of sorted samples |
[out] | mean | Average of the active data |
[out] | residuals | Array of residuals (Dimension: ncut * nech) |
[out] | T | Array of for tonnage |
[out] | Q | Array of for metal quantity |