public class Doubles extends Object
Modifier and Type | Method and Description |
---|---|
static List<List<double[]>> |
transform(double[][] mat)
Returns a list containing a list of doubles for each row in the given double matrix.
|
static List<List<double[]>> |
transform(double[][][] tens)
Returns a list containing a list of double arrays for each entry in the given tensor of
doubles.
|
static List<List<double[]>> |
transform(List<double[]> mat)
Returns a list containing a list of doubles for each double array in the given list.
|
static List<double[]> |
transformObject(Object obj)
Returns a list containing double arrays for each frame in the given object.
|
static List<List<double[]>> |
transformObjects(Object[] arr)
Returns a list containing a list of double arrays for each entry in the given Object array.
|
static List<double[]> |
transformSingle(double[] vec)
Returns a list containing one-dimensional double arrays, one for each entry in the given
array.
|
static List<double[]> |
transformSingle(double[][] mat)
Transforms the given matrix of doubles into a list of doubles.
|
static List<List<double[]>> |
unboxAndTransform(Double[][] mat)
Returns a list containing a list of doubles for each row in the given Double matrix.
|
static List<List<double[]>> |
unboxAndTransform(Double[][][] tens)
Returns a list containing a list of double arrays for each entry in the given tensor of
Doubles.
|
static List<List<double[]>> |
unboxAndTransform(List<Double[]> mat)
Returns a list containing a list of doubles for each Double array in the given list.
|
static List<double[]> |
unboxAndTransformSingle(Double[] arr)
Returns a list containing one-dimensional double arrays, one for each entry in the given
array.
|
static List<double[]> |
unboxAndTransformSingle(Double[][] mat)
Transforms the given matrix of doubles into a list of doubles.
|
static List<double[]> |
unboxAndTransformSingle(List<Double> lst)
Returns a list containing one-dimensional double arrays, one for each entry in the given
list.
|
public static List<double[]> transformSingle(@NonNull double[] vec)
vec
- an array of doubles.public static List<double[]> transformSingle(@NonNull double[][] mat)
mat
- an array of doubles.public static List<double[]> unboxAndTransformSingle(@NonNull Double[] arr)
arr
- an array of Doubles.public static List<double[]> unboxAndTransformSingle(@NonNull List<Double> lst)
lst
- a list of Doubles.public static List<double[]> unboxAndTransformSingle(@NonNull Double[][] mat)
mat
- an array of Doubles.public static List<List<double[]>> transform(@NonNull double[][] mat)
mat
- a matrix of doubles.public static List<List<double[]>> transform(@NonNull List<double[]> mat)
mat
- a list of double arrays.public static List<List<double[]>> transform(@NonNull double[][][] tens)
tens
- a tensor of doubles.public static List<List<double[]>> unboxAndTransform(@NonNull Double[][] mat)
mat
- a matrix of Doubles.public static List<List<double[]>> unboxAndTransform(@NonNull List<Double[]> mat)
mat
- a list of double arrays.public static List<List<double[]>> unboxAndTransform(@NonNull Double[][][] tens)
tens
- a tensor of Doubles.public static List<double[]> transformObject(@NonNull Object obj)
obj
- an object containing one sequence. So it is expected to be a double array or a
double matrix.public static List<List<double[]>> transformObjects(@NonNull Object[] arr)
arr
- an object array containing one sequence per entry. So each entry is expected to be
a double array or a double matrix.Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/