Lines Matching defs:Rows
624 template <typename T, int Rows, int Cols>
625 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b)
627 tcu::Matrix<T, Rows, Cols> retVal;
629 for (int r = 0; r < Rows; ++r)
638 template <typename T, int Rows, int Cols>
639 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b)
641 tcu::Matrix<T, Rows, Cols> retVal;
643 for (int r = 0; r < Rows; ++r)
831 template <typename T, int Rows, int Cols>
832 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
834 tcu::Matrix<T, Rows, Cols> retVal;
836 for (int r = 0; r < Rows; ++r)
845 template <typename T, int Rows, int Cols>
846 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
848 tcu::Matrix<T, Rows, Cols> retVal;
850 for (int r = 0; r < Rows; ++r)
857 template <typename T, int Rows, int Cols>
858 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
860 tcu::Matrix<T, Rows, Cols> retVal;
862 for (int r = 0; r < Rows; ++r)
1320 template <int Cols, int Rows>
1321 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
1323 if (Rows == Cols)
1326 str << "mat" << Cols << "x" << Rows;
1331 for (int rowNdx = 0; rowNdx < Rows; rowNdx++)