OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:subMatrix
(Results
1 - 10
of
10
) sorted by null
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
Array2DRowRealMatrix.java
315
public void setSubMatrix(final double[][]
subMatrix
, final int row, final int column)
326
final int nRows =
subMatrix
.length;
332
final int nCols =
subMatrix
[0].length;
337
data = new double[
subMatrix
.length][nCols];
339
if (
subMatrix
[i].length != nCols) {
341
LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols,
subMatrix
[i].length);
343
System.arraycopy(
subMatrix
[i], 0, data[i + row], column, nCols);
346
super.setSubMatrix(
subMatrix
, row, column);
RealMatrixImpl.java
316
public void setSubMatrix(final double[][]
subMatrix
, final int row, final int column)
329
final int nRows =
subMatrix
.length;
334
final int nCols =
subMatrix
[0].length;
338
data = new double[
subMatrix
.length][nCols];
340
if (
subMatrix
[i].length != nCols) {
343
nCols,
subMatrix
[i].length);
345
System.arraycopy(
subMatrix
[i], 0, data[i + row], column, nCols);
348
super.setSubMatrix(
subMatrix
, row, column);
Array2DRowFieldMatrix.java
307
public void setSubMatrix(final T[][]
subMatrix
, final int row, final int column)
318
final int nRows =
subMatrix
.length;
324
final int nCols =
subMatrix
[0].length;
329
data = buildArray(getField(),
subMatrix
.length, nCols);
331
if (
subMatrix
[i].length != nCols) {
333
LocalizedFormats.DIFFERENT_ROWS_LENGTHS, nCols,
subMatrix
[i].length);
335
System.arraycopy(
subMatrix
[i], 0, data[i + row], column, nCols);
338
super.setSubMatrix(
subMatrix
, row, column);
AbstractFieldMatrix.java
293
final FieldMatrix<T>
subMatrix
=
297
subMatrix
.setEntry(i - startRow, j - startColumn, getEntry(i, j));
301
return
subMatrix
;
313
final FieldMatrix<T>
subMatrix
=
315
subMatrix
.walkInOptimizedOrder(new DefaultFieldMatrixChangingVisitor<T>(field.getZero()) {
325
return
subMatrix
;
399
public void setSubMatrix(final T[][]
subMatrix
, final int row, final int column)
402
final int nRows =
subMatrix
.length;
407
final int nCols =
subMatrix
[0].length;
413
if (
subMatrix
[r].length != nCols)
[
all
...]
AbstractRealMatrix.java
267
final RealMatrix
subMatrix
=
271
subMatrix
.setEntry(i - startRow, j - startColumn, getEntry(i, j));
275
return
subMatrix
;
287
final RealMatrix
subMatrix
=
289
subMatrix
.walkInOptimizedOrder(new DefaultRealMatrixChangingVisitor() {
299
return
subMatrix
;
373
public void setSubMatrix(final double[][]
subMatrix
, final int row, final int column)
376
final int nRows =
subMatrix
.length;
381
final int nCols =
subMatrix
[0].length;
387
if (
subMatrix
[r].length != nCols)
[
all
...]
BigMatrixImpl.java
588
* Gets a
submatrix
. Rows and columns are indicated
595
* @return The
subMatrix
containing the data of the
630
* Gets a
submatrix
. Rows and columns are indicated
635
* @return The
subMatrix
containing the data in the
674
* Replace the
submatrix
starting at <code>row, column</code> using data in
675
* the input <code>
subMatrix
</code> array. Indexes are 0-based.
683
* and <code>
subMatrix
= {{3, 4} {5,6}}</code>, invoking
684
* <code>setSubMatrix(
subMatrix
,1,1))</code> will result in <pre>
690
* @param
subMatrix
array containing the
submatrix
replacement dat
[
all
...]
RealMatrix.java
129
* Gets a
submatrix
. Rows and columns are indicated
136
* @return The
subMatrix
containing the data of the
144
* Gets a
submatrix
. Rows and columns are indicated
149
* @return The
subMatrix
containing the data in the
157
* Copy a
submatrix
. Rows and columns are indicated
164
* @param destination The arrays where the
submatrix
data should be copied
174
* Copy a
submatrix
. Rows and columns are indicated
179
* @param destination The arrays where the
submatrix
data should be copied
188
* Replace the
submatrix
starting at <code>row, column</code> using data in
189
* the input <code>
subMatrix
</code> array. Indexes are 0-based
[
all
...]
FieldMatrix.java
122
* Gets a
submatrix
. Rows and columns are indicated
129
* @return The
subMatrix
containing the data of the
137
* Gets a
submatrix
. Rows and columns are indicated
142
* @return The
subMatrix
containing the data in the
150
* Copy a
submatrix
. Rows and columns are indicated
157
* @param destination The arrays where the
submatrix
data should be copied
167
* Copy a
submatrix
. Rows and columns are indicated
172
* @param destination The arrays where the
submatrix
data should be copied
181
* Replace the
submatrix
starting at <code>row, column</code> using data in
182
* the input <code>
subMatrix
</code> array. Indexes are 0-based
[
all
...]
BlockFieldMatrix.java
713
// the
submatrix
block spans on two blocks rows from the original matrix
715
// the
submatrix
block spans on two blocks columns from the original matrix
734
// the
submatrix
block spans on one block column from the original matrix
745
// the
submatrix
block spans on one block row from the original matrix
747
// the
submatrix
block spans on two blocks columns from the original matrix
758
// the
submatrix
block spans on one block column from the original matrix
[
all
...]
BlockRealMatrix.java
738
// the
submatrix
block spans on two blocks rows from the original matrix
740
// the
submatrix
block spans on two blocks columns from the original matrix
759
// the
submatrix
block spans on one block column from the original matrix
770
// the
submatrix
block spans on one block row from the original matrix
772
// the
submatrix
block spans on two blocks columns from the original matrix
783
// the
submatrix
block spans on one block column from the original matrix
[
all
...]
Completed in 155 milliseconds