public static enum NewtonCotes.Type extends Enum<NewtonCotes.Type>
Enum Constant and Description |
---|
CLOSED
The first and the last terms in the Euler-Maclaurin formula are included in the sum.
|
OPEN
The first and the last terms in the Euler-Maclaurin formula are not included in the sum.
|
Modifier and Type | Method and Description |
---|---|
static NewtonCotes.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewtonCotes.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewtonCotes.Type CLOSED
public static final NewtonCotes.Type OPEN
public static NewtonCotes.Type[] values()
for (NewtonCotes.Type c : NewtonCotes.Type.values()) System.out.println(c);
public static NewtonCotes.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.