Home
last modified time | relevance | path

Searched refs:nCols (Results 1 – 17 of 17) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractRealMatrix.java155 final int nCols = m.getColumnDimension(); in multiply() local
157 final RealMatrix out = createMatrix(nRows, nCols); in multiply()
159 for (int col = 0; col < nCols; ++col) { in multiply()
381 final int nCols = subMatrix[0].length;
382 if (nCols == 0) {
387 if (subMatrix[r].length != nCols) {
390 nCols, subMatrix[r].length);
397 MatrixUtils.checkColumnIndex(this, nCols + column - 1);
400 for (int j = 0; j < nCols; ++j) {
414 final int nCols = getColumnDimension();
[all …]
DBigMatrixImpl.java161 final int nCols = d[0].length; in BigMatrixImpl() local
162 if (nCols == 0) { in BigMatrixImpl()
166 if (d[r].length != nCols) { in BigMatrixImpl()
169 nCols, d[r].length); in BigMatrixImpl()
194 final int nCols = d[0].length; in BigMatrixImpl() local
195 if (nCols == 0) { in BigMatrixImpl()
199 if (d[row].length != nCols) { in BigMatrixImpl()
202 nCols, d[row].length); in BigMatrixImpl()
224 final int nCols = d[0].length; in BigMatrixImpl() local
225 if (nCols == 0) { in BigMatrixImpl()
[all …]
DAbstractFieldMatrix.java247 final int nCols = m.getColumnDimension(); in multiply() local
249 final FieldMatrix<T> out = createMatrix(nRows, nCols); in multiply()
251 for (int col = 0; col < nCols; ++col) { in multiply()
407 final int nCols = subMatrix[0].length; in setSubMatrix() local
408 if (nCols == 0) { in setSubMatrix()
413 if (subMatrix[r].length != nCols) { in setSubMatrix()
416 nCols, subMatrix[r].length); in setSubMatrix()
423 checkColumnIndex(nCols + column - 1); in setSubMatrix()
426 for (int j = 0; j < nCols; ++j) { in setSubMatrix()
438 final int nCols = getColumnDimension(); in getRowMatrix() local
[all …]
DArray2DRowRealMatrix.java128 final int nCols = d[0].length; in Array2DRowRealMatrix() local
129 if (nCols == 0) { in Array2DRowRealMatrix()
134 if (d[r].length != nCols) { in Array2DRowRealMatrix()
136 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); in Array2DRowRealMatrix()
277 final int nCols = m.getColumnDimension(); in multiply() local
279 final double[][] outData = new double[nRows][nCols]; in multiply()
283 for (int col = 0; col < nCols; col++) { in multiply()
332 final int nCols = subMatrix[0].length; in setSubMatrix() local
333 if (nCols == 0) { in setSubMatrix()
337 data = new double[subMatrix.length][nCols]; in setSubMatrix()
[all …]
DRealMatrixImpl.java129 final int nCols = d[0].length; in RealMatrixImpl() local
130 if (nCols == 0) { in RealMatrixImpl()
134 if (d[r].length != nCols) { in RealMatrixImpl()
137 nCols, d[r].length); in RealMatrixImpl()
278 final int nCols = m.getColumnDimension(); in multiply() local
280 final double[][] outData = new double[nRows][nCols]; in multiply()
284 for (int col = 0; col < nCols; col++) { in multiply()
334 final int nCols = subMatrix[0].length; in setSubMatrix() local
335 if (nCols == 0) { in setSubMatrix()
338 data = new double[subMatrix.length][nCols]; in setSubMatrix()
[all …]
DArray2DRowFieldMatrix.java119 final int nCols = d[0].length; in Array2DRowFieldMatrix() local
120 if (nCols == 0) { in Array2DRowFieldMatrix()
125 if (d[r].length != nCols) { in Array2DRowFieldMatrix()
127 LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols, d[r].length); in Array2DRowFieldMatrix()
269 final int nCols = m.getColumnDimension(); in multiply() local
271 final T[][] outData = buildArray(getField(), nRows, nCols); in multiply()
275 for (int col = 0; col < nCols; col++) { in multiply()
324 final int nCols = subMatrix[0].length; in setSubMatrix() local
325 if (nCols == 0) { in setSubMatrix()
329 data = buildArray(getField(), subMatrix.length, nCols); in setSubMatrix()
[all …]
DMatrixUtils.java334 final int nCols = rowData.length; in createRowRealMatrix() local
335 final RealMatrix m = createRealMatrix(1, nCols); in createRowRealMatrix()
336 for (int i = 0; i < nCols; ++i) { in createRowRealMatrix()
354 final int nCols = rowData.length; in createRowFieldMatrix() local
355 if (nCols == 0) { in createRowFieldMatrix()
358 final FieldMatrix<T> m = createFieldMatrix(rowData[0].getField(), 1, nCols); in createRowFieldMatrix()
359 for (int i = 0; i < nCols; ++i) { in createRowFieldMatrix()
377 final int nCols = rowData.length; in createRowBigMatrix() local
378 final BigDecimal[][] data = new BigDecimal[1][nCols]; in createRowBigMatrix()
379 for (int i = 0; i < nCols; ++i) { in createRowBigMatrix()
[all …]
DBlockRealMatrix.java945 final int nCols = getColumnDimension(); in setRowMatrix() local
947 (matrix.getColumnDimension() != nCols)) { in setRowMatrix()
951 1, nCols); in setRowMatrix()
1163 final int nCols = getColumnDimension(); in setRow() local
1164 if (array.length != nCols) { in setRow()
1167 1, array.length, 1, nCols); in setRow()
1309 final int nCols = getColumnDimension(); in transpose() local
1310 final BlockRealMatrix out = new BlockRealMatrix(nCols, nRows); in transpose()
DBlockFieldMatrix.java919 final int nCols = getColumnDimension(); in setRowMatrix() local
921 (matrix.getColumnDimension() != nCols)) { in setRowMatrix()
925 1, nCols); in setRowMatrix()
1137 final int nCols = getColumnDimension(); in setRow() local
1138 if (array.length != nCols) { in setRow()
1141 1, array.length, 1, nCols); in setRow()
1285 final int nCols = getColumnDimension(); in transpose() local
1286 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), nCols, nRows); in transpose()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp307 stopSample = pSettings->nCols + lastSlotOffs * timeStep; in lppTransposer()
315 autoCorrLength = pSettings->nCols + pSettings->overlap; in lppTransposer()
406 i < pSettings->nCols + pSettings->overlap - firstSlotOffs * timeStep; in lppTransposer()
414 for (i = 0; i < ((pSettings->nCols + pSettings->overlap - in lppTransposer()
421 if (pSettings->nCols & 1) { in lppTransposer()
436 pSettings->nCols) + in lppTransposer()
446 pSettings->nCols) + in lppTransposer()
454 for (i = 0; i < (LPC_ORDER + pSettings->overlap + pSettings->nCols); in lppTransposer()
459 for (i = 0; i < (LPC_ORDER + pSettings->overlap + pSettings->nCols); in lppTransposer()
475 scaleValues(&lowBandReal[LPC_ORDER + pSettings->overlap], pSettings->nCols, in lppTransposer()
[all …]
Dlpp_tran.h202 UCHAR nCols; /*!< number subsamples of a codec frame */ member
266 const int timeSlots, const int nCols, UCHAR *noiseBandTable,
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DCovariance.java267 int nCols = matrix.getColumnDimension(); in checkSufficientData() local
268 if (nRows < 2 || nCols < 2) { in checkSufficientData()
271 nRows, nCols); in checkSufficientData()
DPearsonsCorrelation.java278 int nCols = matrix.getColumnDimension(); in checkSufficientData() local
279 if (nRows < 2 || nCols < 2) { in checkSufficientData()
282 nRows, nCols); in checkSufficientData()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DChiSquareTestImpl.java155 int nCols = counts[0].length; in chiSquare() local
159 double[] colSum = new double[nCols]; in chiSquare()
162 for (int col = 0; col < nCols; col++) { in chiSquare()
173 for (int col = 0; col < nCols; col++) { in chiSquare()
/external/aac/libFDK/src/
DFDK_qmf_domain.cpp578 int nCols = gc->nQmfTimeSlots; in FDK_QmfDomain_SaveOverlap() local
587 FDKmemcpy(qmfReal[ts], qmfReal[nCols + ts], in FDK_QmfDomain_SaveOverlap()
589 FDKmemcpy(qmfImag[ts], qmfImag[nCols + ts], in FDK_QmfDomain_SaveOverlap()
594 FDKmemcpy(qmfReal[ts], qmfReal[nCols + ts], in FDK_QmfDomain_SaveOverlap()
/external/ImageMagick/coders/
Dmat.c595 unsigned int nCols; in ReadMATImageV4() member
657 HDR.nCols=ReadBlobLSBLong(image); in ReadMATImageV4()
665 HDR.nCols=ReadBlobMSBLong(image); in ReadMATImageV4()
691 image->rows=(size_t) HDR.nCols; in ReadMATImageV4()
698 SeekBlob(image, HDR.nCols*ldblk, SEEK_CUR); in ReadMATImageV4()
/external/aac/libSBRenc/src/
Dton_corr.cpp703 INT nCols = sbrCfg->noQmfSlots; in FDKsbrEnc_InitTonCorrParamExtr() local
761 hTonCorr->bufferLength = nCols; in FDKsbrEnc_InitTonCorrParamExtr()