public class UtilFunctions extends Object
Constructor and Description |
---|
UtilFunctions() |
Modifier and Type | Method and Description |
---|---|
static double[][] |
duplicate(double[][] m)
Duplicates the matrix using deep-copy.
|
static float[][] |
duplicate(float[][] m)
Duplicates the matrix using deep-copy.
|
static int[][] |
duplicate(int[][] m)
Duplicates the matrix using deep-copy.
|
static long[][] |
duplicate(long[][] m)
Duplicates the matrix using deep-copy.
|
public static double[][] duplicate(double[][] m)
m
- the matrix to duplicatepublic static float[][] duplicate(float[][] m)
m
- the matrix to duplicatepublic static int[][] duplicate(int[][] m)
m
- the matrix to duplicatepublic static long[][] duplicate(long[][] m)
m
- the matrix to duplicate