Lines Matching defs:lhs
173 Matrix& Add(const Matrix& lhs, const Matrix& rhs) {
174 CopyFrom(lhs);
189 Matrix& Subtract(const Matrix& lhs, const Matrix& rhs) {
190 CopyFrom(lhs);
205 Matrix& PointwiseMultiply(const Matrix& lhs, const Matrix& rhs) {
206 CopyFrom(lhs);
221 Matrix& PointwiseDivide(const Matrix& lhs, const Matrix& rhs) {
222 CopyFrom(lhs);
265 Matrix& Multiply(const Matrix& lhs, const Matrix& rhs) {
266 RTC_CHECK_EQ(lhs.num_columns_, rhs.num_rows_);
267 RTC_CHECK_EQ(num_rows_, lhs.num_rows_);
270 return Multiply(lhs.elements(), rhs.num_rows_, rhs.elements());
348 Matrix& Multiply(const T* const* lhs,
355 cur_element += lhs[row][i] * rhs[i][col];