Lines Matching refs:Rows
623 template <typename T, int Rows, int Cols>
624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() argument
626 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult()
628 for (int r = 0; r < Rows; ++r) in matrixCompMult()
637 template <typename T, int Rows, int Cols>
638 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose() argument
640 tcu::Matrix<T, Cols, Rows> retVal; in transpose()
642 for (int r = 0; r < Rows; ++r) in transpose()
651 template <typename T, int Rows, int Cols>
652 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct()
654 tcu::Matrix<T, Rows, Cols> retVal; in outerProduct()
656 for (int r = 0; r < Rows; ++r) in outerProduct()
844 template <typename T, int Rows, int Cols>
845 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate() argument
847 tcu::Matrix<T, Rows, Cols> retVal; in negate()
849 for (int r = 0; r < Rows; ++r) in negate()
858 template <typename T, int Rows, int Cols>
859 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) in increment() argument
861 tcu::Matrix<T, Rows, Cols> retVal; in increment()
863 for (int r = 0; r < Rows; ++r) in increment()
870 template <typename T, int Rows, int Cols>
871 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat) in decrement() argument
873 tcu::Matrix<T, Rows, Cols> retVal; in decrement()
875 for (int r = 0; r < Rows; ++r) in decrement()
1333 template <int Cols, int Rows>
1334 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m) in writeMatrixConstructor() argument
1336 if (Rows == Cols) in writeMatrixConstructor()
1339 str << "mat" << Cols << "x" << Rows; in writeMatrixConstructor()
1344 for (int rowNdx = 0; rowNdx < Rows; rowNdx++) in writeMatrixConstructor()