Home
last modified time | relevance | path

Searched refs:nCols (Results 1 – 22 of 22) 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.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/opencv3/modules/imgcodecs/src/
Dgrfmt_gdal.cpp371 int nRows, nCols; in readData() local
387 nCols = band->GetXSize(); in readData()
390 double* scanline = new double[nCols]; in readData()
396 band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0); in readData()
399 for( int x=0; x<nCols; x++ ){ in readData()
/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/opencv3/samples/cpp/tutorial_code/core/how_to_scan_images/
Dhow_to_scan_images.cpp142 int nCols = I.cols * channels; in ScanImageAndReduceC() local
146 nCols *= nRows; in ScanImageAndReduceC()
155 for ( j = 0; j < nCols; ++j) in ScanImageAndReduceC()
/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
/external/opencv3/modules/core/include/opencv2/core/
Dtypes_c.h354 int nCols; member
365 int nCols; member
/external/opencv3/modules/imgproc/src/
Dmorph.cpp1899 element->nCols = cols; in cvCreateStructuringElementEx()
1940 dst.create(src->nRows, src->nCols, CV_8U); in convertConvKernel()
1942 int i, size = src->nRows*src->nCols; in convertConvKernel()
/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp258 Mat _ielement(element->nRows, element->nCols, CV_32S, element->values); in prepare_to_validation()