Functions | |
int | cgi (Db *db, int iatt, double *center, double *mvalue, double *mvector, double *inertia, double *wztot) |
int | spatial (Db *db, double *totab, double *parea, double *eqarea) |
int cgi | ( | Db * | db, |
int | iatt, | ||
double * | center, | ||
double * | mvalue, | ||
double * | mvector, | ||
double * | inertia, | ||
double * | wztot | ||
) |
Calculate the Center of Gravity
[in] | db | Db structure |
[in] | iatt | Rank of the optional attribute |
[out] | center | Array for the center of gravity |
[out] | mvalue | Array of eigen values (normalized) |
[out] | mvector | Array of eigen vectors |
[out] | inertia | Value of the inertia |
[out] | wztot | Sum of weights |
int spatial | ( | Db * | db, |
double * | totab, | ||
double * | parea, | ||
double * | eqarea | ||
) |
Calculate several Spatial indices
[in] | db | Db structure |
[out] | totab | Total Abundance |
[out] | parea | Positive area |
[out] | eqarea | Equivalent area |