Example usage for org.jfree.data.function NormalDistributionFunction2D getMean

List of usage examples for org.jfree.data.function NormalDistributionFunction2D getMean

Introduction

In this page you can find the example usage for org.jfree.data.function NormalDistributionFunction2D getMean.

Prototype

public double getMean() 

Source Link

Document

Returns the mean for the function.

Usage

From source file:org.jfree.data.function.NormalDistributionFunction2DTest.java

/**
 * Some tests for the constructor.//from  w  w  w.  j  a  v a  2  s.c  om
 */
@Test
public void testConstructor() {
    NormalDistributionFunction2D f = new NormalDistributionFunction2D(1.0, 2.0);
    assertEquals(1.0, f.getMean(), EPSILON);
    assertEquals(2.0, f.getStandardDeviation(), EPSILON);
}