• Home
  • Raw
  • Download

Lines Matching refs:Cols

504 template <typename T, int Rows, int Cols>
505 struct Traits<Matrix<T, Rows, Cols> > :
506 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> >
934 template <typename T, int Rows, int Cols>
935 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {};
1008 template<int Rows, int Cols>
1009 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
1010 const ExprP<Matrix<float, Rows, Cols> >& right);
1011 template<int Rows, int Cols>
1012 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
1014 template<int Rows, int Cols>
1015 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
1017 template<int Rows, int Cols>
1018 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left,
1019 const ExprP<Matrix<float, Rows, Cols> >& right);
1020 template<int Rows, int Cols>
1021 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat);
2762 template <int Rows, int Cols>
2763 class MatNeg : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
2764 Matrix<float, Rows, Cols> > >
2785 for (int col = 0; col < Cols; ++col) in doApply()
2816 template <int Rows, int Cols>
2817 class CompMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2818 Matrix<float, Rows, Cols>,
2819 Matrix<float, Rows, Cols> > >
2831 for (int col = 0; col < Cols; ++col) in doApply()
2843 template <typename F, int Rows, int Cols>
2844 class CompMatFunc : public CompMatFuncBase<Rows, Cols>
2867 template <int Rows, int Cols>
2868 class MatrixCompMult : public CompMatFunc<ScalarMatrixCompMult, Rows, Cols>
2872 template <int Rows, int Cols>
2873 class ScalarMatFuncBase : public CompWiseFunc<float, Signature<Matrix<float, Rows, Cols>,
2874 Matrix<float, Rows, Cols>,
2887 for (int col = 0; col < Cols; ++col) in doApply()
2897 template <typename F, int Rows, int Cols>
2898 class ScalarMatFunc : public ScalarMatFuncBase<Rows, Cols>
3646 template<int Rows, int Cols>
3647 class VecMatMul : public MulFunc<Vector<float, Cols>,
3649 Matrix<float, Rows, Cols> >
3664 for (int col = 0; col < Cols; ++col) in doApply()
3678 template<int Rows, int Cols>
3680 Matrix<float, Rows, Cols>,
3681 Vector<float, Cols> >
3695 return call<VecMatMul<Cols, Rows> >(ctx, right, in doApply()
3696 call<Transpose<Rows, Cols> >(ctx, left)); in doApply()
3700 template<int Rows, int Cols>
3701 class OuterProduct : public PrimitiveFunc<Signature<Matrix<float, Rows, Cols>,
3703 Vector<float, Cols> > >
3721 for (int col = 0; col < Cols; ++col) in doApply()
3729 template<int Rows, int Cols>
3730 ExprP<Matrix<float, Rows, Cols> > outerProduct (const ExprP<Vector<float, Rows> >& left, in outerProduct()
3731 const ExprP<Vector<float, Cols> >& right) in outerProduct()
3733 return app<OuterProduct<Rows, Cols> >(left, right); in outerProduct()
4155 template<int Rows, int Cols>
4156 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, in operator *()
4157 const ExprP<Matrix<float, Rows, Cols> >& right) in operator *()
4159 return app<VecMatMul<Rows, Cols> >(left, right); in operator *()
4162 template<int Rows, int Cols>
4163 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, in operator *()
4166 return app<MatVecMul<Rows, Cols> >(left, right); in operator *()
4169 template<int Rows, int Cols>
4170 ExprP<Matrix<float, Rows, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, in operator *()
4173 return app<ScalarMatFunc<Mul, Rows, Cols> >(left, right); in operator *()
4176 template<int Rows, int Cols>
4177 ExprP<Matrix<float, Rows, Cols> > operator+ (const ExprP<Matrix<float, Rows, Cols> >& left, in operator +()
4178 const ExprP<Matrix<float, Rows, Cols> >& right) in operator +()
4180 return app<CompMatFunc<Add, Rows, Cols> >(left, right); in operator +()
4183 template<int Rows, int Cols>
4184 ExprP<Matrix<float, Rows, Cols> > operator- (const ExprP<Matrix<float, Rows, Cols> >& mat) in operator -()
4186 return app<MatNeg<Rows, Cols> >(mat); in operator -()
4938 template <typename T, int Rows, int Cols>
4939 struct InputLess<Matrix<T, Rows, Cols> >
4941 bool operator() (const Matrix<T, Rows, Cols>& mat1, in operator ()()
4942 const Matrix<T, Rows, Cols>& mat2) const in operator ()()
4944 for (int col = 0; col < Cols; ++col) in operator ()()
5338 template <int Rows, int Cols>
5341 const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >(); in addCase()
5343 group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >())); in addCase()