|
|||||||||
| Home >> All >> jmat >> data >> [ arrayTools overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jmat.data.arrayTools
Class Find

java.lang.Objectjmat.data.arrayTools.Find
- public class Find
- extends java.lang.Object
Find a value or a verified condition in a 2D-Array of double.
| Field Summary | |
private double[][] |
A
2D-Array to test. |
private int[][] |
indices
Indices of elements found. |
private java.lang.String |
test
String of the test. |
private double |
value
Value to find or to compare. |
| Constructor Summary | |
Find(double[][] a,
double v)
Find a value. |
|
Find(double[][] a,
java.lang.String t,
double v)
Find elements verifying a test. |
|
| Method Summary | |
private int[][] |
find(double[][] a,
java.lang.String t,
double v)
Find elements verifying the test. |
private int[][] |
findDiff(double[][] a,
double v)
|
private int[][] |
findEqual(double[][] a,
double v)
|
private int[][] |
findInf(double[][] a,
double v)
|
private int[][] |
findInfEqual(double[][] a,
double v)
|
private int[][] |
findSup(double[][] a,
double v)
|
private int[][] |
findSupEqual(double[][] a,
double v)
|
boolean[][] |
getBooleanArray()
Get the boolean array of the test (true / false). |
double[][] |
getDoubleArray()
Get the double array of the test (1D / 0D). |
int[][] |
getIndices()
Get the indices verifying the test. |
private int[][] |
put(int[][] ind,
int i0,
int j0)
|
private boolean[][] |
setBooleanArray(int[][] ind,
double[][] a)
Set the boolean array. |
private double[][] |
setDoubleArray(int[][] ind,
double[][] a)
Set the double array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
test
private java.lang.String test
- String of the test.
A
private double[][] A
- 2D-Array to test.
indices
private int[][] indices
- Indices of elements found.
value
private double value
- Value to find or to compare.
| Constructor Detail |
Find
public Find(double[][] a,
double v)
- Find a value.
Find
public Find(double[][] a,
java.lang.String t,
double v)
- Find elements verifying a test.
| Method Detail |
getBooleanArray
public boolean[][] getBooleanArray()
- Get the boolean array of the test (true / false).
getDoubleArray
public double[][] getDoubleArray()
- Get the double array of the test (1D / 0D).
getIndices
public int[][] getIndices()
- Get the indices verifying the test.
setBooleanArray
private boolean[][] setBooleanArray(int[][] ind,
double[][] a)
- Set the boolean array.
setDoubleArray
private double[][] setDoubleArray(int[][] ind,
double[][] a)
- Set the double array.
find
private int[][] find(double[][] a,
java.lang.String t,
double v)
- Find elements verifying the test.
findDiff
private int[][] findDiff(double[][] a,
double v)
findEqual
private int[][] findEqual(double[][] a,
double v)
findInf
private int[][] findInf(double[][] a,
double v)
findInfEqual
private int[][] findInfEqual(double[][] a,
double v)
findSup
private int[][] findSup(double[][] a,
double v)
findSupEqual
private int[][] findSupEqual(double[][] a,
double v)
put
private int[][] put(int[][] ind,
int i0,
int j0)
|
|||||||||
| Home >> All >> jmat >> data >> [ arrayTools overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jmat.data.arrayTools.Find