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, Rows, Cols>& b)
621 tcu::Matrix<T, Rows, Cols> retVal;
624 for (int c = 0; c < Cols; ++c)
632 template <typename T, int Rows, int Cols>
633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b)
635 tcu::Matrix<T, Rows, Cols> retVal;
638 for (int c = 0; c < Cols; ++c)
825 template <typename T, int Rows, int Cols>
826 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat)
828 tcu::Matrix<T, Rows, Cols> retVal;
831 for (int c = 0; c < Cols; ++c)
839 template <typename T, int Rows, int Cols>
840 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat)
842 tcu::Matrix<T, Rows, Cols> retVal;
845 for (int c = 0; c < Cols; ++c)
851 template <typename T, int Rows, int Cols>
852 tcu::Matrix<T, Rows, Cols> decrement (const tcu::Matrix<T, Rows, Cols>& mat)
854 tcu::Matrix<T, Rows, Cols> retVal;
857 for (int c = 0; c < Cols; ++c)
1314 template <int Cols, int Rows>
1315 void writeMatrixConstructor (std::ostream& str, const tcu::Matrix<float, Rows, Cols>& m)
1317 if (Rows == Cols)
1318 str << "mat" << Cols;
1320 str << "mat" << Cols << "x" << Rows;
1323 for (int colNdx = 0; colNdx < Cols; colNdx++)