matrix_binary_ls.hxx

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

HXX
19
字号
// ---------------------------------------------------------- -*- c++ -*-// Loopindex Operator value// ----------------------------------------------------------------------// file     = _filename_// name     = _name_// operator = _operator_// ----------------------------------------------------------------------template <typename T_value>                                                inline MatrixExpr<MatrixScalarBinaryOp<LoopIndex,                                       T_value,                                       _name_ <Index, T_value> > > _operator_ (LoopIndex SL_TEXPR_ARG l, T_value const x)                     {                                                                            typedef _name_ <Index, T_value> op_t;                                      typedef MatrixScalarBinaryOp<LoopIndex, T_value, op_t> expr_t;                                                                                        return MatrixExpr<expr_t> ( expr_t(l, x) );                              }

⌨️ 快捷键说明

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