Lines Matching refs:Cols
482 template <typename T, int Rows, int Cols>
483 struct Traits<Matrix<T, Rows, Cols> > :
484 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> >
911 template <typename T, int Rows, int Cols>
912 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {};
985 template<int Rows, int Cols>
986 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
987 const ExprP<Matrix<float, Rows, Cols> >& right);
988 template<int Rows, int Cols>
989 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
991 template<int Rows, int Cols>
992 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
994 template<int Rows, int Cols>
995 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left,
996 const ExprP<Matrix<float, Rows, Cols> >& right);
997 template<int Rows, int Cols>
998 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat);
2716 template <int Rows, int Cols>
2717 class MatNeg : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
2718 Matrix<float, Rows, Cols> > >
2739 for (int col = 0; col < Cols; ++col) in doApply()
2770 template <int Rows, int Cols>
2771 class CompMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2772 Matrix<float, Rows, Cols>,
2773 Matrix<float, Rows, Cols> > >
2785 for (int col = 0; col < Cols; ++col) in doApply()
2797 template <typename F, int Rows, int Cols>
2798 class CompMatFunc : public CompMatFuncBase<Rows, Cols>
2821 template <int Rows, int Cols>
2822 class MatrixCompMult : public CompMatFunc<ScalarMatrixCompMult, Rows, Cols>
2826 template <int Rows, int Cols>
2827 class ScalarMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2828 Matrix<float, Rows, Cols>,
2841 for (int col = 0; col < Cols; ++col) in doApply()
2851 template <typename F, int Rows, int Cols>
2852 class ScalarMatFunc : public ScalarMatFuncBase<Rows, Cols>
3495 template<int Rows, int Cols>
3496 class VecMatMul : public MulFunc<Vector<float, Cols>,
3498 Matrix<float, Rows, Cols> >
3513 for (int col = 0; col < Cols; ++col) in doApply()
3527 template<int Rows, int Cols>
3529 Matrix<float, Rows, Cols>,
3530 Vector<float, Cols> >
3544 return call<VecMatMul<Cols, Rows> >(ctx, right, in doApply()
3545 call<Transpose<Rows, Cols> >(ctx, left)); in doApply()
3549 template<int Rows, int Cols>
3550 class OuterProduct : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
3552 Vector<float, Cols> > >
3570 for (int col = 0; col < Cols; ++col) in doApply()
3578 template<int Rows, int Cols>
3579 ExprP<Matrix<float, Rows, Cols> > outerProduct (const ExprP<Vector<float, Rows> >& left, in outerProduct()
3580 const ExprP<Vector<float, Cols> >& right) in outerProduct()
3582 return app<OuterProduct<Rows, Cols> >(left, right); in outerProduct()
4004 template<int Rows, int Cols>
4005 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, in operator *()
4006 const ExprP<Matrix<float, Rows, Cols> >& right) in operator *()
4008 return app<VecMatMul<Rows, Cols> >(left, right); in operator *()
4011 template<int Rows, int Cols>
4012 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, in operator *()
4015 return app<MatVecMul<Rows, Cols> >(left, right); in operator *()
4018 template<int Rows, int Cols>
4019 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, in operator *()
4022 return app<ScalarMatFunc<Mul, Rows, Cols> >(left, right); in operator *()
4025 template<int Rows, int Cols>
4026 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left, in operator +()
4027 const ExprP<Matrix<float, Rows, Cols> >& right) in operator +()
4029 return app<CompMatFunc<Add, Rows, Cols> >(left, right); in operator +()
4032 template<int Rows, int Cols>
4033 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat) in operator -()
4035 return app<MatNeg<Rows, Cols> >(mat); in operator -()
4741 template <typename T, int Rows, int Cols>
4742 struct InputLess<Matrix<T, Rows, Cols> >
4744 bool operator() (const Matrix<T, Rows, Cols>& mat1, in operator ()()
4745 const Matrix<T, Rows, Cols>& mat2) const in operator ()()
4747 for (int col = 0; col < Cols; ++col) in operator ()()
5140 template <int Rows, int Cols>
5143 const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >(); in addCase()
5145 group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >())); in addCase()