GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71790
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
c_sep.c File Reference

Cluster library - Separation. More...

#include <math.h>
#include <grass/cluster.h>
Include dependency graph for c_sep.c:

Go to the source code of this file.

Macros

#define FAR   ((double) -1.0)
 

Functions

double I_cluster_separation (struct Cluster *C, int class1, int class2)
 ? More...
 

Detailed Description

Cluster library - Separation.

(C) 2001-2009 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Original author CERL

Definition in file c_sep.c.

Macro Definition Documentation

#define FAR   ((double) -1.0)

Definition at line 17 of file c_sep.c.

Referenced by I_cluster_separation().

Function Documentation

double I_cluster_separation ( struct Cluster C,
int  class1,
int  class2 
)

?

Parameters
Cpointer to Cluster structure
class11st class
class22nd class

Definition at line 26 of file c_sep.c.

References Cluster::count, FAR, Cluster::nbands, Cluster::sum, Cluster::sum2, and var().

Referenced by I_cluster_distinct().