Home
last modified time | relevance | path

Searched refs:num_nonzeros_ (Results 1 – 4 of 4) sorted by relevance

/external/ceres-solver/internal/ceres/
Dtriplet_sparse_matrix.cc48 num_nonzeros_(0), in TripletSparseMatrix()
61 num_nonzeros_(0), in TripletSparseMatrix()
77 num_nonzeros_(orig.num_nonzeros_), in TripletSparseMatrix()
89 num_nonzeros_ = rhs.num_nonzeros_; in operator =()
97 for (int i = 0; i < num_nonzeros_; ++i) { in AllTripletsWithinBounds()
106 CHECK_LE(num_nonzeros_, new_max_num_nonzeros) in Reserve()
117 for (int i = 0; i < num_nonzeros_; ++i) { in Reserve()
132 num_nonzeros_ = 0; in SetZero()
138 num_nonzeros_ = num_nonzeros; in set_num_nonzeros()
148 for (int i = 0; i < num_nonzeros_; ++i) { in CopyData()
[all …]
Dblock_sparse_matrix.cc51 num_nonzeros_(0), in BlockSparseMatrix()
71 num_nonzeros_ += col_block_size * row_block_size; in BlockSparseMatrix()
77 CHECK_GE(num_nonzeros_, 0); in BlockSparseMatrix()
79 << num_nonzeros_ * sizeof(double) << " bytes."; // NOLINT in BlockSparseMatrix()
80 values_.reset(new double[num_nonzeros_]); in BlockSparseMatrix()
85 fill(values_.get(), values_.get() + num_nonzeros_, 0.0); in SetZero()
188 matrix->Reserve(num_nonzeros_); in ToTripletSparseMatrix()
210 matrix->set_num_nonzeros(num_nonzeros_); in ToTripletSparseMatrix()
Dblock_sparse_matrix.h80 virtual int num_nonzeros() const { return num_nonzeros_; } in num_nonzeros()
91 int num_nonzeros_; variable
Dtriplet_sparse_matrix.h66 virtual int num_nonzeros() const { return num_nonzeros_; } in num_nonzeros()
115 int num_nonzeros_; variable