|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.math.linear.MatrixUtils
A collection of static methods that operate on or return matrices.
| Constructor Summary | |
MatrixUtils()
Default constructor. |
|
| Method Summary | |
static BigMatrix |
createBigIdentityMatrix(int dimension)
Returns dimension x dimension identity matrix. |
static BigMatrix |
createBigMatrix(BigDecimal[][] data)
Returns a BigMatrix whose entries are the the values in the
the input array. |
static BigMatrix |
createBigMatrix(double[][] data)
Returns a BigMatrix whose entries are the the values in the
the input array. |
static BigMatrix |
createBigMatrix(String[][] data)
Returns a BigMatrix whose entries are the the values in the
the input array. |
static BigMatrix |
createColumnBigMatrix(BigDecimal[] columnData)
Creates a column BigMatrix using the data from the input
array. |
static BigMatrix |
createColumnBigMatrix(double[] columnData)
Creates a column BigMatrix using the data from the input
array. |
static BigMatrix |
createColumnBigMatrix(String[] columnData)
Creates a column BigMatrix using the data from the input
array. |
static RealMatrix |
createColumnRealMatrix(double[] columnData)
Creates a column RealMatrix using the data from the input
array. |
static RealMatrix |
createRealIdentityMatrix(int dimension)
Returns dimension x dimension identity matrix. |
static RealMatrix |
createRealMatrix(double[][] data)
Returns a RealMatrix whose entries are the the values in the
the input array. |
static BigMatrix |
createRowBigMatrix(BigDecimal[] rowData)
Creates a row BigMatrix using the data from the input
array. |
static BigMatrix |
createRowBigMatrix(double[] rowData)
Creates a row BigMatrix using the data from the input
array. |
static BigMatrix |
createRowBigMatrix(String[] rowData)
Creates a row BigMatrix using the data from the input
array. |
static RealMatrix |
createRowRealMatrix(double[] rowData)
Creates a row RealMatrix using the data from the input
array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MatrixUtils()
| Method Detail |
public static RealMatrix createRealMatrix(double[][] data)
RealMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
data - input array
IllegalArgumentException - if data is not rectangular
(not all rows have the same length) or empty
NullPointerException - if data is nullpublic static RealMatrix createRealIdentityMatrix(int dimension)
dimension x dimension identity matrix.
dimension - dimension of identity matrix to generate
IllegalArgumentException - if dimension is not positivepublic static BigMatrix createBigMatrix(double[][] data)
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
data - input array
IllegalArgumentException - if data is not rectangular
(not all rows have the same length) or empty
NullPointerException - if data is nullpublic static BigMatrix createBigMatrix(BigDecimal[][] data)
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
data - input array
IllegalArgumentException - if data is not rectangular
(not all rows have the same length) or empty
NullPointerException - if data is nullpublic static BigMatrix createBigMatrix(String[][] data)
BigMatrix whose entries are the the values in the
the input array. The input array is copied, not referenced.
data - input array
IllegalArgumentException - if data is not rectangular
(not all rows have the same length) or empty
NullPointerException - if data is nullpublic static RealMatrix createRowRealMatrix(double[] rowData)
RealMatrix using the data from the input
array.
rowData - the input row data
IllegalArgumentException - if rowData is empty
NullPointerException - if rowDatais nullpublic static BigMatrix createRowBigMatrix(double[] rowData)
BigMatrix using the data from the input
array.
rowData - the input row data
IllegalArgumentException - if rowData is empty
NullPointerException - if rowDatais nullpublic static BigMatrix createRowBigMatrix(BigDecimal[] rowData)
BigMatrix using the data from the input
array.
rowData - the input row data
IllegalArgumentException - if rowData is empty
NullPointerException - if rowDatais nullpublic static BigMatrix createRowBigMatrix(String[] rowData)
BigMatrix using the data from the input
array.
rowData - the input row data
IllegalArgumentException - if rowData is empty
NullPointerException - if rowDatais nullpublic static RealMatrix createColumnRealMatrix(double[] columnData)
RealMatrix using the data from the input
array.
columnData - the input column data
IllegalArgumentException - if columnData is empty
NullPointerException - if columnDatais nullpublic static BigMatrix createColumnBigMatrix(double[] columnData)
BigMatrix using the data from the input
array.
columnData - the input column data
IllegalArgumentException - if columnData is empty
NullPointerException - if columnDatais nullpublic static BigMatrix createColumnBigMatrix(BigDecimal[] columnData)
BigMatrix using the data from the input
array.
columnData - the input column data
IllegalArgumentException - if columnData is empty
NullPointerException - if columnDatais nullpublic static BigMatrix createColumnBigMatrix(String[] columnData)
BigMatrix using the data from the input
array.
columnData - the input column data
IllegalArgumentException - if columnData is empty
NullPointerException - if columnDatais nullpublic static BigMatrix createBigIdentityMatrix(int dimension)
dimension x dimension identity matrix.
dimension - dimension of identity matrix to generate
IllegalArgumentException - if dimension is not positive
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||