public class MarvinMath
extends java.lang.Object
Constructor and Description |
---|
MarvinMath() |
Modifier and Type | Method and Description |
---|---|
static double |
euclideanDistance(double x1,
double y1,
double x2,
double y2) |
static double |
euclideanDistance(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
static boolean[][] |
getTrueMatrix(int rows,
int cols) |
static double[][] |
scaleMatrix(double[][] matrix,
double scale) |
public static boolean[][] getTrueMatrix(int rows, int cols)
public static double[][] scaleMatrix(double[][] matrix, double scale)
public static double euclideanDistance(double x1, double y1, double x2, double y2)
public static double euclideanDistance(double x1, double y1, double z1, double x2, double y2, double z2)