Lines Matching defs:Rows
618 template <typename T, int Rows, int Cols>
619 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b)
621 tcu::Matrix<T, Rows, Cols> retVal;
623 for (int r = 0; r < Rows; ++r)
632 template <typename T, int Rows, int Cols>
633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b)
635 tcu::Matrix<T, Rows, Cols> retVal;
637 for (int r = 0; r < Rows; ++r)
825 template <typename T, int Rows, int Cols>
826 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
828 tcu::Matrix<T, Rows, Cols> retVal;
830 for (int r = 0; r < Rows; ++r)
839 template <typename T, int Rows, int Cols>
840 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
842 tcu::Matrix<T, Rows, Cols> retVal;
844 for (int r = 0; r < Rows; ++r)
851 template <typename T, int Rows, int Cols>
852 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
854 tcu::Matrix<T, Rows, Cols> retVal;
856 for (int r = 0; r < Rows; ++r)
1314 template <int Cols, int Rows>
1315 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
1317 if (Rows == Cols)
1320 str << "mat" << Cols << "x" << Rows;
1325 for (int rowNdx = 0; rowNdx < Rows; rowNdx++)