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