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 …]
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 …]
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 …]
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.cpp267 stopSample = pSettings->nCols + lastSlotOffs * timeStep; in lppTransposer()
274 autoCorrLength = pSettings->nCols + pSettings->overlap; in lppTransposer()
341 for(i=0;i<pSettings->nCols+pSettings->overlap;i++){ in lppTransposer()
350 for(i=0;i<((pSettings->overlap+pSettings->nCols)>>1);i++) { in lppTransposer()
354 if (pSettings->nCols & 1) { in lppTransposer()
363 …cale, getScalefactor(&lowBandReal[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift); in lppTransposer()
366 …cale, getScalefactor(&lowBandImag[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift); in lppTransposer()
374 …scaleValues(&lowBandReal[LPC_ORDER+pSettings->overlap], pSettings->nCols, dynamicScale-lowBandShif… in lppTransposer()
378 …scaleValues(&lowBandImag[LPC_ORDER+pSettings->overlap], pSettings->nCols, dynamicScale-lowBandShif… in lppTransposer()
765 const int nCols, /*!< Number of colums (codec qmf bank) */ in createLppTransposer() argument
[all …]
Dlpp_tran.h172 UCHAR nCols; /*!< number subsamples of a codec frame */ member
221 const int nCols,
/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/opencv/cv/src/
Dcvmorph.cpp750 element->nCols = cols; in cvCreateStructuringElementEx()
869 if( iterations == 0 || (element && element->nCols == 1 && element->nRows == 1)) in icvMorphOp()
878 el_size = cvSize( element->nCols, element->nRows ); in icvMorphOp()
1084 el_hdr = cvMat( element->nRows, element->nCols, CV_32SC1, element->values ); in icvMorphOp()
/external/aac/libSBRenc/src/
Dton_corr.cpp670 INT nCols = sbrCfg->noQmfSlots; in FDKsbrEnc_InitTonCorrParamExtr() local
728 hTonCorr->bufferLength = nCols; in FDKsbrEnc_InitTonCorrParamExtr()
/external/opencv/cxcore/include/
Dcxtypes.h414 int nCols; member
425 int nCols; member