Home
last modified time | relevance | path

Searched refs:selectedColumns (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractFieldMatrix.java306 public FieldMatrix<T> getSubMatrix(final int[] selectedRows, final int[] selectedColumns) in getSubMatrix() argument
310 checkSubMatrixIndex(selectedRows, selectedColumns); in getSubMatrix()
314 createMatrix(selectedRows.length, selectedColumns.length); in getSubMatrix()
320 return getEntry(selectedRows[row], selectedColumns[column]); in getSubMatrix()
375 public void copySubMatrix(int[] selectedRows, int[] selectedColumns, T[][] destination) in copySubMatrix() argument
379 checkSubMatrixIndex(selectedRows, selectedColumns); in copySubMatrix()
381 (destination[0].length < selectedColumns.length)) { in copySubMatrix()
385 selectedRows.length, selectedColumns.length); in copySubMatrix()
391 for (int j = 0; j < selectedColumns.length; j++) { in copySubMatrix()
392 destinationI[j] = getEntry(selectedRows[i], selectedColumns[j]); in copySubMatrix()
[all …]
DAbstractRealMatrix.java280 public RealMatrix getSubMatrix(final int[] selectedRows, final int[] selectedColumns)
284 MatrixUtils.checkSubMatrixIndex(this, selectedRows, selectedColumns);
288 createMatrix(selectedRows.length, selectedColumns.length);
294 return getEntry(selectedRows[row], selectedColumns[column]);
349 public void copySubMatrix(int[] selectedRows, int[] selectedColumns, double[][] destination)
353 MatrixUtils.checkSubMatrixIndex(this, selectedRows, selectedColumns);
355 (destination[0].length < selectedColumns.length)) {
359 selectedRows.length, selectedColumns.length);
365 for (int j = 0; j < selectedColumns.length; j++) {
366 destinationI[j] = getEntry(selectedRows[i], selectedColumns[j]);
DRealMatrix.java153 RealMatrix getSubMatrix(int[] selectedRows, int[] selectedColumns) in getSubMatrix() argument
184 void copySubMatrix(int[] selectedRows, int[] selectedColumns, double[][] destination) in copySubMatrix() argument
DFieldMatrix.java146 FieldMatrix<T> getSubMatrix(int[] selectedRows, int[] selectedColumns) in getSubMatrix() argument
177 void copySubMatrix(int[] selectedRows, int[] selectedColumns, T[][] destination) in copySubMatrix() argument
DBigMatrixImpl.java640 public BigMatrix getSubMatrix(int[] selectedRows, int[] selectedColumns) in getSubMatrix() argument
643 if (selectedRows.length * selectedColumns.length == 0) { in getSubMatrix()
651 new BigDecimal[selectedRows.length][selectedColumns.length]; in getSubMatrix()
656 for (int j = 0; j < selectedColumns.length; j++) { in getSubMatrix()
657 subI[j] = dataSelectedI[selectedColumns[j]]; in getSubMatrix()
666 for (final int column : selectedColumns) { in getSubMatrix()
DBigMatrix.java149 BigMatrix getSubMatrix(int[] selectedRows, int[] selectedColumns) in getSubMatrix() argument
DMatrixUtils.java592 final int[] selectedRows, final int[] selectedColumns) in checkSubMatrixIndex() argument
594 if (selectedRows.length * selectedColumns.length == 0) { in checkSubMatrixIndex()
604 for (final int column : selectedColumns) { in checkSubMatrixIndex()