Lines Matching refs:Cols

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… in matrixCompMult()
621 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult()
624 for (int c = 0; c < Cols; ++c) in matrixCompMult()
632 template <typename T, int Rows, int Cols>
633 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose()
635 tcu::Matrix<T, Cols, Rows> retVal; in transpose()
638 for (int c = 0; c < Cols; ++c) in transpose()
646 template <typename T, int Rows, int Cols>
647 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct()
649 tcu::Matrix<T, Rows, Cols> retVal; in outerProduct()
652 for (int c = 0; c < Cols; ++c) in outerProduct()
839 template <typename T, int Rows, int Cols>
840 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate()
842 tcu::Matrix<T, Rows, Cols> retVal; in negate()
845 for (int c = 0; c < Cols; ++c) in negate()
853 template <typename T, int Rows, int Cols>
854 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) in increment()
856 tcu::Matrix<T, Rows, Cols> retVal; in increment()
859 for (int c = 0; c < Cols; ++c) in increment()
865 template <typename T, int Rows, int Cols>
866 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat) in decrement()
868 tcu::Matrix<T, Rows, Cols> retVal; in decrement()
871 for (int c = 0; c < Cols; ++c) in decrement()
1328 template <int Cols, int Rows>
1329 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m) in writeMatrixConstructor()
1331 if (Rows == Cols) in writeMatrixConstructor()
1332 str << "mat" << Cols; in writeMatrixConstructor()
1334 str << "mat" << Cols << "x" << Rows; in writeMatrixConstructor()
1337 for (int colNdx = 0; colNdx < Cols; colNdx++) in writeMatrixConstructor()