public class ZeroSetter
extends java.lang.Object
Constructor and Description |
---|
ZeroSetter() |
Modifier and Type | Method and Description |
---|---|
static void |
zero(double[][][] a,
int l1,
int l2,
int l3)
set all the elements of a double tensor to zero
|
static void |
zero(double[][] a,
int l1,
int l2)
set all the elements of a double matrix to zero
|
static void |
zero(double[] a,
int l1)
set all the elements of a double vector to zero
|
static void |
zero(int[][] a,
int l1,
int l2)
set all the elements of a integer matrix to zero
|
static void |
zero(int[] a,
int l1)
set all the elements of a integer vector to zero
|
public static void zero(double[] a, int l1)
a
- the double vector to be set to zerol1
- the length of the vectorpublic static void zero(int[] a, int l1)
a
- the integer vector to be set to zerol1
- the length of the vectorpublic static void zero(int[][] a, int l1, int l2)
a
- the integer matrix to be set to zerol1
- the rows of the matrixl2
- the columns of the matrixpublic static void zero(double[][] a, int l1, int l2)
a
- the double matrix to be set to zerol1
- the rows of the matrixl2
- the columns of the matrixpublic static void zero(double[][][] a, int l1, int l2, int l3)
a
- the double tensor to be set to zerol1
- the first dimension of the tensorl2
- the second dimension of the tensorl3
- the third dimension of the tensorCopyright © 2017. All Rights Reserved.