HomeSort by relevance Sort by last modified time
    Searched refs:nnz (Results 1 - 16 of 16) sorted by null

  /external/ceres-solver/internal/ceres/
linear_least_squares_problems.cc 196 int nnz = 0; local
200 rows[nnz] = 0;
201 cols[nnz] = 0;
202 values[nnz++] = 1;
204 rows[nnz] = 0;
205 cols[nnz] = 2;
206 values[nnz++] = 2;
211 rows[nnz] = 1;
212 cols[nnz] = 0;
213 values[nnz++] = 3
304 int nnz = 0; local
438 int nnz = 0; local
    [all...]
triplet_sparse_matrix_test.cc 300 int nnz = 0; local
303 m.mutable_rows()[nnz] = i;
304 m.mutable_cols()[nnz] = j;
305 m.mutable_values()[nnz++] = i+j;
308 m.set_num_nonzeros(nnz);
suitesparse.cc 61 triplet.nnz = A->num_nonzeros();
70 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_);
81 triplet.nnz = A->num_nonzeros();
92 return cholmod_triplet_to_sparse(&triplet, triplet.nnz, &cc_);
compressed_row_sparse_matrix.cc 451 int nnz = 0; local
454 (*program)[product[0].index] = nnz;
461 crsm_cols[++nnz] = current.col;
467 (*program)[current.index] = nnz;
  /external/eigen/Eigen/src/OrderingMethods/
Ordering.h 131 Index nnz = mat.nonZeros(); local
133 Index Alen = internal::colamd_recommended(nnz, m, n);
141 for(Index i=0; i < nnz; i++) A(i) = mat.innerIndexPtr()[i];
Eigen_Colamd.h 196 the COLAMD_RECOMMENDED (nnz, n_row, n_col) macro. It returns -1 if any
197 argument is negative. 2*nnz space is required for the row and column
201 and nnz/5 more space is recommended for run time efficiency.
258 * \param nnz nonzeros in A
264 inline Index colamd_recommended ( Index nnz, Index n_row, Index n_col)
266 if ((nnz) < 0 || (n_row) < 0 || (n_col) < 0)
269 return (2 * (nnz) + colamd_c (n_col) + colamd_r (n_row) + (n_col) + ((nnz) / 5));
334 Index nnz ; /* nonzeros in A */ local
392 nnz = p [n_col]
    [all...]
  /external/eigen/Eigen/src/SparseCore/
ConservativeSparseSparseProduct.h 37 // Therefore, we have nnz(lhs*rhs) = nnz(lhs) + nnz(rhs)
47 Index nnz = 0; local
60 indices[nnz] = i;
61 ++nnz;
69 for(Index k=0; k<nnz; ++k)
82 // FIXME reserve nnz non zeros
83 // FIXME implement fast sort algorithms for very small nnz
88 //if((nnz<200 && nnz<t200) || nnz * log2(nnz) < t
    [all...]
SparseBlock.h 138 Index nnz = tmp.nonZeros(); local
148 if(nnz>free_size)
151 typename SparseMatrixType::Storage newdata(m_matrix.data().allocatedSize() - block_size + nnz);
156 std::memcpy(&newdata.value(start), &tmp.data().value(0), nnz*sizeof(Scalar));
157 std::memcpy(&newdata.index(start), &tmp.data().index(0), nnz*sizeof(Index));
159 std::memcpy(&newdata.value(start+nnz), &matrix.data().value(end), tail_size*sizeof(Scalar));
160 std::memcpy(&newdata.index(start+nnz), &matrix.data().index(end), tail_size*sizeof(Index));
162 newdata.resize(m_matrix.outerIndexPtr()[m_matrix.outerSize()] - block_size + nnz);
169 matrix.data().resize(start + nnz + tail_size);
171 std::memmove(&matrix.data().value(start+nnz), &matrix.data().value(end), tail_size*sizeof(Scalar))
    [all...]
MappedSparseMatrix.h 108 inline MappedSparseMatrix(Index rows, Index cols, Index nnz, Index* outerIndexPtr, Index* innerIndexPtr, Scalar* valuePtr)
109 : m_outerSize(IsRowMajor?rows:cols), m_innerSize(IsRowMajor?cols:rows), m_nnz(nnz), m_outerIndex(outerIndexPtr),
SparseSelfAdjointView.h 351 Index nnz = count.sum(); local
354 dest.resizeNonZeros(nnz);
  /external/libavc/common/arm/
ih264_resi_trans_quant_a9.s 61 @ pointer to store nnz
92 @ :nnz
108 @R9 :nnz
227 vpadd.u8 d18, d16, d17 @I pair add nnz 1
228 vpadd.u8 d20, d18, d19 @I Pair add nnz 2
229 vpadd.u8 d22, d20, d21 @I Pair add nnz 3
233 vmov.u8 d25, #16 @I Get max nnz
234 vsub.u8 d26, d25, d24 @I invert current nnz
236 vst1.u8 d26[0], [r9] @I Write nnz
259 @ pointer to store nnz
    [all...]
  /external/eigen/bench/
sparse_setter.cpp 107 std::cout << "nnz = " << coords.size() << "\n";
302 const int nnz,
312 for (int n = 0; n < nnz; n++){
316 //cumsum the nnz per row to get Bp[]
322 Bp[n_row] = nnz;
325 for(int n = 0; n < nnz; n++){
384 I nnz = 0; local
397 Aj[nnz] = j;
398 Ax[nnz] = x;
399 nnz++
    [all...]
  /external/libavc/encoder/
ih264e_cavlc.c 100 * total nnz.
145 /* Compute Runs of zeros for all nnz coefficients except the last 3 */
298 DEBUG("\n[%d numcoeff, %d numtrailing ones, %d nnz]",u4_total_coeff, 0, u4_nc);
359 DEBUG("\n[%d numcoeff, %d numtrailing ones, %d nnz]",u4_total_coeff, u4_trailing_ones, u4_nc);
593 * pointer to the buffer containing nnz of all the subblks to the top
596 * pointer to the buffer containing nnz of all the subblks to the left
754 /* estimate nnz for the current mb */
1222 UWORD32 *nnz; local
1519 UWORD32 *nnz; local
    [all...]
  /external/eigen/unsupported/Eigen/src/IterativeSolvers/
IncompleteCholesky.h 147 Index nnz = m_L.nonZeros(); local
148 Map<ScalarType> vals(m_L.valuePtr(), nnz); //values
149 Map<IndexType> rowIdx(m_L.innerIndexPtr(), nnz); //Row indices
  /external/eigen/Eigen/src/SuperLUSupport/
SuperLUSupport.h 114 union {int nnz;int lda;}; member in union:Eigen::SluMatrix::__anon8725::__anon8726
186 res.storage.nnz = mat.nonZeros();
245 res.storage.nnz = mat.nonZeros();
704 m_l.resizeNonZeros(Lstore->nnz);
706 m_u.resizeNonZeros(Ustore->nnz);
  /external/eigen/Eigen/src/SparseLU/
SparseLU.h 492 Index nnz = m_mat.nonZeros(); local
496 Index info = Base::memInit(m, n, nnz, lwork, m_perfv.fillfactor, m_perfv.panel_size, m_glu);

Completed in 420 milliseconds