com.metsci.glimpse.util.math.stochastic.pdfcont2d
Class PdfCont2dBivariateGaussianViaEllipse

java.lang.Object
  extended by com.metsci.glimpse.util.math.stochastic.pdfcont2d.PdfCont2dBivariateGaussianViaEllipse
All Implemented Interfaces:
Pdf, PdfCont2d

public class PdfCont2dBivariateGaussianViaEllipse
extends java.lang.Object
implements PdfCont2d

Generates 2-dimensional samples from a bivariate Gaussian distribution which is defined via an "error" or "covariance" ellipse which represents the 1-sigma contours of the density function.

Author:
moskowitz

Constructor Summary
PdfCont2dBivariateGaussianViaEllipse(double semiMajorAxis_SU, double semiMinorAxis_SU, double orientation_SU)
           
 
Method Summary
 double[] draw(Generator g)
          Returns a 2-dimensional random draw from this PDF using the provided StochasticEngine.Generator object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfCont2dBivariateGaussianViaEllipse

public PdfCont2dBivariateGaussianViaEllipse(double semiMajorAxis_SU,
                                            double semiMinorAxis_SU,
                                            double orientation_SU)
Parameters:
semiMajorAxis_SU -
semiMinorAxis_SU -
orientation_SU -
Method Detail

draw

public double[] draw(Generator g)
Description copied from interface: PdfCont2d
Returns a 2-dimensional random draw from this PDF using the provided StochasticEngine.Generator object.

Specified by:
draw in interface PdfCont2d


Copyright © 2012 Metron, Inc.. All Rights Reserved.