GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
c_distinct.c File Reference

Cluster library - Distinct value. More...

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

Go to the source code of this file.

Functions

int I_cluster_distinct (struct Cluster *C, double separation)
 Get distinct value. More...
 

Detailed Description

Cluster library - Distinct value.

(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_distinct.c.

Function Documentation

◆ I_cluster_distinct()

int I_cluster_distinct ( struct Cluster C,
double  separation 
)

Get distinct value.

Parameters
Cpointer to Cluster structure
separationseparation value
Returns
distinction value

Definition at line 24 of file c_distinct.c.

References Cluster::count, I_cluster_separation(), I_cluster_sum2(), Cluster::merge1, Cluster::merge2, and Cluster::nclasses.

Referenced by I_cluster_exec().