|
|
|
|
String[] getColumn(String[][] matrix, int column)
|
Returns a String[] for a specified column in the matrix. Useful when values have been read from a file and only certain columns should be shown in a table.
|
|
double[] getColumn(double[][] matrix, int column)
|
Returns a double[] for a specified column in the matrix.
|
|
int[] getColumn(int[][] matrix, int column)
|
Returns an int[] for a specified column in the matrix.
|
|
boolean[] getColumn(boolean[][] matrix, int column)
|
Returns a boolean[] for a specified column in the matrix.
|
|
String[][] getSubMatrix(String[][] matrix, int startCol, int endCol, int startRow, int endRow)
|
Returns a rectangular submatrix of the input matrix spanning columns from startCol to endCol, and rows from startRow to endRow.
|
|
double[][] getSubMatrix(double[][] matrix, int startCol,int endCol, int startRow, int endRow)
|
Returns a rectangular submatrix of the input matrix spanning columns from startCol to endCol, and rows from startRow to endRow.
|
|
int[][] getSubMatrix(int[][] matrix, int startCol, int endCol, int startRow, int endRow)
|
Returns a rectangular submatrix of the input matrix spanning columns from startCol to endCol, and rows from startRow to endRow.
|
|
boolean[][] getSubMatrix(boolean[][] matrix, int startCol, int endCol, int startRow, int endRow)
|
Returns a rectangular submatrix of the input matrix spanning columns from startCol to endCol, and rows from startRow to endRow.
|
|
String[] insert(String[] array, String value, int index)
|
Inserts an element at position index in an array and returns the expanded array.
|
|
double[] insert(double[] array, double value, int index)
|
Inserts an element at position index in an array and returns the expanded array.
|
|
int[] insert(int[] array, int value, int index)
|
Inserts an element at position index in an array and returns the expanded array.
|
|
boolean[] insert(boolean[] array, boolean value, int index)
|
Inserts an element at position index in an array and returns the expanded array.
|
|
String[] insert(String[] array, String[] value, int[] index)
|
Inserts elements in an array at positions given by the index array and returns the expanded array.
|
|
double[] insert(double[] array, double[] value, int[] index)
|
Inserts elements in an array at positions given by the index array and returns the expanded array.
|
|
int[] insert(int[] array, int[] value, int[] index)
|
Inserts elements in an array at positions given by the index array and returns the expanded array.
|
|
boolean[] insert(boolean[] array, boolean[] value, int[] index)
|
Inserts elements in an array at positions given by the index array and returns the expanded array.
|
|
String[] append(String[] array, String value)
|
Adds an element to the end of an array and returns the expanded array.
|
|
double[] append(double[] array, double value)
|
Adds an element to the end of an array and returns the expanded array.
|
|
int[] append(int[] array, int value)
|
Adds an element to the end of an array and returns the expanded array.
|
|
boolean[] append(boolean[] array, boolean value)
|
Adds an element to the end of an array and returns the expanded array.
|
|
String[] append(String[] array, String[] value)
|
Adds elements to the end of an array and returns the expanded array.
|
|
double[] append(double[] array, double[] value)
|
Adds elements to the end of an array and returns the expanded array.
|
|
int[] append(int[] array, int[] value)
|
Adds elements to the end of an array and returns the expanded array.
|
|
boolean[] append(boolean[] array, boolean[] value)
|
Adds elements to the end of an array and returns the expanded array.
|
|
String[] remove(String[] array, int index)
|
Removes an element from an array and returns the shortened array.
|
|
double[] remove(double[] array, int index)
|
Removes an element from an array and returns the shortened array.
|
|
int[] remove(int[] array, int index)
|
Removes an element from an array and returns the shortened array.
|
|
boolean[] remove(boolean[] array, int index)
|
Removes an element from an array and returns the shortened array.
|
|
String[] remove(String[] array, int[] index)
|
Removes elements from an array and returns the shortened array.
|
|
double[] remove(double[] array, int[] index)
|
Removes elements from an array and returns the shortened array.
|
|
int[] remove(int[] array, int[] index)
|
Removes elements from an array and returns the shortened array.
|
|
boolean[] remove(boolean[] array, int[] index)
|
Removes elements from an array and returns the shortened array.
|
|
String[][] insertRow(String[][] matrix, String[] value, int rowIndex)
|
Inserts a row into a rectangular 2D array and returns the expanded array.
|
|
double[][] insertRow(double[][] matrix, double[] value, int rowIndex)
|
Inserts a row into a rectangular 2D array and returns the expanded array.
|
|
int[][] insertRow(int[][] matrix, int[] value, int rowIndex)
|
Inserts a row into a rectangular 2D array and returns the expanded array.
|
|
boolean[][] insertRow(boolean[][] matrix, boolean[] value, int rowIndex)
|
Inserts a row into a rectangular 2D array and returns the expanded array.
|
|
String[][] insertRow(String[][] matrix, String[][] value, int[] rowIndex)
|
Adds rows to a rectangular 2D array and returns the expanded array.
|
|
double[][] insertRow(double[][] matrix, double[][] value, int[] rowIndex)
|
Adds rows to a rectangular 2D array and returns the expanded array.
|
|
int[][] insertRow(int[][] matrix, int[][] value, int[] rowIndex)
|
Adds rows to a rectangular 2D array and returns the expanded array.
|
|
boolean[][] insertRow(boolean[][] matrix, boolean[][] value, int[] rowIndex)
|
Adds rows to a rectangular 2D array and returns the expanded array.
|
|
String[][] replaceRow(String[][] matrix, String[] value, int rowIndex)
|
Replaces a row in a rectangular 2D array and returns the array.
|
|
double[][] replaceRow(double[][] matrix, double[] value, int rowIndex)
|
Replaces a row in a rectangular 2D array and returns the array.
|
|
int[][] replaceRow(int[][] matrix, int[] value, int rowIndex)
|
Replaces a row in a rectangular 2D array and returns the array.
|
|
boolean[][] replaceRow(boolean[][] matrix, boolean[] value, int rowIndex)
|
Replaces a row in a rectangular 2D array and returns the array.
|
|
String[][] replaceRow(String[][] matrix, String[][] value, int[] rowIndex)
|
Replaces rows in a rectangular 2D array and returns the array.
|
|
double[][] replaceRow(double[][] matrix, double[][] value, int[] rowIndex)
|
Replaces rows in a rectangular 2D array and returns the array.
|
|
int[][] replaceRow(int[][] matrix, int[][] value, int[] rowIndex)
|
Replaces rows in a rectangular 2D array and returns the array.
|
|
boolean[][] replaceRow(boolean[][] matrix, boolean[][] value, int[] rowIndex)
|
Replaces rows in a rectangular 2D array and returns the array.
|
|
String[][] appendRow(String[][] matrix, String[] value)
|
Adds a row to the end of a rectangular 2D array and returns the expanded array.
|
|
double[][] appendRow(double[][] matrix, double[] value)
|
Adds a row to the end of a rectangular 2D array and returns the expanded array.
|
|
int[][] appendRow(int[][] matrix, int[] value)
|
Adds a row to the end of a rectangular 2D array and returns the expanded array.
|
|
boolean[][] appendRow(boolean[][] matrix, boolean[] value)
|
Adds a row to the end of a rectangular 2D array and returns the expanded array.
|
|
String[][] appendRow(String[][] matrix, String[][] value)
|
Adds rows to the end of a rectangular 2D array and returns the expanded array.
|
|
double[][] appendRow(double[][] matrix, double[][] value)
|
Adds rows to the end of a rectangular 2D array and returns the expanded array.
|
|
int[][] appendRow(int[][] matrix, int[][] value)
|
Adds rows to the end of a rectangular 2D array and returns the expanded array.
|
|
boolean[][] appendRow(boolean[][] matrix, boolean[][] value)
|
Adds rows to the end of a rectangular 2D array and returns the expanded array.
|
|
String[][] removeRow(String[][] matrix, int rowIndex)
|
Removes a row from a 2D array and returns the smaller array.
|
|
double[][] removeRow(double[][] matrix, int rowIndex)
|
Removes a row from a 2D array and returns the smaller array.
|
|
int[][] removeRow(int[][] matrix, int rowIndex)
|
Removes a row from a 2D array and returns the smaller array.
|
|
boolean[][] removeRow(boolean[][] matrix, int rowIndex)
|
Removes a row from a 2D array and returns the smaller array.
|
|
String[][] removeRow(String[][] matrix, int[] rowIndex)
|
Removes rows from a 2D array and returns the reduced array.
|
|
double[][] removeRow(double[][] matrix, int[] rowIndex)
|
Removes rows from a 2D array and returns the reduced array.
|
|
int[][] removeRow(int[][] matrix, int[] rowIndex)
|
Removes rows from a 2D array and returns the reduced array.
|
|
boolean[][] removeRow(boolean[][] matrix, int[] rowIndex)
|
Removes rows from a 2D array and returns the reduced array.
|
|
String[][] insertColumn(String[][] matrix, String[] value, int columnIndex)
|
Adds a column into a rectangular 2D array and returns the expanded array.
|
|
double[][] insertColumn(double[][] matrix, double[] value, int columnIndex)
|
Adds a column into a rectangular 2D array and returns the expanded array.
|
|
int[][] insertColumn(int[][] matrix, int[] value, int columnIndex)
|
Adds a column into a rectangular 2D array and returns the expanded array.
|
|
boolean[][] insertColumn(boolean[][] matrix, boolean[] value, int columnIndex)
|
Adds a column into a rectangular 2D array and returns the expanded array.
|
|
String[][] insertColumn(String[][] matrix, String[][] value, int[] columnIndex)
|
Adds columns to a rectangular 2D array and returns the expanded array.
|
|
double[][] insertColumn(double[][] matrix, double[][] value, int[] columnIndex)
|
Adds columns to a rectangular 2D array and returns the expanded array.
|
|
int[][] insertColumn(int[][] matrix, int[][] value, int[] columnIndex)
|
Adds columns to a rectangular 2D array and returns the expanded array.
|
|
boolean[][] insertColumn(boolean[][] matrix, boolean[][] value, int[] columnIndex)
|
Adds columns to a rectangular 2D array and returns the expanded array.
|
|
String[][] replaceColumn(String[][] matrix, String[] value, int columnIndex)
|
Replaces a column in a rectangular 2D array and returns the array.
|
|
double[][] replaceColumn(double[][] matrix, double[] value, int columnIndex)
|
Replaces a column in a rectangular 2D array and returns the array.
|
|
int[][] replaceColumn(int[][] matrix, int[] value, int columnIndex)
|
Replaces a column in a rectangular 2D array and returns the array.
|
|
boolean[][] replaceColumn(boolean[][] matrix, boolean[] value, int columnIndex)
|
Replaces a column in a rectangular 2D array and returns the array.
|
|
String[][] replaceColumn(String[][] matrix, String[][] value, int[] columnIndex)
|
Replaces columns in a rectangular 2D array and returns the array.
|
|
double[][] replaceColumn(double[][] matrix, double[][] value, int[] columnIndex)
|
Replaces columns in a rectangular 2D array and returns the array.
|
|
int[][] replaceColumn(int[][] matrix, int[][] value, int[] columnIndex)
|
Replaces columns in a rectangular 2D array and returns the array.
|
|
boolean[][] replaceColumn(boolean[][] matrix, boolean[][] value, int[] columnIndex)
|
Replaces columns in a rectangular 2D array and returns the array.
|
|
String[][] appendColumn(String[][] matrix, String[] value)
|
Adds a column at the end of a rectangular 2D array and returns the expanded array.
|
|
double[][] appendColumn(double[][] matrix, double[] value)
|
Adds a column at the end of a rectangular 2D array and returns the expanded array.
|
|
int[][] appendColumn(int[][] matrix, int[] value)
|
Adds a column at the end of a rectangular 2D array and returns the expanded array.
|
|
boolean[][] appendColumn(boolean[][] matrix, boolean[] value)
|
Adds a column at the end of a rectangular 2D array and returns the expanded array.
|
|
String[][] appendColumn(String[][] matrix, String[][] value)
|
Adds columns to the end of a rectangular 2D array and returns the expanded array.
|
|
double[][] appendColumn(double[][] matrix, double[][] value)
|
Adds columns to the end of a rectangular 2D array and returns the expanded array.
|
|
int[][] appendColumn(int[][] matrix, int[][] value)
|
Adds columns to the end of a rectangular 2D array and returns the expanded array.
|
|
boolean[][] appendColumn(boolean[][] matrix, boolean[][] value)
|
Adds columns to the end of a rectangular 2D array and returns the expanded array.
|
|
String[][] removeColumn(String[][] matrix, int columnIndex)
|
Removes a column from a rectangular 2D array and returns the smaller array.
|
|
double[][] removeColumn(double[][] matrix, int columnIndex)
|
Removes a column from a rectangular 2D array and returns the smaller array.
|
|
int[][] removeColumn(int[][] matrix, int columnIndex)
|
Removes a column from a rectangular 2D array and returns the smaller array.
|
|
boolean[][] removeColumn(boolean[][] matrix, int columnIndex)
|
Removes a column from a rectangular 2D array and returns the smaller array.
|
|
String[][] removeColumn(String[][] matrix, int[] columnIndex)
|
Removes columns from a rectangular 2D array and returns the reduced array.
|
|
double[][] removeColumn(double[][] matrix, int[] columnIndex)
|
Removes columns from a rectangular 2D array and returns the reduced array.
|
|
int[][] removeColumn(int[][] matrix, int[] columnIndex)
|
Removes columns from a rectangular 2D array and returns the reduced array.
|
|
boolean[][] removeColumn(boolean[][] matrix, int[] columnIndex)
|
Removes columns from a rectangular 2D array and returns the reduced array.
|
|
int[] matrixSize(String[][] matrix)
|
Returns the number of rows and columns of a matrix as an integer array of length 2.
|
|
int[] matrixSize(double[][] matrix)
|
Returns the number of rows and columns of a matrix as an integer array of length 2.
|
|
int[] matrixSize(int[][] matrix)
|
Returns the number of rows and columns of a matrix as an integer array of length 2.
|
|
int[] matrixSize(boolean[][] matrix)
|
Returns the number of rows and columns of a matrix as an integer array of length 2.
|
|
String[][] transpose(String[][] matrix)
|
Returns the transpose of a matrix.
|
|
double[][] transpose(double[][] matrix)
|
Returns the transpose of a matrix.
|
|
int[][] transpose(int[][] matrix)
|
Returns the transpose of a matrix.
|
|
boolean[][] transpose(boolean[][] matrix)
|
Returns the transpose of a matrix.
|