📄 matrix_xoperator.h
字号:
// ------------------------------------------------------- -*- c++ -*- --//// WARNING: FILE AUTOMATICALLY GENERATED WITH matrix_xoperator.sed//// ----------------------------------------------------------------------// from: matrix_xoperator_ee.hxx// from: matrix_xoperator_em.hxx// from: matrix_xoperator_me.hxx// from: matrix_xoperator_mm.hxx// ----------------------------------------------------------------------// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_ee.hxx// name = MatMul// operator = operator*// ----------------------------------------------------------------------template <typename T1_expr, typename T2_expr> inline MatrixExpr< MatMul <MatrixExpr<T1_expr>, MatrixExpr<T2_expr> > > operator* (MatrixExpr<T1_expr> SL_TEXPR_ARG e1, MatrixExpr<T2_expr> SL_TEXPR_ARG e2) { typedef MatrixExpr<T1_expr> expr_t1; typedef MatrixExpr<T2_expr> expr_t2; typedef MatMul <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e1, e2) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_ee.hxx// name = MatHConcat// operator = operator|// ----------------------------------------------------------------------template <typename T1_expr, typename T2_expr> inline MatrixExpr< MatHConcat <MatrixExpr<T1_expr>, MatrixExpr<T2_expr> > > operator| (MatrixExpr<T1_expr> SL_TEXPR_ARG e1, MatrixExpr<T2_expr> SL_TEXPR_ARG e2) { typedef MatrixExpr<T1_expr> expr_t1; typedef MatrixExpr<T2_expr> expr_t2; typedef MatHConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e1, e2) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_ee.hxx// name = MatVConcat// operator = operator&// ----------------------------------------------------------------------template <typename T1_expr, typename T2_expr> inline MatrixExpr< MatVConcat <MatrixExpr<T1_expr>, MatrixExpr<T2_expr> > > operator& (MatrixExpr<T1_expr> SL_TEXPR_ARG e1, MatrixExpr<T2_expr> SL_TEXPR_ARG e2) { typedef MatrixExpr<T1_expr> expr_t1; typedef MatrixExpr<T2_expr> expr_t2; typedef MatVConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e1, e2) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_em.hxx// name = MatMul// operator = operator*// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr< MatMul <MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage> > > operator* (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatMul <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_em.hxx// name = MatHConcat// operator = operator|// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr< MatHConcat <MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage> > > operator| (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatHConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_em.hxx// name = MatVConcat// operator = operator&// ----------------------------------------------------------------------template <typename T_expr, typename T_value, typename T_structure, typename T_storage> inline MatrixExpr< MatVConcat <MatrixExpr<T_expr>, Matrix<T_value, T_structure, T_storage> > > operator& (MatrixExpr<T_expr> SL_TEXPR_ARG e, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef MatrixExpr<T_expr> expr_t1; typedef Matrix<T_value, T_structure, T_storage> expr_t2; typedef MatVConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(e, m) ); }// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_me.hxx// name = MatMul// operator = operator*// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage, typename T_expr> inline MatrixExpr< MatMul <Matrix<T_value, T_structure, T_storage>, MatrixExpr<T_expr> > > operator* (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m, MatrixExpr<T_expr> SL_TEXPR_ARG e) { typedef Matrix<T_value, T_structure, T_storage> expr_t1; typedef MatrixExpr<T_expr> expr_t2; typedef MatMul <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m, e) );}// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_me.hxx// name = MatHConcat// operator = operator|// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage, typename T_expr> inline MatrixExpr< MatHConcat <Matrix<T_value, T_structure, T_storage>, MatrixExpr<T_expr> > > operator| (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m, MatrixExpr<T_expr> SL_TEXPR_ARG e) { typedef Matrix<T_value, T_structure, T_storage> expr_t1; typedef MatrixExpr<T_expr> expr_t2; typedef MatHConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m, e) );}// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_me.hxx// name = MatVConcat// operator = operator&// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage, typename T_expr> inline MatrixExpr< MatVConcat <Matrix<T_value, T_structure, T_storage>, MatrixExpr<T_expr> > > operator& (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m, MatrixExpr<T_expr> SL_TEXPR_ARG e) { typedef Matrix<T_value, T_structure, T_storage> expr_t1; typedef MatrixExpr<T_expr> expr_t2; typedef MatVConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m, e) );}// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_mm.hxx// name = MatMul// operator = operator*// ----------------------------------------------------------------------template <typename T1_value, typename T1_structure, typename T1_storage, typename T2_value, typename T2_structure, typename T2_storage> inline MatrixExpr< MatMul <Matrix<T1_value, T1_structure, T1_storage>, Matrix<T2_value, T2_structure, T2_storage> > > operator* (Matrix<T1_value, T1_structure, T1_storage> SL_TEXPR_ARG m1, Matrix<T2_value, T2_structure, T2_storage> SL_TEXPR_ARG m2) { typedef Matrix<T1_value, T1_structure, T1_storage> expr_t1; typedef Matrix<T2_value, T2_structure, T2_storage> expr_t2; typedef MatMul <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m1, m2) );}// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_mm.hxx// name = MatHConcat// operator = operator|// ----------------------------------------------------------------------template <typename T1_value, typename T1_structure, typename T1_storage, typename T2_value, typename T2_structure, typename T2_storage> inline MatrixExpr< MatHConcat <Matrix<T1_value, T1_structure, T1_storage>, Matrix<T2_value, T2_structure, T2_storage> > > operator| (Matrix<T1_value, T1_structure, T1_storage> SL_TEXPR_ARG m1, Matrix<T2_value, T2_structure, T2_storage> SL_TEXPR_ARG m2) { typedef Matrix<T1_value, T1_structure, T1_storage> expr_t1; typedef Matrix<T2_value, T2_structure, T2_storage> expr_t2; typedef MatHConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m1, m2) );}// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file = matrix_xoperator_mm.hxx// name = MatVConcat// operator = operator&// ----------------------------------------------------------------------template <typename T1_value, typename T1_structure, typename T1_storage, typename T2_value, typename T2_structure, typename T2_storage> inline MatrixExpr< MatVConcat <Matrix<T1_value, T1_structure, T1_storage>, Matrix<T2_value, T2_structure, T2_storage> > > operator& (Matrix<T1_value, T1_structure, T1_storage> SL_TEXPR_ARG m1, Matrix<T2_value, T2_structure, T2_storage> SL_TEXPR_ARG m2) { typedef Matrix<T1_value, T1_structure, T1_storage> expr_t1; typedef Matrix<T2_value, T2_structure, T2_storage> expr_t2; typedef MatVConcat <expr_t1, expr_t2> expr_t; return MatrixExpr<expr_t> ( expr_t(m1, m2) );}// ----------------------------------------------------------------------// end of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -