Home | History | Annotate | Download | only in functional

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