Package | Description |
---|---|
org.apache.commons.math.exception |
Specialized exceptions for algorithms errors.
|
org.apache.commons.math.util |
Convenience routines and common data structures used throughout the commons-math library.
|
Modifier and Type | Method and Description |
---|---|
MathUtils.OrderDirection |
NonMonotonousSequenceException.getDirection() |
Constructor and Description |
---|
NonMonotonousSequenceException(Number wrong,
Number previous,
int index,
MathUtils.OrderDirection direction,
boolean strict)
Construct the exception.
|
Modifier and Type | Method and Description |
---|---|
static MathUtils.OrderDirection |
MathUtils.OrderDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathUtils.OrderDirection[] |
MathUtils.OrderDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
MathUtils.checkOrder(double[] val,
MathUtils.OrderDirection dir,
boolean strict)
Checks that the given array is sorted.
|
Copyright © 2003–2016. All rights reserved.