Home
last modified time | relevance | path

Searched refs:selectedRows (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()
380 if ((destination.length < selectedRows.length) || in copySubMatrix()
385 selectedRows.length, selectedColumns.length); in copySubMatrix()
389 for (int i = 0; i < selectedRows.length; i++) { 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);
354 if ((destination.length < selectedRows.length) ||
359 selectedRows.length, selectedColumns.length);
363 for (int i = 0; i < selectedRows.length; i++) {
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()
644 if (selectedRows.length == 0) { in getSubMatrix()
651 new BigDecimal[selectedRows.length][selectedColumns.length]; in getSubMatrix()
653 for (int i = 0; i < selectedRows.length; i++) { in getSubMatrix()
655 final BigDecimal[] dataSelectedI = data[selectedRows[i]]; in getSubMatrix()
663 for (final int row : selectedRows) { in getSubMatrix()
DMatrixUtils.java592 final int[] selectedRows, final int[] selectedColumns) in checkSubMatrixIndex() argument
594 if (selectedRows.length * selectedColumns.length == 0) { in checkSubMatrixIndex()
595 if (selectedRows.length == 0) { in checkSubMatrixIndex()
601 for (final int row : selectedRows) { in checkSubMatrixIndex()
DBigMatrix.java149 BigMatrix getSubMatrix(int[] selectedRows, int[] selectedColumns) in getSubMatrix() argument