public class IntegrationMethod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INTEGRAL_MODE_RECTANGULAR
The Trapezoid Rule for integration.
|
static int |
INTEGRAL_MODE_SIMPSONS
The Simpson's Rule for integration.
|
static int |
INTEGRAL_MODE_TRAPEZOID
The Trapezoid Rule for integration.
|
static IntegrationMethod |
INTEGRAL_RECTANGULAR |
static IntegrationMethod |
INTEGRAL_SIMPSONS |
static IntegrationMethod |
INTEGRAL_TRAPEZOID |
Constructor and Description |
---|
IntegrationMethod(int method)
Creates a new instance of IntegrationMethod
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(IntegrationMethod that)
This method verifys that two integration methods are the same.
|
int |
getIntegrationMode()
Returns the current integration mode.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public static final int INTEGRAL_MODE_RECTANGULAR
public static final int INTEGRAL_MODE_TRAPEZOID
public static final int INTEGRAL_MODE_SIMPSONS
public static IntegrationMethod INTEGRAL_RECTANGULAR
public static IntegrationMethod INTEGRAL_TRAPEZOID
public static IntegrationMethod INTEGRAL_SIMPSONS
public IntegrationMethod(int method)
public int getIntegrationMode()
public boolean equals(IntegrationMethod that)
that
- the integration method to compare to this.public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.