Example usage for org.jfree.data.function PolynomialFunction2D getOrder

List of usage examples for org.jfree.data.function PolynomialFunction2D getOrder

Introduction

In this page you can find the example usage for org.jfree.data.function PolynomialFunction2D getOrder.

Prototype

public int getOrder() 

Source Link

Document

Returns the order of the polynomial.

Usage

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

/**
 * Some checks for the getOrder() method.
 *//*from w w w .  jav a 2s.  c o m*/
@Test
public void testGetOrder() {
    PolynomialFunction2D f = new PolynomialFunction2D(new double[] { 1.0, 2.0 });
    assertEquals(1, f.getOrder());
}