public class Slicing extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTO_BOUNDS |
static double |
epsilon |
static String |
UNIFORM_BOUNDS |
| Constructor and Description |
|---|
Slicing(double[][] m,
double[][] bounds)
Construct a Slice from a matrix and an orthogonal slicing.
|
Slicing(double[][] m,
double[][] centers,
double[][] widths)
Construct a Slice from a matrix and an orthogonal slicing.
|
Slicing(double[][] m,
int[][] n)
Construct a Slice from a matrix and an orthogonal slicing.
|
Slicing(double[][] m,
int[] n,
String bounds)
Construct a Slice from a matrix and an orthogonal slicing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
findSlice(double[] x) |
double[] |
getSlicesCardinals() |
double[][] |
getSlicesCenters() |
int[][] |
getSlicesIndexes() |
double[][] |
getSlicesWidths() |
double[][] |
getSlicingMatrix() |
static void |
main(String[] args) |
void |
toCommandLine(String title) |
public static final String AUTO_BOUNDS
public static final String UNIFORM_BOUNDS
public static double epsilon
public Slicing(double[][] m,
int[] n,
String bounds)
m - Matrix to slice.n - Array of number of slices per dimension of the matrix.bounds - type of bounds setting : AUTO or UNIFORM.public Slicing(double[][] m,
double[][] bounds)
m - Matrix to slice.bounds - bounds of slices per dimension (in rows!).public Slicing(double[][] m,
double[][] centers,
double[][] widths)
m - Matrix to slice.centers - centers of slices per dimension (in rows!).widths - widths of slices per dimension (in rows!).public Slicing(double[][] m,
int[][] n)
m - Matrix to slice.n - Array of slices.public double[][] getSlicingMatrix()
public double[] getSlicesCardinals()
public double[][] getSlicesWidths()
public double[][] getSlicesCenters()
public int findSlice(double[] x)
public int[][] getSlicesIndexes()
public void toCommandLine(String title)
public static void main(String[] args)
DMelt 2.0 © DataMelt by jWork.ORG