Lines Matching refs:lhs
34 mat<TYPE, C, R>& lhs, in doAssign() argument
38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign()
39 return lhs; in doAssign()
44 const mat<TYPE, D, R>& lhs, in doMul() argument
52 v += lhs[k][r] * rhs[c][k]; in doMul()
62 const mat<TYPE, D, R>& lhs, in doMul() argument
69 v += lhs[k][r] * rhs[k]; in doMul()
78 const vec<TYPE, R>& lhs, in doMul() argument
84 res[c][r] = lhs[r] * rhs[c][0]; in doMul()
172 friend inline mat PURE operator + (const mat& lhs, const mat& rhs) {
174 static_cast<const base&>(lhs),
177 friend inline mat PURE operator - (const mat& lhs, const mat& rhs) {
179 static_cast<const base&>(lhs),
186 const mat<TYPE, D, R>& lhs,
188 return helpers::doMul(lhs, rhs);
193 const mat& lhs, const vec<TYPE, C>& rhs) {
194 return helpers::doMul(lhs, rhs);
199 const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) {
200 return helpers::doMul(lhs, rhs);
204 friend inline mat PURE operator * (const mat& lhs, pTYPE v) {
205 return helpers::doMul(lhs, v);
232 const column_builder<PREV_COLUMN>& lhs,
234 lhs.matrix[PREV_COLUMN+1] = rhs;
235 return column_builder<PREV_COLUMN+1>(lhs.matrix);
241 const column_builder<C-2>& lhs,
243 lhs.matrix[C-1] = rhs;