Home
last modified time | relevance | path

Searched refs:num_rows_ (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix.h67 Matrix() : num_rows_(0), num_columns_(0) {} in Matrix()
71 : num_rows_(num_rows), num_columns_(num_columns) { in Matrix()
73 scratch_data_.resize(num_rows_ * num_columns_); in Matrix()
74 scratch_elements_.resize(num_rows_); in Matrix()
79 : num_rows_(0), num_columns_(0) { in Matrix()
81 scratch_data_.resize(num_rows_ * num_columns_); in Matrix()
82 scratch_elements_.resize(num_rows_); in Matrix()
89 CopyFrom(&other.data_[0], other.num_rows_, other.num_columns_); in CopyFrom()
95 memcpy(&data_[0], data, num_rows_ * num_columns_ * sizeof(data_[0])); in CopyFrom()
110 if (num_rows != num_rows_ || num_columns != num_columns_) { in Resize()
[all …]
/external/ceres-solver/internal/ceres/
Dblock_random_access_dense_matrix.cc45 num_rows_ = 0; in BlockRandomAccessDenseMatrix()
47 block_layout_[i] = num_rows_; in BlockRandomAccessDenseMatrix()
48 num_rows_ += blocks[i]; in BlockRandomAccessDenseMatrix()
51 values_.reset(new double[num_rows_ * num_rows_]); in BlockRandomAccessDenseMatrix()
74 *row_stride = num_rows_; in GetCell()
75 *col_stride = num_rows_; in GetCell()
82 if (num_rows_) { in SetZero()
83 VectorRef(values_.get(), num_rows_ * num_rows_).setZero(); in SetZero()
Dcompressed_row_sparse_matrix.cc75 num_rows_ = num_rows; in CompressedRowSparseMatrix()
82 VLOG(1) << "# of rows: " << num_rows_ in CompressedRowSparseMatrix()
85 << ". Allocating " << (num_rows_ + 1) * sizeof(int) + // NOLINT in CompressedRowSparseMatrix()
92 num_rows_ = m.num_rows(); in CompressedRowSparseMatrix()
95 rows_.resize(num_rows_ + 1, 0); in CompressedRowSparseMatrix()
109 VLOG(1) << "# of rows: " << num_rows_ in CompressedRowSparseMatrix()
113 << ((num_rows_ + 1) * sizeof(int) + // NOLINT in CompressedRowSparseMatrix()
127 for (int i = 1; i < num_rows_ + 1; ++i) { in CompressedRowSparseMatrix()
138 num_rows_ = num_rows; in CompressedRowSparseMatrix()
145 for (int i = 0; i < num_rows_; ++i) { in CompressedRowSparseMatrix()
[all …]
Dtriplet_sparse_matrix.cc45 : num_rows_(0), in TripletSparseMatrix()
58 : num_rows_(num_rows), in TripletSparseMatrix()
74 num_rows_(orig.num_rows_), in TripletSparseMatrix()
87 num_rows_ = rhs.num_rows_; in operator =()
98 if ((rows_[i] < 0) || (rows_[i] >= num_rows_) || in AllTripletsWithinBounds()
183 dense_matrix->resize(num_rows_, num_cols_); in ToDenseMatrix()
195 rows_.get()[num_nonzeros_] = B.rows()[i] + num_rows_; in AppendRows()
199 num_rows_ = num_rows_ + B.num_rows(); in AppendRows()
203 CHECK_EQ(B.num_rows(), num_rows_); in AppendCols()
215 if ((new_num_rows >= num_rows_) && (new_num_cols >= num_cols_)) { in Resize()
[all …]
Dblock_random_access_dense_matrix.h79 virtual int num_rows() const { return num_rows_; } in num_rows()
80 virtual int num_cols() const { return num_rows_; } in num_cols()
87 int num_rows_;
Dblock_jacobi_preconditioner.h63 virtual int num_rows() const { return num_rows_; } in num_rows()
64 virtual int num_cols() const { return num_rows_; } in num_cols()
71 int num_rows_; variable
Dcompressed_row_sparse_matrix.h89 virtual int num_rows() const { return num_rows_; } in num_rows()
91 virtual int num_nonzeros() const { return rows_[num_rows_]; } in num_nonzeros()
122 void set_num_rows(const int num_rows) { num_rows_ = num_rows; } in set_num_rows()
161 int num_rows_;
Dblock_sparse_matrix.cc49 : num_rows_(0), in BlockSparseMatrix()
65 num_rows_ += row_block_size; in BlockSparseMatrix()
75 CHECK_GE(num_rows_, 0); in BlockSparseMatrix()
165 dense_matrix->resize(num_rows_, num_cols_); in ToDenseMatrix()
189 matrix->Resize(num_rows_, num_cols_); in ToTripletSparseMatrix()
Dblock_sparse_matrix.h78 virtual int num_rows() const { return num_rows_; } in num_rows()
88 int num_rows_;
Dtriplet_sparse_matrix.h64 virtual int num_rows() const { return num_rows_; } in num_rows()
112 int num_rows_; variable
Diterative_schur_complement_solver_test.cc71 num_rows_ = A_->num_rows(); in SetUpProblem()
111 int num_rows_; member in ceres::internal::IterativeSchurComplementSolverTest
Dimplicit_schur_complement_test.cc67 num_rows_ = A_->num_rows(); in SetUp()
178 int num_rows_; member in ceres::internal::ImplicitSchurComplementTest
Dpartitioned_matrix_view_test.cc59 num_rows_ = A_->num_rows(); in SetUp()
68 int num_rows_; member in ceres::internal::PartitionedMatrixViewTest
Dblock_jacobi_preconditioner.cc45 : num_rows_(A.num_rows()), in BlockJacobiPreconditioner()