public class ArrayUtil extends Object
| Constructor and Description | 
|---|
ArrayUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static double[] | 
add(double[] a,
   double[] b)
Add double [ ]. 
 | 
static List<double[]> | 
add(List<double[]> a,
   List<double[]> b)
Add list. 
 | 
static double | 
dot(double[] a,
   double[] b)
Dot double. 
 | 
static double | 
dot(List<double[]> a,
   List<double[]> b)
Dot double. 
 | 
static double | 
magnitude(double[] a)
Magnitude double. 
 | 
static double | 
mean(double[] op)
Mean double. 
 | 
static List<double[]> | 
minus(List<double[]> a,
     List<double[]> b)
Minus list. 
 | 
static double[] | 
multiply(double[] a,
        double b)
Multiply double [ ]. 
 | 
static double[] | 
multiply(double[] a,
        double[] b)
Multiply double [ ]. 
 | 
static List<double[]> | 
multiply(List<double[]> a,
        double b)
Multiply list. 
 | 
static List<double[]> | 
multiply(List<double[]> a,
        List<double[]> b)
Multiply list. 
 | 
static double[] | 
op(double[] a,
  double[] b,
  DoubleBinaryOperator fn)
Op double [ ]. 
 | 
static double[] | 
op(double[] a,
  DoubleUnaryOperator fn)
Op double [ ]. 
 | 
static List<double[]> | 
op(List<double[]> a,
  DoubleUnaryOperator fn)
Op list. 
 | 
static List<double[]> | 
op(List<double[]> a,
  List<double[]> b,
  DoubleBinaryOperator fn)
Op list. 
 | 
static double[] | 
subtract(double[] a,
        double[] b)
Subtract double [ ]. 
 | 
static double | 
sum(double[] op)
Sum double. 
 | 
static double[] | 
sum(double[] a,
   double b)
Sum double [ ]. 
 | 
static double | 
sum(List<double[]> a)
Sum double. 
 | 
@Nonnull public static double[] add(@Nonnull double[] a, @Nonnull double[] b)
a - the ab - the bpublic static List<double[]> add(@Nonnull List<double[]> a, @Nonnull List<double[]> b)
a - the ab - the bpublic static double dot(@Nonnull double[] a, @Nonnull double[] b)
a - the ab - the bpublic static double dot(@Nonnull List<double[]> a, @Nonnull List<double[]> b)
a - the ab - the bpublic static double magnitude(@Nonnull double[] a)
a - the apublic static double mean(@Nonnull double[] op)
op - the oppublic static List<double[]> minus(@Nonnull List<double[]> a, @Nonnull List<double[]> b)
a - the ab - the b@Nonnull public static double[] multiply(@Nonnull double[] a, double b)
a - the ab - the b@Nonnull public static double[] multiply(@Nonnull double[] a, @Nonnull double[] b)
a - the ab - the b@Nonnull public static List<double[]> multiply(@Nonnull List<double[]> a, double b)
a - the ab - the bpublic static List<double[]> multiply(@Nonnull List<double[]> a, @Nonnull List<double[]> b)
a - the ab - the b@Nonnull public static double[] op(@Nonnull double[] a, @Nonnull double[] b, @Nonnull DoubleBinaryOperator fn)
a - the ab - the bfn - the fn@Nonnull public static double[] op(@Nonnull double[] a, @Nonnull DoubleUnaryOperator fn)
a - the afn - the fn@Nonnull public static List<double[]> op(@Nonnull List<double[]> a, @Nonnull DoubleUnaryOperator fn)
a - the afn - the fnpublic static List<double[]> op(@Nonnull List<double[]> a, @Nonnull List<double[]> b, @Nonnull DoubleBinaryOperator fn)
a - the ab - the bfn - the fn@Nonnull public static double[] subtract(@Nonnull double[] a, @Nonnull double[] b)
a - the ab - the bpublic static double sum(@Nonnull double[] op)
op - the op@Nonnull public static double[] sum(@Nonnull double[] a, double b)
a - the ab - the bCopyright © 2019 SimiaCryptus Software. All rights reserved.