Home
last modified time | relevance | path

Searched refs:getRowDimension (Results 1 – 25 of 28) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractFieldMatrix.java175 final int rowCount = getRowDimension(); in add()
194 final int rowCount = getRowDimension(); in subtract()
210 final int rowCount = getRowDimension(); in scalarAdd()
226 final int rowCount = getRowDimension(); in scalarMultiply()
246 final int nRows = getRowDimension(); in multiply()
273 final T[][] data = buildArray(field, getRowDimension(), getColumnDimension()); in getData()
454 if ((matrix.getRowDimension() != 1) || in setRowMatrix()
458 matrix.getRowDimension(), matrix.getColumnDimension(), 1, nCols); in setRowMatrix()
471 final int nRows = getRowDimension(); in getColumnMatrix()
486 final int nRows = getRowDimension(); in setColumnMatrix()
[all …]
DAbstractRealMatrix.java83 final int rowCount = getRowDimension(); in add()
102 final int rowCount = getRowDimension(); in subtract()
118 final int rowCount = getRowDimension(); in scalarAdd()
134 final int rowCount = getRowDimension(); in scalarMultiply()
154 final int nRows = getRowDimension(); in multiply()
181 final double[][] data = new double[getRowDimension()][getColumnDimension()]; in getData()
430 if ((matrix.getRowDimension() != 1) ||
434 matrix.getRowDimension(), matrix.getColumnDimension(), 1, nCols);
447 final int nRows = getRowDimension();
462 final int nRows = getRowDimension();
[all …]
DBigMatrixImpl.java280 final int rowCount = getRowDimension(); in add()
306 final int rowCount = getRowDimension(); in add()
335 final int rowCount = getRowDimension(); in subtract()
361 final int rowCount = getRowDimension(); in subtract()
382 final int rowCount = getRowDimension(); in scalarAdd()
401 final int rowCount = getRowDimension(); in scalarMultiply()
429 final int nRows = this.getRowDimension(); in multiply()
460 final int nRows = this.getRowDimension(); in multiply()
509 final int nRows = getRowDimension(); in getDataAsDoubleArray()
579 for (int row = 0; row < this.getRowDimension(); row++) { in getNorm()
[all …]
DRealMatrixImpl.java197 final int rowCount = getRowDimension(); in add()
237 final int rowCount = getRowDimension(); in subtract()
277 final int nRows = this.getRowDimension(); in multiply()
362 row, column, getRowDimension(), getColumnDimension()); in getEntry()
375 row, column, getRowDimension(), getColumnDimension()); in setEntry()
388 row, column, getRowDimension(), getColumnDimension()); in addToEntry()
401 row, column, getRowDimension(), getColumnDimension()); in multiplyEntry()
407 public int getRowDimension() { in getRowDimension() method in RealMatrixImpl
421 final int nRows = this.getRowDimension(); in operate()
445 final int nRows = getRowDimension(); in preMultiply()
[all …]
DArray2DRowRealMatrix.java196 final int rowCount = getRowDimension(); in add()
236 final int rowCount = getRowDimension(); in subtract()
276 final int nRows = this.getRowDimension(); in multiply()
359 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in getEntry()
371 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in setEntry()
383 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in addToEntry()
395 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in multiplyEntry()
401 public int getRowDimension() { in getRowDimension() method in Array2DRowRealMatrix
415 final int nRows = this.getRowDimension(); in operate()
438 final int nRows = getRowDimension(); in preMultiply()
[all …]
DArray2DRowFieldMatrix.java188 final int rowCount = getRowDimension(); in add()
228 final int rowCount = getRowDimension(); in subtract()
268 final int nRows = this.getRowDimension(); in multiply()
351 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in getEntry()
363 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in setEntry()
375 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in addToEntry()
387 … LocalizedFormats.NO_SUCH_MATRIX_ENTRY, row, column, getRowDimension(), getColumnDimension()); in multiplyEntry()
393 public int getRowDimension() { in getRowDimension() method in Array2DRowFieldMatrix
407 final int nRows = this.getRowDimension(); in operate()
430 final int nRows = getRowDimension(); in preMultiply()
[all …]
DMatrixUtils.java531 if (row < 0 || row >= m.getRowDimension()) { in checkRowIndex()
533 row, 0, m.getRowDimension() - 1); in checkRowIndex()
617 if ((left.getRowDimension() != right.getRowDimension()) || in checkAdditionCompatible()
621 left.getRowDimension(), left.getColumnDimension(), in checkAdditionCompatible()
622 right.getRowDimension(), right.getColumnDimension()); in checkAdditionCompatible()
634 if ((left.getRowDimension() != right.getRowDimension()) || in checkSubtractionCompatible()
638 left.getRowDimension(), left.getColumnDimension(), in checkSubtractionCompatible()
639 right.getRowDimension(), right.getColumnDimension()); in checkSubtractionCompatible()
651 if (left.getColumnDimension() != right.getRowDimension()) { in checkMultiplicationCompatible()
654 left.getRowDimension(), left.getColumnDimension(), in checkMultiplicationCompatible()
[all …]
DSparseFieldMatrix.java80 super(other.getField(), other.getRowDimension(), other.getColumnDimension()); in SparseFieldMatrix()
81 rows = other.getRowDimension(); in SparseFieldMatrix()
91 super(other.getField(), other.getRowDimension(), other.getColumnDimension()); in SparseFieldMatrix()
92 rows = other.getRowDimension(); in SparseFieldMatrix()
147 public int getRowDimension() { in getRowDimension() method in SparseFieldMatrix
DCholeskyDecompositionImpl.java102 throw new NonSquareMatrixException(matrix.getRowDimension(), in CholeskyDecompositionImpl()
106 final int order = matrix.getRowDimension(); in CholeskyDecompositionImpl()
303 if (b.getRowDimension() != m) { in solve()
306 b.getRowDimension(), b.getColumnDimension(), m, "n"); in solve()
DQRDecompositionImpl.java74 final int m = matrix.getRowDimension(); in QRDecompositionImpl()
364 if (b.getRowDimension() != m) { in solve()
367 b.getRowDimension(), b.getColumnDimension(), m, "n"); in solve()
377 final double[][] y = new double[b.getRowDimension()][blockSize]; in solve()
DBlockRealMatrix.java638 final double[][] data = new double[getRowDimension()][getColumnDimension()]; in getData()
946 if ((matrix.getRowDimension() != 1) || in setRowMatrix()
950 matrix.getRowDimension(), matrix.getColumnDimension(), in setRowMatrix()
1034 final int nRows = getRowDimension(); in setColumnMatrix()
1035 if ((matrix.getRowDimension() != nRows) || in setColumnMatrix()
1039 matrix.getRowDimension(), matrix.getColumnDimension(), in setColumnMatrix()
1214 final int nRows = getRowDimension(); in setColumn()
1249 row, column, getRowDimension(), getColumnDimension()); in getEntry()
1266 row, column, getRowDimension(), getColumnDimension()); in setEntry()
1283 row, column, getRowDimension(), getColumnDimension()); in addToEntry()
[all …]
DAnyMatrix.java39 int getRowDimension(); in getRowDimension() method
DBlockFieldMatrix.java651 final T[][] data = buildArray(getField(), getRowDimension(), getColumnDimension()); in getData()
920 if ((matrix.getRowDimension() != 1) || in setRowMatrix()
924 matrix.getRowDimension(), matrix.getColumnDimension(), in setRowMatrix()
1008 final int nRows = getRowDimension(); in setColumnMatrix()
1009 if ((matrix.getRowDimension() != nRows) || in setColumnMatrix()
1013 matrix.getRowDimension(), matrix.getColumnDimension(), in setColumnMatrix()
1188 final int nRows = getRowDimension(); in setColumn()
1223 row, column, getRowDimension(), getColumnDimension()); in getEntry()
1240 row, column, getRowDimension(), getColumnDimension()); in setEntry()
1258 row, column, getRowDimension(), getColumnDimension()); in addToEntry()
[all …]
DTriDiagonalTransformer.java70 … throw new NonSquareMatrixException(matrix.getRowDimension(), matrix.getColumnDimension()); in TriDiagonalTransformer()
73 final int m = matrix.getRowDimension(); in TriDiagonalTransformer()
DLUDecompositionImpl.java83 … throw new NonSquareMatrixException(matrix.getRowDimension(), matrix.getColumnDimension()); in LUDecompositionImpl()
363 if (b.getRowDimension() != m) { in solve()
366 b.getRowDimension(), b.getColumnDimension(), m, "n"); in solve()
DFieldLUDecompositionImpl.java76 … throw new NonSquareMatrixException(matrix.getRowDimension(), matrix.getColumnDimension()); in FieldLUDecompositionImpl()
367 if (b.getRowDimension() != m) { in solve()
370 b.getRowDimension(), b.getColumnDimension(), m, "n"); in solve()
DEigenDecompositionImpl.java142 final int rows = matrix.getRowDimension(); in isSymmetric()
378 if (b.getRowDimension() != m) { in solve()
382 b.getRowDimension(), b.getColumnDimension(), m, in solve()
DSingularValueDecompositionImpl.java79 m = matrix.getRowDimension(); in SingularValueDecompositionImpl()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DCorrelatedRandomVectorGenerator.java102 int order = covariance.getRowDimension(); in CorrelatedRandomVectorGenerator()
130 int order = covariance.getRowDimension(); in CorrelatedRandomVectorGenerator()
191 int order = covariance.getRowDimension(); in decompose()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DCovariance.java116 n = matrix.getRowDimension(); in Covariance()
266 int nRows = matrix.getRowDimension(); in checkSufficientData()
DPearsonsCorrelation.java83 nObs = matrix.getRowDimension(); in PearsonsCorrelation()
277 int nRows = matrix.getRowDimension(); in checkSufficientData()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DGLSMultipleLinearRegression.java132 return t / (X.getRowDimension() - X.getColumnDimension()); in calculateErrorVariance()
DOLSMultipleLinearRegression.java184 final double n = X.getRowDimension(); in calculateAdjustedRSquared()
DAbstractMultipleLinearRegression.java348 (X.getRowDimension() - X.getColumnDimension()); in calculateErrorVariance()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DAdamsBashforthIntegrator.java219 final int lastRow = nordsieck.getRowDimension() - 1; in integrate()

12