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