public class Array extends Object
Constructor and Description |
---|
Array() |
Modifier and Type | Method and Description |
---|---|
static int[] |
append(int[] input,
int value) |
static boolean |
atLeastOneNonNaN(double[] value) |
static double[] |
clone(double[] input) |
static double[] |
clone(double[] input,
int length) |
static float[] |
clone(float[] input) |
static float[] |
clone(float[] input,
int length) |
static int[] |
clone(int[] input) |
static int[] |
clone(int[] input,
int length) |
static int |
countNaNs(double[] value) |
static double[] |
filterNaNs(double[] input) |
static boolean |
find(double[] values,
double value) |
static boolean |
find(int[] values,
int value) |
static double[] |
flatten(double[][] matrix) |
static double[] |
flatten(double[][] matrix,
boolean ignoreNaN) |
static float[] |
flatten(float[][] matrix) |
static float[] |
flatten(float[][] matrix,
boolean ignoreNaN) |
static double[] |
merge(double[] array1,
double[] array2) |
static void |
print(byte[] input) |
static void |
print(char[] input) |
static void |
print(Coord3d[] input) |
static void |
print(double[] input) |
static void |
print(double[][] input) |
static void |
print(float[] input) |
static void |
print(float[][] input) |
static void |
print(int[] input) |
static void |
print(int[][] input) |
static int[] |
sortAscending(Date[] input) |
static int[] |
sortAscending(double[] input)
Sort input array, and return the final order of initial values.
|
static int[] |
sortAscending(float[] input)
Sort input array, and return the final order of initial values.
|
static int[] |
sortAscending(int[] input)
Sort input array, and return the final order of initial values.
|
static int[] |
sortDescending(Date[] input) |
static int[] |
sortDescending(double[] input)
Sort input array, and return the final order of initial values.
|
static int[] |
sortDescending(float[] input)
Sort input array, and return the final order of initial values.
|
static int[] |
sortDescending(int[] input)
Sort input array, and return the final order of initial values.
|
static double[][] |
toColumnMatrix(double[] input) |
static float[][] |
toColumnMatrix(float[] input) |
static double[][] |
toColumnMatrixAsDouble(float[] input) |
static double[] |
toDouble(float[] input) |
public static int[] clone(int[] input)
public static float[] clone(float[] input)
public static double[] clone(double[] input)
public static int[] clone(int[] input, int length)
public static float[] clone(float[] input, int length)
public static double[] clone(double[] input, int length)
public static int[] append(int[] input, int value)
public static double[][] toColumnMatrix(double[] input)
public static float[][] toColumnMatrix(float[] input)
public static double[][] toColumnMatrixAsDouble(float[] input)
public static boolean find(double[] values, double value)
public static boolean find(int[] values, int value)
public static double[] merge(double[] array1, double[] array2)
public static double[] flatten(double[][] matrix)
public static double[] flatten(double[][] matrix, boolean ignoreNaN)
public static float[] flatten(float[][] matrix)
public static float[] flatten(float[][] matrix, boolean ignoreNaN)
public static double[] filterNaNs(double[] input)
public static int countNaNs(double[] value)
public static boolean atLeastOneNonNaN(double[] value)
public static double[] toDouble(float[] input)
public static int[] sortAscending(int[] input)
public static int[] sortAscending(float[] input)
public static int[] sortDescending(int[] input)
public static int[] sortDescending(float[] input)
public static int[] sortAscending(double[] input)
public static int[] sortDescending(double[] input)
public static int[] sortDescending(Date[] input)
public static int[] sortAscending(Date[] input)
public static void print(Coord3d[] input)
public static void print(double[] input)
public static void print(float[] input)
public static void print(byte[] input)
public static void print(int[] input)
public static void print(char[] input)
public static void print(double[][] input)
public static void print(float[][] input)
public static void print(int[][] input)
Copyright © 2016. All rights reserved.