matrix_binary_lm.hxx
来自「高效的c++科学算法库」· HXX 代码 · 共 24 行
HXX
24 行
// ---------------------------------------------------------- -*- c++ -*-// LoopIndex Operator Matrix// ----------------------------------------------------------------------// file = _filename_// name = _name_// operator = _operator_// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage> inline MatrixExpr<MatrixBinaryOp<LoopIndex, Matrix<T_value, T_structure, T_storage>, _name_ <Index, T_value> > > _operator_ (LoopIndex SL_TEXPR_ARG l, Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m) { typedef _name_ <Index, T_value> op_t; typedef LoopIndex 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(l, m) ); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?