Uses of Enum
org.apache.commons.math3.util.MathArrays.OrderDirection
Packages that use MathArrays.OrderDirection
Package
Description
Specialized exceptions for algorithms errors.
Convenience routines and common data structures used throughout the commons-math library.
-
Uses of MathArrays.OrderDirection in org.apache.commons.math3.exception
Fields in org.apache.commons.math3.exception declared as MathArrays.OrderDirectionModifier and TypeFieldDescriptionprivate final MathArrays.OrderDirectionNonMonotonicSequenceException.directionDirection (positive for increasing, negative for decreasing).Methods in org.apache.commons.math3.exception that return MathArrays.OrderDirectionConstructors in org.apache.commons.math3.exception with parameters of type MathArrays.OrderDirectionModifierConstructorDescriptionNonMonotonicSequenceException(Number wrong, Number previous, int index, MathArrays.OrderDirection direction, boolean strict) Construct the exception. -
Uses of MathArrays.OrderDirection in org.apache.commons.math3.util
Subclasses with type arguments of type MathArrays.OrderDirection in org.apache.commons.math3.utilModifier and TypeClassDescriptionstatic enumSpecification of ordering direction.Methods in org.apache.commons.math3.util that return MathArrays.OrderDirectionModifier and TypeMethodDescriptionstatic MathArrays.OrderDirectionReturns 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.Methods in org.apache.commons.math3.util with parameters of type MathArrays.OrderDirectionModifier and TypeMethodDescriptionstatic voidMathArrays.checkOrder(double[] val, MathArrays.OrderDirection dir, boolean strict) Check that the given array is sorted.static booleanMathArrays.checkOrder(double[] val, MathArrays.OrderDirection dir, boolean strict, boolean abort) Check that the given array is sorted.static booleanMathArrays.isMonotonic(double[] val, MathArrays.OrderDirection dir, boolean strict) Check that an array is monotonically increasing or decreasing.static <T extends Comparable<? super T>>
booleanMathArrays.isMonotonic(T[] val, MathArrays.OrderDirection dir, boolean strict) Check that an array is monotonically increasing or decreasing.static voidMathArrays.sortInPlace(double[] x, MathArrays.OrderDirection dir, double[]... yList) Sort an array in place and perform the same reordering of entries on other arrays.