Home
last modified time | relevance | path

Searched refs:num_columns (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix_test_helpers.h33 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEquality()
38 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEquality()
47 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEqualityFloat()
52 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEqualityFloat()
62 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEqualityComplexFloat()
67 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEqualityComplexFloat()
83 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixNearEqualityComplexFloat()
88 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixNearEqualityComplexFloat()
Dcomplex_matrix.h30 ComplexMatrix(size_t num_rows, size_t num_columns) in ComplexMatrix() argument
31 : Matrix<complex<T> >(num_rows, num_columns) {} in ComplexMatrix()
33 ComplexMatrix(const complex<T>* data, size_t num_rows, size_t num_columns) in ComplexMatrix() argument
34 : Matrix<complex<T> >(data, num_rows, num_columns) {} in ComplexMatrix()
39 size_t size = this->num_rows() * this->num_columns(); in PointwiseConjugate()
55 this->SetNumRows(this->num_columns()); in ConjugateTranspose()
62 RTC_CHECK_EQ(operand.num_rows(), this->num_columns()); in ConjugateTranspose()
63 RTC_CHECK_EQ(operand.num_columns(), this->num_rows()); in ConjugateTranspose()
69 size_t size = this->num_rows() * this->num_columns(); in ZeroImag()
86 for (size_t j = 0; j < this->num_columns(); ++j) { in ConjugateTranspose()
Dmatrix.h70 Matrix(size_t num_rows, size_t num_columns) in Matrix() argument
71 : num_rows_(num_rows), num_columns_(num_columns) { in Matrix()
78 Matrix(const T* data, size_t num_rows, size_t num_columns) in Matrix() argument
80 CopyFrom(data, num_rows, num_columns); in Matrix()
93 void CopyFrom(const T* const data, size_t num_rows, size_t num_columns) { in CopyFrom() argument
94 Resize(num_rows, num_columns); in CopyFrom()
109 void Resize(size_t num_rows, size_t num_columns) { in Resize() argument
110 if (num_rows != num_rows_ || num_columns != num_columns_) { in Resize()
112 num_columns_ = num_columns; in Resize()
119 size_t num_columns() const { return num_columns_; } in num_columns() function
[all …]
Dnonlinear_beamformer.cc83 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_rows()); in Norm()
84 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_columns()); in Norm()
92 for (size_t i = 0; i < norm_mat.num_columns(); ++i) { in Norm()
93 for (size_t j = 0; j < norm_mat.num_columns(); ++j) { in Norm()
107 RTC_CHECK_EQ(lhs.num_columns(), rhs.num_columns()); in ConjugateDotProduct()
113 for (size_t i = 0; i < lhs.num_columns(); ++i) { in ConjugateDotProduct()
130 for (size_t j = 0; j < mat.num_columns(); ++j) { in SumAbs()
142 for (size_t j = 0; j < mat.num_columns(); ++j) { in SumSquares()
154 RTC_CHECK_EQ(out->num_rows(), in.num_columns()); in TransposedConjugatedProduct()
155 RTC_CHECK_EQ(out->num_columns(), in.num_columns()); in TransposedConjugatedProduct()
[all …]
Dcovariance_matrix_generator.cc31 const size_t length = x.num_columns(); in Norm()
47 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in UniformCovarianceMatrix()
72 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in AngledCovarianceMatrix()
98 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in PhaseAlignmentMasks()
/external/autotest/frontend/tko/
Dcsv_encoder.py38 def _total_index(self, group, num_columns): argument
40 return row_index * num_columns + column_index