Utility class for working with NdArray
instances mixed with standard Java arrays.
Public Constructors
Public Methods
static long[] | |
static <T> T[] |
array1dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 1-dimension standard array of objects |
static byte[] | |
static float[] |
array1dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 1-dimension standard array of floats |
static boolean[] |
array1dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 1-dimension standard array of booleans |
static double[] |
array1dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 1-dimension standard array of doubles |
static short[] |
array1dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 1-dimension standard array of shorts |
static int[] | |
static byte[][] | |
static <T> T[][] |
array2dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 2-dimension standard array of objects |
static short[][] |
array2dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 2-dimension standard array of shorts |
static float[][] |
array2dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 2-dimension standard array of floats |
static long[][] | |
static double[][] |
array2dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 2-dimension standard array of doubles |
static boolean[][] |
array2dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 2-dimension standard array of booleans |
static int[][] | |
static float[][][] |
array3dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 3-dimension standard array of floats |
static double[][][] |
array3dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 3-dimension standard array of doubles |
static <T> T[][][] |
array3dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 3-dimension standard array of objects |
static long[][][] | |
static byte[][][] | |
static int[][][] | |
static short[][][] |
array3dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 3-dimension standard array of shorts |
static boolean[][][] |
array3dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 3-dimension standard array of booleans |
static <T> T[][][][] |
array4dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 4-dimension standard array of objects |
static short[][][][] |
array4dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 4-dimension standard array of shorts |
static double[][][][] |
array4dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 4-dimension standard array of doubles |
static boolean[][][][] |
array4dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 4-dimension standard array of booleans |
static byte[][][][] | |
static int[][][][] | |
static float[][][][] |
array4dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 4-dimension standard array of floats |
static long[][][][] | |
static short[][][][][] |
array5dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 5-dimension standard array of shorts |
static long[][][][][] | |
static boolean[][][][][] |
array5dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 5-dimension standard array of booleans |
static float[][][][][] |
array5dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 5-dimension standard array of floats |
static int[][][][][] | |
static byte[][][][][] | |
static <T> T[][][][][] |
array5dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 5-dimension standard array of objects |
static double[][][][][] |
array5dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 5-dimension standard array of doubles |
static byte[][][][][][] | |
static short[][][][][][] |
array6dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 6-dimension standard array of shorts |
static long[][][][][][] | |
static boolean[][][][][][] |
array6dCopyOf(BooleanNdArray ndArray)
Copy a
BooleanNdArray in a new 6-dimension standard array of booleans |
static double[][][][][][] |
array6dCopyOf(DoubleNdArray ndArray)
Copy a
DoubleNdArray in a new 6-dimension standard array of doubles |
static float[][][][][][] |
array6dCopyOf(FloatNdArray ndArray)
Copy a
FloatNdArray in a new 6-dimension standard array of floats |
static int[][][][][][] | |
static <T> T[][][][][][] |
array6dCopyOf(NdArray<T> ndArray, Class<T> objectType)
Copy a
NdArray<T> in a new 6-dimension standard array of objects |
static void | |
static void | |
static void | |
static void |
copyFrom(BooleanNdArray src, boolean[][][][][] dst)
Copy a
NdArray to a 5-dimensional array of booleans |
static void | |
static void | |
static <T> void | |
static void | |
static <T> void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static <T> void | |
static void | |
static <T> void | |
static void |
copyFrom(BooleanNdArray src, boolean[][][][][][] dst)
Copy a
NdArray to a 6-dimensional array of booleans |
static void |
copyFrom(DoubleNdArray src, double[][][][][] dst)
Copy a
NdArray to a 5-dimensional array of doubles |
static void | |
static void | |
static void | |
static void |
copyFrom(DoubleNdArray src, double[][][][][][] dst)
Copy a
NdArray to a 6-dimensional array of doubles |
static void | |
static void | |
static <T> void | |
static <T> void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static void |
copyFrom(BooleanNdArray src, boolean[][][][] dst)
Copy a
NdArray to a 4-dimensional array of booleans |
static void | |
static void | |
static void | |
static void | |
static void | |
static void |
copyTo(boolean[][][][][][] src, BooleanNdArray dst)
Copy a 6-dimensional array of booleans into the
dst NdArray |
static void |
copyTo(short[][][][] src, ShortNdArray dst)
Copy a 4-dimensional array of shorts into the
dst NdArray |
static <T> void | |
static void |
copyTo(double[][][][][][] src, DoubleNdArray dst)
Copy a 6-dimensional array of doubles into the
dst NdArray |
static void | |
static void | |
static <T> void | |
static void | |
static void |
copyTo(boolean[][][] src, BooleanNdArray dst)
Copy a 3-dimensional array of booleans into the
dst NdArray |
static void |
copyTo(long[][][][][] src, LongNdArray dst)
Copy a 5-dimensional array of longs into the
dst NdArray |
static void |
copyTo(float[][][][][] src, FloatNdArray dst)
Copy a 5-dimensional array of floats into the
dst NdArray |
static void |
copyTo(double[][][][][] src, DoubleNdArray dst)
Copy a 5-dimensional array of doubles into the
dst NdArray |
static void |
copyTo(float[][][][] src, FloatNdArray dst)
Copy a 4-dimensional array of floats into the
dst NdArray |
static void | |
static void |
copyTo(boolean[][] src, BooleanNdArray dst)
Copy a 2-dimensional array of booleans into the
dst NdArray |
static void | |
static void |
copyTo(double[][][] src, DoubleNdArray dst)
Copy a 3-dimensional array of doubles into the
dst NdArray |
static void | |
static void |
copyTo(float[][][][][][] src, FloatNdArray dst)
Copy a 6-dimensional array of floats into the
dst NdArray |
static void |
copyTo(boolean[][][][] src, BooleanNdArray dst)
Copy a 4-dimensional array of booleans into the
dst NdArray |
static void |
copyTo(byte[][][][][][] src, ByteNdArray dst)
Copy a 6-dimensional array of bytes into the
dst NdArray |
static void | |
static void |
copyTo(byte[][][][][] src, ByteNdArray dst)
Copy a 5-dimensional array of bytes into the
dst NdArray |
static void | |
static void |
copyTo(long[][][][][][] src, LongNdArray dst)
Copy a 6-dimensional array of longs into the
dst NdArray |
static void | |
static void | |
static void | |
static void |
copyTo(double[][] src, DoubleNdArray dst)
Copy a 2-dimensional array of doubles into the
dst NdArray |
static <T> void | |
static void |
copyTo(short[][][][][] src, ShortNdArray dst)
Copy a 5-dimensional array of shorts into the
dst NdArray |
static void | |
static <T> void | |
static void | |
static void | |
static void | |
static void | |
static void | |
static <T> void | |
static void |
copyTo(boolean[][][][][] src, BooleanNdArray dst)
Copy a 5-dimensional array of booleans into the
dst NdArray |
static <T> void | |
static void | |
static void | |
static void | |
static void | |
static void |
copyTo(short[][][][][][] src, ShortNdArray dst)
Copy a 6-dimensional array of shorts into the
dst NdArray |
static void |
copyTo(double[][][][] src, DoubleNdArray dst)
Copy a 4-dimensional array of doubles into the
dst NdArray |
static ShortNdArray |
ndCopyOf(short[] array)
Copy an array of shorts in a new
ShortNdArray |
static DoubleNdArray |
ndCopyOf(double[][][][] array)
Copy a 4-dimensional array of doubles in a new
DoubleNdArray |
static ShortNdArray |
ndCopyOf(short[][] array)
Copy a 2-dimensional array of shorts in a new
ShortNdArray |
static FloatNdArray |
ndCopyOf(float[] array)
Copy an array of floats in a new
FloatNdArray |
static <T> NdArray<T> | |
static FloatNdArray |
ndCopyOf(float[][] array)
Copy a 2-dimensional array of floats in a new
FloatNdArray |
static <T> NdArray<T> | |
static IntNdArray |
ndCopyOf(int[][][] array)
Copy a 3-dimensional array of ints in a new
IntNdArray |
static FloatNdArray |
ndCopyOf(float[][][] array)
Copy a 3-dimensional array of floats in a new
FloatNdArray |
static IntNdArray |
ndCopyOf(int[][][][][] array)
Copy a 5-dimensional array of ints in a new
IntNdArray |
static LongNdArray |
ndCopyOf(long[][][][][][] array)
Copy a 6-dimensional array of longs in a new
LongNdArray |
static BooleanNdArray |
ndCopyOf(boolean[][] array)
Copy a 2-dimensional array of booleans in a new
BooleanNdArray |
static LongNdArray |
ndCopyOf(long[][] array)
Copy a 2-dimensional array of longs in a new
LongNdArray |
static BooleanNdArray |
ndCopyOf(boolean[] array)
Copy an array of booleans in a new
BooleanNdArray |
static BooleanNdArray |
ndCopyOf(boolean[][][][][] array)
Copy a 5-dimensional array of booleans in a new
BooleanNdArray |
static DoubleNdArray |
ndCopyOf(double[][][][][] array)
Copy a 5-dimensional array of doubles in a new
DoubleNdArray |
static LongNdArray |
ndCopyOf(long[] array)
Copy an array of longs in a new
LongNdArray |
static IntNdArray |
ndCopyOf(int[][][][] array)
Copy a 4-dimensional array of ints in a new
IntNdArray |
static <T> NdArray<T> | |
static FloatNdArray |
ndCopyOf(float[][][][][][] array)
Copy a 6-dimensional array of floats in a new
FloatNdArray |
static ByteNdArray |
ndCopyOf(byte[][][][][][] array)
Copy a 6-dimensional array of bytes in a new
ByteNdArray |
static DoubleNdArray |
ndCopyOf(double[] array)
Copy an array of doubles in a new
DoubleNdArray |
static ShortNdArray |
ndCopyOf(short[][][][] array)
Copy a 4-dimensional array of shorts in a new
ShortNdArray |
static ByteNdArray |
ndCopyOf(byte[][] array)
Copy a 2-dimensional array of bytes in a new
ByteNdArray |
static ByteNdArray |
ndCopyOf(byte[] array)
Copy an array of bytes in a new
ByteNdArray |
static ShortNdArray |
ndCopyOf(short[][][][][] array)
Copy a 5-dimensional array of shorts in a new
ShortNdArray |
static BooleanNdArray |
ndCopyOf(boolean[][][] array)
Copy a 3-dimensional array of booleans in a new
BooleanNdArray |
static DoubleNdArray |
ndCopyOf(double[][][][][][] array)
Copy a 6-dimensional array of doubles in a new
DoubleNdArray |
static ByteNdArray |
ndCopyOf(byte[][][] array)
Copy a 3-dimensional array of bytes in a new
ByteNdArray |
static FloatNdArray |
ndCopyOf(float[][][][][] array)
Copy a 5-dimensional array of floats in a new
FloatNdArray |
static LongNdArray |
ndCopyOf(long[][][] array)
Copy a 3-dimensional array of longs in a new
LongNdArray |
static ByteNdArray |
ndCopyOf(byte[][][][] array)
Copy a 4-dimensional array of bytes in a new
ByteNdArray |
static ShortNdArray |
ndCopyOf(short[][][] array)
Copy a 3-dimensional array of shorts in a new
ShortNdArray |
static LongNdArray |
ndCopyOf(long[][][][][] array)
Copy a 5-dimensional array of longs in a new
LongNdArray |
static IntNdArray |
ndCopyOf(int[] array)
Copy an array of ints in a new
IntNdArray |
static ShortNdArray |
ndCopyOf(short[][][][][][] array)
Copy a 6-dimensional array of shorts in a new
ShortNdArray |
static IntNdArray |
ndCopyOf(int[][] array)
Copy a 2-dimensional array of ints in a new
IntNdArray |
static ByteNdArray |
ndCopyOf(byte[][][][][] array)
Copy a 5-dimensional array of bytes in a new
ByteNdArray |
static <T> NdArray<T> | |
static DoubleNdArray |
ndCopyOf(double[][] array)
Copy a 2-dimensional array of doubles in a new
DoubleNdArray |
static <T> NdArray<T> | |
static FloatNdArray |
ndCopyOf(float[][][][] array)
Copy a 4-dimensional array of floats in a new
FloatNdArray |
static <T> NdArray<T> | |
static IntNdArray |
ndCopyOf(int[][][][][][] array)
Copy a 6-dimensional array of ints in a new
IntNdArray |
static DoubleNdArray |
ndCopyOf(double[][][] array)
Copy a 3-dimensional array of doubles in a new
DoubleNdArray |
static BooleanNdArray |
ndCopyOf(boolean[][][][] array)
Copy a 4-dimensional array of booleans in a new
BooleanNdArray |
static LongNdArray |
ndCopyOf(long[][][][] array)
Copy a 4-dimensional array of longs in a new
LongNdArray |
static BooleanNdArray |
ndCopyOf(boolean[][][][][][] array)
Copy a 6-dimensional array of booleans in a new
BooleanNdArray |
static <T> Shape |
shapeOf(T[][][] array)
Compute the shape of a 3-dimensional object array.
|
static Shape |
shapeOf(double[][][][] array)
Compute the shape of a 4-dimensional double array.
|
static Shape |
shapeOf(long[] array)
Compute the shape of a long array.
|
static Shape |
shapeOf(boolean[] array)
Compute the shape of a boolean array.
|
static Shape |
shapeOf(double[][] array)
Compute the shape of a 2-dimensional double array.
|
static Shape |
shapeOf(short[][][][][][] array)
Compute the shape of a 6-dimensional short array.
|
static Shape |
shapeOf(float[][] array)
Compute the shape of a 2-dimensional float array.
|
static Shape |
shapeOf(short[][][][] array)
Compute the shape of a 4-dimensional short array.
|
static Shape |
shapeOf(byte[][][][][][] array)
Compute the shape of a 6-dimensional byte array.
|
static Shape |
shapeOf(short[][] array)
Compute the shape of a 2-dimensional short array.
|
static Shape |
shapeOf(float[][][][] array)
Compute the shape of a 4-dimensional float array.
|
static Shape |
shapeOf(short[][][] array)
Compute the shape of a 3-dimensional short array.
|
static Shape |
shapeOf(boolean[][][][][][] array)
Compute the shape of a 6-dimensional boolean array.
|
static Shape |
shapeOf(byte[] array)
Compute the shape of a byte array.
|
static Shape |
shapeOf(byte[][][] array)
Compute the shape of a 3-dimensional byte array.
|
static Shape |
shapeOf(int[][] array)
Compute the shape of a 2-dimensional int array.
|
static Shape |
shapeOf(double[][][][][] array)
Compute the shape of a 5-dimensional double array.
|
static Shape |
shapeOf(double[][][] array)
Compute the shape of a 3-dimensional double array.
|
static <T> Shape |
shapeOf(T[] array)
Compute the shape of an object array.
|
static Shape |
shapeOf(int[][][] array)
Compute the shape of a 3-dimensional int array.
|
static Shape |
shapeOf(byte[][] array)
Compute the shape of a 2-dimensional byte array.
|
static Shape |
shapeOf(float[][][][][][] array)
Compute the shape of a 6-dimensional float array.
|
static Shape |
shapeOf(long[][][][][][] array)
Compute the shape of a 6-dimensional long array.
|
static <T> Shape |
shapeOf(T[][] array)
Compute the shape of a 2-dimensional object array.
|
static Shape |
shapeOf(int[][][][][] array)
Compute the shape of a 5-dimensional int array.
|
static Shape |
shapeOf(int[][][][][][] array)
Compute the shape of a 6-dimensional int array.
|
static Shape |
shapeOf(double[] array)
Compute the shape of a double array.
|
static Shape |
shapeOf(boolean[][][][][] array)
Compute the shape of a 5-dimensional boolean array.
|
static Shape |
shapeOf(float[][][][][] array)
Compute the shape of a 5-dimensional float array.
|
static Shape |
shapeOf(long[][][][] array)
Compute the shape of a 4-dimensional long array.
|
static Shape |
shapeOf(byte[][][][] array)
Compute the shape of a 4-dimensional byte array.
|
static Shape |
shapeOf(boolean[][][][] array)
Compute the shape of a 4-dimensional boolean array.
|
static Shape |
shapeOf(float[][][] array)
Compute the shape of a 3-dimensional float array.
|
static Shape |
shapeOf(short[][][][][] array)
Compute the shape of a 5-dimensional short array.
|
static Shape |
shapeOf(long[][][] array)
Compute the shape of a 3-dimensional long array.
|
static Shape |
shapeOf(boolean[][] array)
Compute the shape of a 2-dimensional boolean array.
|
static Shape |
shapeOf(float[] array)
Compute the shape of a float array.
|
static Shape |
shapeOf(byte[][][][][] array)
Compute the shape of a 5-dimensional byte array.
|
static Shape |
shapeOf(long[][] array)
Compute the shape of a 2-dimensional long array.
|
static <T> Shape |
shapeOf(T[][][][] array)
Compute the shape of a 4-dimensional object array.
|
static Shape |
shapeOf(int[][][][] array)
Compute the shape of a 4-dimensional int array.
|
static <T> Shape |
shapeOf(T[][][][][] array)
Compute the shape of a 5-dimensional object array.
|
static Shape |
shapeOf(double[][][][][][] array)
Compute the shape of a 6-dimensional double array.
|
static Shape |
shapeOf(long[][][][][] array)
Compute the shape of a 5-dimensional long array.
|
static Shape |
shapeOf(short[] array)
Compute the shape of a short array.
|
static Shape |
shapeOf(boolean[][][] array)
Compute the shape of a 3-dimensional boolean array.
|
static <T> Shape |
shapeOf(T[][][][][][] array)
Compute the shape of a 6-dimensional object array.
|
static Shape |
shapeOf(int[] array)
Compute the shape of an int array.
|
Inherited Methods
Public Constructors
public StdArrays ()
Public Methods
public static long[] array1dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 1-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static T[] array1dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 1-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[] array1dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 1-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static float[] array1dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 1-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[] array1dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 1-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static double[] array1dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 1-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static short[] array1dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 1-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static int[] array1dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 1-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-1 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[][] array2dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 2-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static T[][] array2dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 2-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static short[][] array2dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 2-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static float[][] array2dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 2-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static long[][] array2dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 2-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static double[][] array2dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 2-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[][] array2dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 2-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static int[][] array2dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 2-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-2 or has a shape that
exceeds standard arrays limits
|
---|
public static float[][][] array3dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 3-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static double[][][] array3dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 3-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static T[][][] array3dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 3-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static long[][][] array3dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 3-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[][][] array3dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 3-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static int[][][] array3dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 3-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static short[][][] array3dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 3-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[][][] array3dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 3-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-3 or has a shape that
exceeds standard arrays limits
|
---|
public static T[][][][] array4dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 4-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static short[][][][] array4dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 4-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static double[][][][] array4dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 4-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[][][][] array4dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 4-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[][][][] array4dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 4-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static int[][][][] array4dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 4-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static float[][][][] array4dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 4-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static long[][][][] array4dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 4-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-4 or has a shape that
exceeds standard arrays limits
|
---|
public static short[][][][][] array5dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 5-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static long[][][][][] array5dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 5-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[][][][][] array5dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 5-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static float[][][][][] array5dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 5-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static int[][][][][] array5dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 5-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[][][][][] array5dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 5-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static T[][][][][] array5dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 5-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static double[][][][][] array5dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 5-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-5 or has a shape that
exceeds standard arrays limits
|
---|
public static byte[][][][][][] array6dCopyOf (ByteNdArray ndArray)
Copy a ByteNdArray
in a new 6-dimension standard array of bytes
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static short[][][][][][] array6dCopyOf (ShortNdArray ndArray)
Copy a ShortNdArray
in a new 6-dimension standard array of shorts
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static long[][][][][][] array6dCopyOf (LongNdArray ndArray)
Copy a LongNdArray
in a new 6-dimension standard array of longs
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static boolean[][][][][][] array6dCopyOf (BooleanNdArray ndArray)
Copy a BooleanNdArray
in a new 6-dimension standard array of booleans
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static double[][][][][][] array6dCopyOf (DoubleNdArray ndArray)
Copy a DoubleNdArray
in a new 6-dimension standard array of doubles
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static float[][][][][][] array6dCopyOf (FloatNdArray ndArray)
Copy a FloatNdArray
in a new 6-dimension standard array of floats
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static int[][][][][][] array6dCopyOf (IntNdArray ndArray)
Copy a IntNdArray
in a new 6-dimension standard array of ints
Parameters
ndArray | source array |
---|
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static T[][][][][][] array6dCopyOf (NdArray<T> ndArray, Class<T> objectType)
Copy a NdArray<T>
in a new 6-dimension standard array of objects
Parameters
ndArray | source array |
---|---|
objectType | type of object |
Returns
- the array copy
Throws
IllegalArgumentException | if ndArray is not of rank-6 or has a shape that
exceeds standard arrays limits
|
---|
public static void copyFrom (LongNdArray src, long[][][][] dst)
Copy a NdArray
to a 4-dimensional array of longs
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of shorts
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (LongNdArray src, long[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of longs
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of booleans
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[][][][] dst)
Copy a NdArray
to a 4-dimensional array of ints
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[][] dst)
Copy a NdArray
to a 2-dimensional array of ints
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[][][] dst)
Copy a NdArray
to a 3-dimensional array of objects
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[][] dst)
Copy a NdArray
to a 2-dimensional array of bytes
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of objects
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[][] dst)
Copy a NdArray
to a 2-dimensional array of doubles
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[][][] dst)
Copy a NdArray
to a 3-dimensional array of doubles
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of floats
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (LongNdArray src, long[][] dst)
Copy a NdArray
to a 2-dimensional array of longs
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[][] dst)
Copy a NdArray
to a 2-dimensional array of floats
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of floats
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of ints
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of objects
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[] dst)
Copy a NdArray
to an array of bytes
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[][] dst)
Copy a NdArray
to a 2-dimensional array of objects
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of booleans
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of doubles
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[] dst)
Copy a NdArray
to an array of shorts
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[] dst)
Copy a NdArray
to an array of doubles
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[] dst)
Copy a NdArray
to an array of ints
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of doubles
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[][][][] dst)
Copy a NdArray
to a 4-dimensional array of bytes
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[][][] dst)
Copy a NdArray
to a 3-dimensional array of shorts
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[] dst)
Copy a NdArray
to an array of objects
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (NdArray<T> src, T[][][][] dst)
Copy a NdArray
to a 4-dimensional array of objects
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of ints
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[][][] dst)
Copy a NdArray
to a 3-dimensional array of floats
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[][] dst)
Copy a NdArray
to a 2-dimensional array of booleans
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[] dst)
Copy a NdArray
to an array of booleans.
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (LongNdArray src, long[][][] dst)
Copy a NdArray
to a 3-dimensional array of longs
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[][][] dst)
Copy a NdArray
to a 3-dimensional array of bytes
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (DoubleNdArray src, double[][][][] dst)
Copy a NdArray
to a 4-dimensional array of doubles
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[][][][] dst)
Copy a NdArray
to a 4-dimensional array of floats
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[][][][] dst)
Copy a NdArray
to a 4-dimensional array of shorts
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of shorts
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (LongNdArray src, long[] dst)
Copy a NdArray
to an array of longs
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (IntNdArray src, int[][][] dst)
Copy a NdArray
to a 3-dimensional array of ints
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (FloatNdArray src, float[] dst)
Copy a NdArray
to an array of floats
Parameters
src | source rank-1 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-1 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[][][] dst)
Copy a NdArray
to a 3-dimensional array of booleans
Parameters
src | source rank-3 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-3 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (BooleanNdArray src, boolean[][][][] dst)
Copy a NdArray
to a 4-dimensional array of booleans
Parameters
src | source rank-4 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-4 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[][][][][][] dst)
Copy a NdArray
to a 6-dimensional array of bytes
Parameters
src | source rank-6 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-6 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (LongNdArray src, long[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of longs
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ByteNdArray src, byte[][][][][] dst)
Copy a NdArray
to a 5-dimensional array of bytes
Parameters
src | source rank-5 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-5 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyFrom (ShortNdArray src, short[][] dst)
Copy a NdArray
to a 2-dimensional array of shorts
Parameters
src | source rank-2 array |
---|---|
dst | destination array |
Throws
IllegalArgumentException | if src is not of rank-2 |
---|---|
ArrayIndexOutOfBoundsException | if not all elements of src can fit it the destination array
|
public static void copyTo (double[] src, DoubleNdArray dst)
Copy an array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[][][][][][] src, BooleanNdArray dst)
Copy a 6-dimensional array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[][][][] src, ShortNdArray dst)
Copy a 4-dimensional array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[] src, NdArray<T> dst)
Copy an array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (double[][][][][][] src, DoubleNdArray dst)
Copy a 6-dimensional array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[][][] src, FloatNdArray dst)
Copy a 3-dimensional array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[] src, IntNdArray dst)
Copy an array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[][][][] src, NdArray<T> dst)
Copy a 4-dimensional array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[][] src, IntNdArray dst)
Copy a 2-dimensional array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[][][] src, BooleanNdArray dst)
Copy a 3-dimensional array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[][][][][] src, LongNdArray dst)
Copy a 5-dimensional array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[][][][][] src, FloatNdArray dst)
Copy a 5-dimensional array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (double[][][][][] src, DoubleNdArray dst)
Copy a 5-dimensional array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[][][][] src, FloatNdArray dst)
Copy a 4-dimensional array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[][][] src, IntNdArray dst)
Copy a 3-dimensional array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[][] src, BooleanNdArray dst)
Copy a 2-dimensional array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[][][][] src, IntNdArray dst)
Copy a 4-dimensional array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (double[][][] src, DoubleNdArray dst)
Copy a 3-dimensional array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[] src, ByteNdArray dst)
Copy an array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[][][][][][] src, FloatNdArray dst)
Copy a 6-dimensional array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[][][][] src, BooleanNdArray dst)
Copy a 4-dimensional array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[][][][][][] src, ByteNdArray dst)
Copy a 6-dimensional array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[][][][] src, LongNdArray dst)
Copy a 4-dimensional array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[][][][][] src, ByteNdArray dst)
Copy a 5-dimensional array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[][][] src, ShortNdArray dst)
Copy a 3-dimensional array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[][][][][][] src, LongNdArray dst)
Copy a 6-dimensional array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[] src, LongNdArray dst)
Copy an array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[][][] src, LongNdArray dst)
Copy a 3-dimensional array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[] src, ShortNdArray dst)
Copy an array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (double[][] src, DoubleNdArray dst)
Copy a 2-dimensional array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[][][] src, NdArray<T> dst)
Copy a 3-dimensional array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[][][][][] src, ShortNdArray dst)
Copy a 5-dimensional array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[][] src, ShortNdArray dst)
Copy a 2-dimensional array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[][][][][] src, NdArray<T> dst)
Copy a 5-dimensional array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[][][][][] src, IntNdArray dst)
Copy a 5-dimensional array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[][] src, FloatNdArray dst)
Copy a 2-dimensional array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (long[][] src, LongNdArray dst)
Copy a 2-dimensional array of longs into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[][][] src, ByteNdArray dst)
Copy a 3-dimensional array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-3 array |
Throws
IllegalArgumentException | if dst is not of rank-3 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[] src, BooleanNdArray dst)
Copy an array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[][][][][][] src, NdArray<T> dst)
Copy a 6-dimensional array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (boolean[][][][][] src, BooleanNdArray dst)
Copy a 5-dimensional array of booleans into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-5 array |
Throws
IllegalArgumentException | if dst is not of rank-5 or has an incompatible shape
with the source array
|
---|
public static void copyTo (T[][] src, NdArray<T> dst)
Copy a 2-dimensional array of objects into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (float[] src, FloatNdArray dst)
Copy an array of floats into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-1 array |
Throws
IllegalArgumentException | if dst is not of rank-1 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[][] src, ByteNdArray dst)
Copy a 2-dimensional array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-2 array |
Throws
IllegalArgumentException | if dst is not of rank-2 or has an incompatible shape
with the source array
|
---|
public static void copyTo (int[][][][][][] src, IntNdArray dst)
Copy a 6-dimensional array of ints into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (byte[][][][] src, ByteNdArray dst)
Copy a 4-dimensional array of bytes into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static void copyTo (short[][][][][][] src, ShortNdArray dst)
Copy a 6-dimensional array of shorts into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-6 array |
Throws
IllegalArgumentException | if dst is not of rank-6 or has an incompatible shape
with the source array
|
---|
public static void copyTo (double[][][][] src, DoubleNdArray dst)
Copy a 4-dimensional array of doubles into the dst
NdArray
Parameters
src | source array |
---|---|
dst | destination rank-4 array |
Throws
IllegalArgumentException | if dst is not of rank-4 or has an incompatible shape
with the source array
|
---|
public static ShortNdArray ndCopyOf (short[] array)
Copy an array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static DoubleNdArray ndCopyOf (double[][][][] array)
Copy a 4-dimensional array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static ShortNdArray ndCopyOf (short[][] array)
Copy a 2-dimensional array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static FloatNdArray ndCopyOf (float[] array)
Copy an array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static NdArray<T> ndCopyOf (T[] array)
public static FloatNdArray ndCopyOf (float[][] array)
Copy a 2-dimensional array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static NdArray<T> ndCopyOf (T[][][][][] array)
Copy a 5-dimensional array of objects in a new NdArray
Parameters
array | source array |
---|
Returns
- the
NdArray
copy
public static IntNdArray ndCopyOf (int[][][] array)
Copy a 3-dimensional array of ints in a new IntNdArray
Parameters
array | source array |
---|
Returns
- the
IntNdArray
copy
public static FloatNdArray ndCopyOf (float[][][] array)
Copy a 3-dimensional array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static IntNdArray ndCopyOf (int[][][][][] array)
Copy a 5-dimensional array of ints in a new IntNdArray
Parameters
array | source array |
---|
Returns
- the
IntNdArray
copy
public static LongNdArray ndCopyOf (long[][][][][][] array)
Copy a 6-dimensional array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[][] array)
Copy a 2-dimensional array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static LongNdArray ndCopyOf (long[][] array)
Copy a 2-dimensional array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[] array)
Copy an array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[][][][][] array)
Copy a 5-dimensional array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static DoubleNdArray ndCopyOf (double[][][][][] array)
Copy a 5-dimensional array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static LongNdArray ndCopyOf (long[] array)
Copy an array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static IntNdArray ndCopyOf (int[][][][] array)
Copy a 4-dimensional array of ints in a new IntNdArray
Parameters
array | source array |
---|
Returns
- the
IntNdArray
copy
public static NdArray<T> ndCopyOf (T[][][][] array)
Copy a 4-dimensional array of objects in a new NdArray
Parameters
array | source array |
---|
Returns
- the
NdArray
copy
public static FloatNdArray ndCopyOf (float[][][][][][] array)
Copy a 6-dimensional array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static ByteNdArray ndCopyOf (byte[][][][][][] array)
Copy a 6-dimensional array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static DoubleNdArray ndCopyOf (double[] array)
Copy an array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static ShortNdArray ndCopyOf (short[][][][] array)
Copy a 4-dimensional array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static ByteNdArray ndCopyOf (byte[][] array)
Copy a 2-dimensional array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static ByteNdArray ndCopyOf (byte[] array)
Copy an array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static ShortNdArray ndCopyOf (short[][][][][] array)
Copy a 5-dimensional array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[][][] array)
Copy a 3-dimensional array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static DoubleNdArray ndCopyOf (double[][][][][][] array)
Copy a 6-dimensional array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static ByteNdArray ndCopyOf (byte[][][] array)
Copy a 3-dimensional array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static FloatNdArray ndCopyOf (float[][][][][] array)
Copy a 5-dimensional array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static LongNdArray ndCopyOf (long[][][] array)
Copy a 3-dimensional array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static ByteNdArray ndCopyOf (byte[][][][] array)
Copy a 4-dimensional array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static ShortNdArray ndCopyOf (short[][][] array)
Copy a 3-dimensional array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static LongNdArray ndCopyOf (long[][][][][] array)
Copy a 5-dimensional array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static IntNdArray ndCopyOf (int[] array)
public static ShortNdArray ndCopyOf (short[][][][][][] array)
Copy a 6-dimensional array of shorts in a new ShortNdArray
Parameters
array | source array |
---|
Returns
- the
ShortNdArray
copy
public static IntNdArray ndCopyOf (int[][] array)
Copy a 2-dimensional array of ints in a new IntNdArray
Parameters
array | source array |
---|
Returns
- the
IntNdArray
copy
public static ByteNdArray ndCopyOf (byte[][][][][] array)
Copy a 5-dimensional array of bytes in a new ByteNdArray
Parameters
array | source array |
---|
Returns
- the
ByteNdArray
copy
public static NdArray<T> ndCopyOf (T[][] array)
Copy a 2-dimensional array of objects in a new NdArray
Parameters
array | source array |
---|
Returns
- the
NdArray
copy
public static DoubleNdArray ndCopyOf (double[][] array)
Copy a 2-dimensional array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static NdArray<T> ndCopyOf (T[][][][][][] array)
Copy a 6-dimensional array of objects in a new NdArray
Parameters
array | source array |
---|
Returns
- the
NdArray
copy
public static FloatNdArray ndCopyOf (float[][][][] array)
Copy a 4-dimensional array of floats in a new FloatNdArray
Parameters
array | source array |
---|
Returns
- the
FloatNdArray
copy
public static NdArray<T> ndCopyOf (T[][][] array)
Copy a 3-dimensional array of objects in a new NdArray
Parameters
array | source array |
---|
Returns
- the
NdArray
copy
public static IntNdArray ndCopyOf (int[][][][][][] array)
Copy a 6-dimensional array of ints in a new IntNdArray
Parameters
array | source array |
---|
Returns
- the
IntNdArray
copy
public static DoubleNdArray ndCopyOf (double[][][] array)
Copy a 3-dimensional array of doubles in a new DoubleNdArray
Parameters
array | source array |
---|
Returns
- the
DoubleNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[][][][] array)
Copy a 4-dimensional array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static LongNdArray ndCopyOf (long[][][][] array)
Copy a 4-dimensional array of longs in a new LongNdArray
Parameters
array | source array |
---|
Returns
- the
LongNdArray
copy
public static BooleanNdArray ndCopyOf (boolean[][][][][][] array)
Copy a 6-dimensional array of booleans in a new BooleanNdArray
Parameters
array | source array |
---|
Returns
- the
BooleanNdArray
copy
public static Shape shapeOf (T[][][] array)
Compute the shape of a 3-dimensional object array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[][][][] array)
Compute the shape of a 4-dimensional double array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[] array)
Compute the shape of a long array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[] array)
Compute the shape of a boolean array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[][] array)
Compute the shape of a 2-dimensional double array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[][][][][][] array)
Compute the shape of a 6-dimensional short array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[][] array)
Compute the shape of a 2-dimensional float array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[][][][] array)
Compute the shape of a 4-dimensional short array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[][][][][][] array)
Compute the shape of a 6-dimensional byte array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[][] array)
Compute the shape of a 2-dimensional short array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[][][][] array)
Compute the shape of a 4-dimensional float array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[][][] array)
Compute the shape of a 3-dimensional short array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[][][][][][] array)
Compute the shape of a 6-dimensional boolean array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[] array)
Compute the shape of a byte array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[][][] array)
Compute the shape of a 3-dimensional byte array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[][] array)
Compute the shape of a 2-dimensional int array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[][][][][] array)
Compute the shape of a 5-dimensional double array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[][][] array)
Compute the shape of a 3-dimensional double array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (T[] array)
Compute the shape of an object array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[][][] array)
Compute the shape of a 3-dimensional int array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[][] array)
Compute the shape of a 2-dimensional byte array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[][][][][][] array)
Compute the shape of a 6-dimensional float array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[][][][][][] array)
Compute the shape of a 6-dimensional long array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (T[][] array)
Compute the shape of a 2-dimensional object array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[][][][][] array)
Compute the shape of a 5-dimensional int array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[][][][][][] array)
Compute the shape of a 6-dimensional int array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[] array)
Compute the shape of a double array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[][][][][] array)
Compute the shape of a 5-dimensional boolean array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[][][][][] array)
Compute the shape of a 5-dimensional float array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[][][][] array)
Compute the shape of a 4-dimensional long array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[][][][] array)
Compute the shape of a 4-dimensional byte array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[][][][] array)
Compute the shape of a 4-dimensional boolean array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[][][] array)
Compute the shape of a 3-dimensional float array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[][][][][] array)
Compute the shape of a 5-dimensional short array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[][][] array)
Compute the shape of a 3-dimensional long array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[][] array)
Compute the shape of a 2-dimensional boolean array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (float[] array)
Compute the shape of a float array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (byte[][][][][] array)
Compute the shape of a 5-dimensional byte array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[][] array)
Compute the shape of a 2-dimensional long array.
Parameters
array | 2D array |
---|
Returns
- shape of the array
public static Shape shapeOf (T[][][][] array)
Compute the shape of a 4-dimensional object array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[][][][] array)
Compute the shape of a 4-dimensional int array.
Parameters
array | 4D array |
---|
Returns
- shape of the array
public static Shape shapeOf (T[][][][][] array)
Compute the shape of a 5-dimensional object array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (double[][][][][][] array)
Compute the shape of a 6-dimensional double array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (long[][][][][] array)
Compute the shape of a 5-dimensional long array.
Parameters
array | 5D array |
---|
Returns
- shape of the array
public static Shape shapeOf (short[] array)
Compute the shape of a short array.
Parameters
array | 1D array |
---|
Returns
- shape of the array
public static Shape shapeOf (boolean[][][] array)
Compute the shape of a 3-dimensional boolean array.
Parameters
array | 3D array |
---|
Returns
- shape of the array
public static Shape shapeOf (T[][][][][][] array)
Compute the shape of a 6-dimensional object array.
Parameters
array | 6D array |
---|
Returns
- shape of the array
public static Shape shapeOf (int[] array)
Compute the shape of an int array.
Parameters
array | 1D array |
---|
Returns
- shape of the array