📄 matrix_binary.h
字号:
typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpSub <typename T_expr::value_t, T_value> > > operator- (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpSub <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpMul// operator = operator^// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpMul <typename T_expr::value_t, T_value> > > operator^ (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpMul <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpDiv// operator = operator%// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpDiv <typename T_expr::value_t, T_value> > > operator% (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpDiv <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpEqual// operator = operator==// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpEqual <typename T_expr::value_t, T_value> > > operator== (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpEqual <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpNotEqual// operator = operator!=// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpNotEqual <typename T_expr::value_t, T_value> > > operator!= (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpNotEqual <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpLess// operator = operator<// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpLess <typename T_expr::value_t, T_value> > > operator< (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpLess <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpGreater// operator = operator>// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpGreater <typename T_expr::value_t, T_value> > > operator> (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpGreater <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpLessOrEqual// operator = operator<=// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpLessOrEqual <typename T_expr::value_t, T_value> > > operator<= (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpLessOrEqual <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpGreaterOrEqual// operator = operator>=// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpGreaterOrEqual <typename T_expr::value_t, T_value> > > operator>= (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpGreaterOrEqual <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatrixBinaryOp<expr_t1, expr_t2, op_t> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_binary_em.hxx// name = OpAnd// operator = operator&&// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage>, OpAnd <typename T_expr::value_t, T_value> > > operator&& (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef OpAnd <typename T_expr::value_t, T_value> op_t; typedef MatrixExpr<T_expr> expr_t1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -