Class PdfCont2dBivariateGaussianViaEllipse

  • All Implemented Interfaces:
    Pdf, PdfCont2d

    public class PdfCont2dBivariateGaussianViaEllipse
    extends 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 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object