Package | Description |
---|---|
org.hipparchus.migration.exception |
This package provides migration classes from Apache Commons Math to Hipparchus.
|
org.hipparchus.util |
Convenience routines and common data structures used throughout the Hipparchus library.
|
Modifier and Type | Method and Description |
---|---|
MathArrays.OrderDirection |
NonMonotonicSequenceException.getDirection()
Deprecated.
|
Constructor and Description |
---|
NonMonotonicSequenceException(Number wrong,
Number previous,
int index,
MathArrays.OrderDirection direction,
boolean strict)
Deprecated.
Construct the exception.
|
Modifier and Type | Method and Description |
---|---|
static MathArrays.OrderDirection |
MathArrays.OrderDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathArrays.OrderDirection[] |
MathArrays.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 |
MathArrays.checkOrder(double[] val,
MathArrays.OrderDirection dir,
boolean strict)
Check that the given array is sorted.
|
static boolean |
MathArrays.checkOrder(double[] val,
MathArrays.OrderDirection dir,
boolean strict,
boolean abort)
Check that the given array is sorted.
|
static <T extends CalculusFieldElement<T>> |
MathArrays.checkOrder(T[] val,
MathArrays.OrderDirection dir,
boolean strict)
Check that the given array is sorted.
|
static <T extends CalculusFieldElement<T>> |
MathArrays.checkOrder(T[] val,
MathArrays.OrderDirection dir,
boolean strict,
boolean abort)
Check that the given array is sorted.
|
static boolean |
MathArrays.isMonotonic(double[] val,
MathArrays.OrderDirection dir,
boolean strict)
Check that an array is monotonically increasing or decreasing.
|
static <T extends Comparable<? super T>> |
MathArrays.isMonotonic(T[] val,
MathArrays.OrderDirection dir,
boolean strict)
Check that an array is monotonically increasing or decreasing.
|
static void |
MathArrays.sortInPlace(double[] x,
MathArrays.OrderDirection dir,
double[]... yList)
Sort an array in place and perform the same reordering of entries on
other arrays.
|
Copyright © 2016-2022 CS GROUP. All rights reserved.