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

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

Introduction

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

Prototype

public double getStandardDeviation() 

Source Link

Document

Returns the standard deviation for the function.

Usage

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

/**
 * Some tests for the constructor./* www  .  j a va  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);
}