uwcse.location.core
Class LocationMath

java.lang.Object
  |
  +--uwcse.location.core.LocationMath

public class LocationMath
extends Object

This class contains static mathematical routines for manipulating location and geometric information.

Version:
$Revision: 1.2 $
Author:
Jeffrey Hightower

Method Summary
static double bivariateGaussian(double x, double y, double mean_x, double mean_y, double sd_x, double sd_y, double rho)
          Compute the bivariate Gaussian distribution function value.
static double gaussian(double x, double mean, double sd)
          Compute the Gaussian distribution function value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

gaussian

public static double gaussian(double x,
                              double mean,
                              double sd)
Compute the Gaussian distribution function value.

See Also:
bivariateGaussian(double,double,double,double,double,double,double)

bivariateGaussian

public static double bivariateGaussian(double x,
                                       double y,
                                       double mean_x,
                                       double mean_y,
                                       double sd_x,
                                       double sd_y,
                                       double rho)
Compute the bivariate Gaussian distribution function value.

Parameters:
rho - The correlation coefficient [-1...1].
See Also:
gaussian(double,double,double)


This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/

© Copyright 2004 University of Washington CSE