|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.Slicing
public class Slicing
BSD License
Field Summary | |
---|---|
static java.lang.String |
AUTO_BOUNDS
|
static double |
epsilon
|
static java.lang.String |
UNIFORM_BOUNDS
|
Constructor Summary | |
---|---|
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,
java.lang.String bounds)
Construct a Slice from a matrix and an orthogonal slicing. |
Method Summary | |
---|---|
int |
findSlice(double[] x)
|
double[] |
getSlicesCardinals()
|
double[][] |
getSlicesCenters()
|
int[][] |
getSlicesIndexes()
|
double[][] |
getSlicesWidths()
|
double[][] |
getSlicingMatrix()
|
static void |
main(java.lang.String[] args)
|
void |
toCommandLine(java.lang.String title)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AUTO_BOUNDS
public static final java.lang.String UNIFORM_BOUNDS
public static double epsilon
Constructor Detail |
---|
public Slicing(double[][] m, int[] n, java.lang.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.Method Detail |
---|
public double[][] getSlicingMatrix()
public double[] getSlicesCardinals()
public double[][] getSlicesWidths()
public double[][] getSlicesCenters()
public int findSlice(double[] x)
public int[][] getSlicesIndexes()
public void toCommandLine(java.lang.String title)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |