matrix_xoperator_mm.hxx

来自「高效的c++科学算法库」· HXX 代码 · 共 24 行

HXX
24
字号
// ---------------------------------------------------------- -*- c++ -*-// Expression Operator Matrix// ----------------------------------------------------------------------// file     = _filename_// name     = _name_// operator = _operator_// ----------------------------------------------------------------------template <typename T1_value,          typename T1_structure,          typename T1_storage,          typename T2_value,          typename T2_structure,          typename T2_storage> inline MatrixExpr< _name_ <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 _name_ <expr_t1, expr_t2> expr_t;                           return MatrixExpr<expr_t> ( expr_t(m1, m2) );}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?