Lines Matching refs:Cols

471 template <typename T, int Rows, int Cols>
472 struct Traits<Matrix<T, Rows, Cols> > :
473 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> >
900 template <typename T, int Rows, int Cols>
901 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {};
974 template<int Rows, int Cols>
975 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
976 const ExprP<Matrix<float, Rows, Cols> >& right);
977 template<int Rows, int Cols>
978 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
980 template<int Rows, int Cols>
981 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
983 template<int Rows, int Cols>
984 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left,
985 const ExprP<Matrix<float, Rows, Cols> >& right);
986 template<int Rows, int Cols>
987 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat);
2628 template <int Rows, int Cols>
2629 class MatNeg : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
2630 Matrix<float, Rows, Cols> > >
2651 for (int col = 0; col < Cols; ++col)
2682 template <int Rows, int Cols>
2683 class CompMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2684 Matrix<float, Rows, Cols>,
2685 Matrix<float, Rows, Cols> > >
2697 for (int col = 0; col < Cols; ++col)
2709 template <typename F, int Rows, int Cols>
2710 class CompMatFunc : public CompMatFuncBase<Rows, Cols>
2733 template <int Rows, int Cols>
2734 class MatrixCompMult : public CompMatFunc<ScalarMatrixCompMult, Rows, Cols>
2738 template <int Rows, int Cols>
2739 class ScalarMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2740 Matrix<float, Rows, Cols>,
2753 for (int col = 0; col < Cols; ++col)
2763 template <typename F, int Rows, int Cols>
2764 class ScalarMatFunc : public ScalarMatFuncBase<Rows, Cols>
3361 template<int Rows, int Cols>
3362 class VecMatMul : public MulFunc<Vector<float, Cols>,
3364 Matrix<float, Rows, Cols> >
3379 for (int col = 0; col < Cols; ++col)
3393 template<int Rows, int Cols>
3395 Matrix<float, Rows, Cols>,
3396 Vector<float, Cols> >
3410 return call<VecMatMul<Cols, Rows> >(ctx, right,
3411 call<Transpose<Rows, Cols> >(ctx, left));
3415 template<int Rows, int Cols>
3416 class OuterProduct : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
3418 Vector<float, Cols> > >
3436 for (int col = 0; col < Cols; ++col)
3444 template<int Rows, int Cols>
3445 ExprP<Matrix<float, Rows, Cols> > outerProduct (const ExprP<Vector<float, Rows> >& left,
3446 const ExprP<Vector<float, Cols> >& right)
3448 return app<OuterProduct<Rows, Cols> >(left, right);
3870 template<int Rows, int Cols>
3871 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
3872 const ExprP<Matrix<float, Rows, Cols> >& right)
3874 return app<VecMatMul<Rows, Cols> >(left, right);
3877 template<int Rows, int Cols>
3878 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
3881 return app<MatVecMul<Rows, Cols> >(left, right);
3884 template<int Rows, int Cols>
3885 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
3888 return app<ScalarMatFunc<Mul, Rows, Cols> >(left, right);
3891 template<int Rows, int Cols>
3892 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left,
3893 const ExprP<Matrix<float, Rows, Cols> >& right)
3895 return app<CompMatFunc<Add, Rows, Cols> >(left, right);
3898 template<int Rows, int Cols>
3899 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat)
3901 return app<MatNeg<Rows, Cols> >(mat);
4604 template <typename T, int Rows, int Cols>
4605 struct InputLess<Matrix<T, Rows, Cols> >
4607 bool operator() (const Matrix<T, Rows, Cols>& mat1,
4608 const Matrix<T, Rows, Cols>& mat2) const
4610 for (int col = 0; col < Cols; ++col)
5003 template <int Rows, int Cols>
5006 const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >();
5008 group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >()));