Lines Matching refs:Cols
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, Rows, Cols>& b)
626 tcu::Matrix<T, Rows, Cols> retVal;
629 for (int c = 0; c < Cols; ++c)
637 template <typename T, int Rows, int Cols>
638 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b)
640 tcu::Matrix<T, Rows, Cols> retVal;
643 for (int c = 0; c < Cols; ++c)
830 template <typename T, int Rows, int Cols>
831 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
833 tcu::Matrix<T, Rows, Cols> retVal;
836 for (int c = 0; c < Cols; ++c)
844 template <typename T, int Rows, int Cols>
845 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
847 tcu::Matrix<T, Rows, Cols> retVal;
850 for (int c = 0; c < Cols; ++c)
856 template <typename T, int Rows, int Cols>
857 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
859 tcu::Matrix<T, Rows, Cols> retVal;
862 for (int c = 0; c < Cols; ++c)
1319 template <int Cols, int Rows>
1320 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
1322 if (Rows == Cols)
1323 str << "mat" << Cols;
1325 str << "mat" << Cols << "x" << Rows;
1328 for (int colNdx = 0; colNdx < Cols; colNdx++)