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… in matrixCompMult()
626 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult()
629 for (int c = 0; c < Cols; ++c) 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()
640 tcu::Matrix<T, Cols, Rows> retVal; in transpose()
643 for (int c = 0; c < Cols; ++c) 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()
657 for (int c = 0; c < Cols; ++c) 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()
847 tcu::Matrix<T, Rows, Cols> retVal; in negate()
850 for (int c = 0; c < Cols; ++c) 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()
861 tcu::Matrix<T, Rows, Cols> retVal; in increment()
864 for (int c = 0; c < Cols; ++c) 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()
873 tcu::Matrix<T, Rows, Cols> retVal; in decrement()
876 for (int c = 0; c < Cols; ++c) in decrement()
1333 template <int Cols, int Rows>
1334 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m) in writeMatrixConstructor()
1336 if (Rows == Cols) in writeMatrixConstructor()
1337 str << "mat" << Cols; in writeMatrixConstructor()
1339 str << "mat" << Cols << "x" << Rows; in writeMatrixConstructor()
1342 for (int colNdx = 0; colNdx < Cols; colNdx++) in writeMatrixConstructor()