org.math.plot.utils
Class Array
java.lang.Object
org.math.plot.utils.Array
public class Array
- extends Object
BSD License
- Author:
- Yann RICHET
Constructor Summary |
Array()
|
Method Summary |
static double[][] |
buildXY(double[] X,
double[] Y)
|
static double[][] |
buildXY(double Xmin,
double Xmax,
double[] Y)
|
static void |
checkColumnDimension(double[][] M,
int n)
|
static void |
checkLength(double[] M,
int n)
|
static void |
checkRowDimension(double[][] M,
int m)
|
static double[] |
copy(double[] M)
|
static double[][] |
copy(double[][] M)
|
static double[] |
delete(double[] x,
int... J)
|
static double[][] |
deleteColumns(double[][] x,
int... J)
|
static double[][] |
deleteColumnsRange(double[][] x,
int J1,
int J2)
|
static double[] |
deleteRange(double[] x,
int J1,
int J2)
|
static double[][] |
deleteRows(double[][] x,
int... I)
|
static double[][] |
deleteRowsRange(double[][] x,
int I1,
int I2)
|
static int[] |
duplicate(int m,
int c)
|
static String[] |
duplicate(int m,
String c)
|
static double[] |
getColumnCopy(double[][][] M,
int j,
int k)
|
static double[] |
getColumnCopy(double[][] M,
int j)
|
static int |
getColumnDimension(double[][] M,
int i)
|
static double[][] |
getColumnsCopy(double[][] M,
int... J)
|
static double[][] |
getColumnsRangeCopy(double[][] M,
int j1,
int j2)
|
static double[] |
getCopy(double[] M,
int... I)
|
static double[] |
getRangeCopy(double[] M,
int j1,
int j2)
|
static double[] |
getRowCopy(double[][] M,
int i)
|
static double[][] |
getRowsCopy(double[][] M,
int... I)
|
static double[][] |
getRowsRangeCopy(double[][] M,
int i1,
int i2)
|
static double[][] |
getSubMatrixRangeCopy(double[][] M,
int i1,
int i2,
int j1,
int j2)
|
static double[] |
increment(int m,
double begin,
double pitch)
|
static double[][] |
increment(int m,
int n,
double begin,
double pitch)
|
static double[] |
insert(double[] x,
int I,
double... y)
|
static double[][] |
insertColumn(double[][] x,
double[] y,
int J)
|
static double[][] |
insertColumns(double[][] x,
double[][] y,
int J)
|
static double[][] |
insertRow(double[][] x,
double[] y,
int I)
|
static double[][] |
insertRows(double[][] x,
double[][] y,
int I)
|
static boolean |
isColumnDimension(double[][] M,
int n)
|
static boolean |
isLength(double[] M,
int n)
|
static boolean |
isRowDimension(double[][] M,
int m)
|
static double |
max(double... M)
|
static double[] |
max(double[][] M)
|
static int |
maxIndex(double... M)
|
static int[] |
maxIndex(double[][] M)
|
static double[] |
merge(double[]... x)
|
static double[][] |
mergeColumns(double[]... x)
|
static double[][] |
mergeRows(double[]... x)
|
static double |
min(double... M)
|
static double[] |
min(double[][] M)
|
static int |
minIndex(double... M)
|
static int[] |
minIndex(double[][] M)
|
static double[] |
one(int m)
|
static double[] |
one(int m,
double c)
|
static double[][] |
one(int m,
int n)
|
static double[][] |
one(int m,
int n,
double c)
|
static void |
throwError(String msg)
|
static String |
toString(double[]... v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Array
public Array()
duplicate
public static String[] duplicate(int m,
String c)
duplicate
public static int[] duplicate(int m,
int c)
one
public static double[][] one(int m,
int n)
one
public static double[][] one(int m,
int n,
double c)
one
public static double[] one(int m)
one
public static double[] one(int m,
double c)
increment
public static double[][] increment(int m,
int n,
double begin,
double pitch)
increment
public static double[] increment(int m,
double begin,
double pitch)
copy
public static double[] copy(double[] M)
copy
public static double[][] copy(double[][] M)
getSubMatrixRangeCopy
public static double[][] getSubMatrixRangeCopy(double[][] M,
int i1,
int i2,
int j1,
int j2)
getColumnsRangeCopy
public static double[][] getColumnsRangeCopy(double[][] M,
int j1,
int j2)
getColumnsCopy
public static double[][] getColumnsCopy(double[][] M,
int... J)
getColumnCopy
public static double[] getColumnCopy(double[][] M,
int j)
getColumnCopy
public static double[] getColumnCopy(double[][][] M,
int j,
int k)
getRowsCopy
public static double[][] getRowsCopy(double[][] M,
int... I)
getRowCopy
public static double[] getRowCopy(double[][] M,
int i)
getRowsRangeCopy
public static double[][] getRowsRangeCopy(double[][] M,
int i1,
int i2)
getRangeCopy
public static double[] getRangeCopy(double[] M,
int j1,
int j2)
getCopy
public static double[] getCopy(double[] M,
int... I)
getColumnDimension
public static int getColumnDimension(double[][] M,
int i)
mergeRows
public static double[][] mergeRows(double[]... x)
mergeColumns
public static double[][] mergeColumns(double[]... x)
merge
public static double[] merge(double[]... x)
insertColumns
public static double[][] insertColumns(double[][] x,
double[][] y,
int J)
insertColumn
public static double[][] insertColumn(double[][] x,
double[] y,
int J)
insertRows
public static double[][] insertRows(double[][] x,
double[][] y,
int I)
insertRow
public static double[][] insertRow(double[][] x,
double[] y,
int I)
insert
public static double[] insert(double[] x,
int I,
double... y)
deleteColumnsRange
public static double[][] deleteColumnsRange(double[][] x,
int J1,
int J2)
deleteColumns
public static double[][] deleteColumns(double[][] x,
int... J)
deleteRowsRange
public static double[][] deleteRowsRange(double[][] x,
int I1,
int I2)
deleteRows
public static double[][] deleteRows(double[][] x,
int... I)
deleteRange
public static double[] deleteRange(double[] x,
int J1,
int J2)
delete
public static double[] delete(double[] x,
int... J)
buildXY
public static double[][] buildXY(double Xmin,
double Xmax,
double[] Y)
buildXY
public static double[][] buildXY(double[] X,
double[] Y)
min
public static double[] min(double[][] M)
min
public static double min(double... M)
max
public static double[] max(double[][] M)
max
public static double max(double... M)
minIndex
public static int[] minIndex(double[][] M)
minIndex
public static int minIndex(double... M)
maxIndex
public static int[] maxIndex(double[][] M)
maxIndex
public static int maxIndex(double... M)
toString
public static String toString(double[]... v)
throwError
public static void throwError(String msg)
checkColumnDimension
public static void checkColumnDimension(double[][] M,
int n)
isColumnDimension
public static boolean isColumnDimension(double[][] M,
int n)
checkRowDimension
public static void checkRowDimension(double[][] M,
int m)
isRowDimension
public static boolean isRowDimension(double[][] M,
int m)
checkLength
public static void checkLength(double[] M,
int n)
isLength
public static boolean isLength(double[] M,
int n)