Default constructor. Package scope to prevent unwanted instantiation.
Method Detail
createBigIdentityMatrix
public static BigMatrix createBigIdentityMatrix(int dimension)(Code)
Returns dimension x dimension identity matrix.
Parameters: dimension - dimension of identity matrix to generate identity matrix throws: IllegalArgumentException - if dimension is not positive since: 1.1
createBigMatrix
public static BigMatrix createBigMatrix(double[][] data)(Code)
Returns a
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
Parameters: data - input array RealMatrix containing the values of the array throws: IllegalArgumentException - if data is not rectangular(not all rows have the same length) or empty throws: NullPointerException - if data is null
Returns a
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
Parameters: data - input array RealMatrix containing the values of the array throws: IllegalArgumentException - if data is not rectangular(not all rows have the same length) or empty throws: NullPointerException - if data is null
Returns a
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
Parameters: data - input array RealMatrix containing the values of the array throws: IllegalArgumentException - if data is not rectangular(not all rows have the same length) or empty throws: NullPointerException - if data is null
createColumnBigMatrix
public static BigMatrix createColumnBigMatrix(double[] columnData)(Code)
Creates a column
BigMatrix using the data from the input
array.
Parameters: columnData - the input column data a columnData x 1 BigMatrix throws: IllegalArgumentException - if columnData is empty throws: NullPointerException - if columnDatais null
Creates a column
BigMatrix using the data from the input
array.
Parameters: columnData - the input column data a columnData x 1 BigMatrix throws: IllegalArgumentException - if columnData is empty throws: NullPointerException - if columnDatais null
Creates a column
BigMatrix using the data from the input
array.
Parameters: columnData - the input column data a columnData x 1 BigMatrix throws: IllegalArgumentException - if columnData is empty throws: NullPointerException - if columnDatais null
createColumnRealMatrix
public static RealMatrix createColumnRealMatrix(double[] columnData)(Code)
Creates a column
RealMatrix using the data from the input
array.
Parameters: columnData - the input column data a columnData x 1 RealMatrix throws: IllegalArgumentException - if columnData is empty throws: NullPointerException - if columnDatais null
createRealIdentityMatrix
public static RealMatrix createRealIdentityMatrix(int dimension)(Code)
Returns dimension x dimension identity matrix.
Parameters: dimension - dimension of identity matrix to generate identity matrix throws: IllegalArgumentException - if dimension is not positive since: 1.1
createRealMatrix
public static RealMatrix createRealMatrix(double[][] data)(Code)
Returns a
RealMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
Parameters: data - input array RealMatrix containing the values of the array throws: IllegalArgumentException - if data is not rectangular(not all rows have the same length) or empty throws: NullPointerException - if data is null
createRowBigMatrix
public static BigMatrix createRowBigMatrix(double[] rowData)(Code)
Creates a row
BigMatrix using the data from the input
array.
Parameters: rowData - the input row data a 1 x rowData.length BigMatrix throws: IllegalArgumentException - if rowData is empty throws: NullPointerException - if rowDatais null
Creates a row
BigMatrix using the data from the input
array.
Parameters: rowData - the input row data a 1 x rowData.length BigMatrix throws: IllegalArgumentException - if rowData is empty throws: NullPointerException - if rowDatais null
Creates a row
BigMatrix using the data from the input
array.
Parameters: rowData - the input row data a 1 x rowData.length BigMatrix throws: IllegalArgumentException - if rowData is empty throws: NullPointerException - if rowDatais null
createRowRealMatrix
public static RealMatrix createRowRealMatrix(double[] rowData)(Code)
Creates a row
RealMatrix using the data from the input
array.
Parameters: rowData - the input row data a 1 x rowData.length RealMatrix throws: IllegalArgumentException - if rowData is empty throws: NullPointerException - if rowDatais null