⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matrix_unary.h

📁 高效的c++科学算法库
💻 H
📖 第 1 页 / 共 4 页
字号:
  return MatrixExpr<expr_t> ( expr_t( e ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_e.hxx// name     = FctFinite// operator = finite// ----------------------------------------------------------------------template <typename T_expr>inline MatrixExpr<MatrixUnaryOp<MatrixExpr<T_expr>,                                FctFinite <typename T_expr::value_t> > >finite (MatrixExpr<T_expr> SL_TEXPR_ARG e){  typedef FctFinite <typename T_expr::value_t> op_t;  typedef MatrixExpr<T_expr> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;    return MatrixExpr<expr_t> ( expr_t( e ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = OpPlus// operator = operator+// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  OpPlus <T_value> > > operator+ (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef OpPlus <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = OpMinus// operator = operator-// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  OpMinus <T_value> > > operator- (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef OpMinus <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctAbs// operator = abs// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctAbs <T_value> > > abs (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctAbs <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctSqrt// operator = sqrt// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctSqrt <T_value> > > sqrt (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctSqrt <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctLn// operator = ln// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctLn <T_value> > > ln (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctLn <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctLog// operator = log// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctLog <T_value> > > log (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctLog <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctLog10// operator = log10// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctLog10 <T_value> > > log10 (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctLog10 <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctPow10// operator = pow10// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctPow10 <T_value> > > pow10 (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctPow10 <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctExp// operator = exp// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctExp <T_value> > > exp (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctExp <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctSin// operator = sin// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctSin <T_value> > > sin (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctSin <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctCos// operator = cos// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctCos <T_value> > > cos (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctCos <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctTan// operator = tan// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctTan <T_value> > > tan (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctTan <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctSinH// operator = sinh// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctSinH <T_value> > > sinh (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctSinH <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctCosH// operator = cosh// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctCosH <T_value> > > cosh (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctCosH <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctTanH// operator = tanh// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctTanH <T_value> > > tanh (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctTanH <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctASinH// operator = asinh// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,                  FctASinH <T_value> > > asinh (Matrix<T_value, T_structure, T_storage> SL_TEXPR_ARG m)    {          typedef FctASinH <T_value> op_t;  typedef Matrix<T_value, T_structure, T_storage> expr_t1;  typedef MatrixUnaryOp<expr_t1, op_t> expr_t;                               return MatrixExpr<expr_t> ( expr_t( m ) );}// ---------------------------------------------------------- -*- c++ -*-// Matrix Unary Operator// ----------------------------------------------------------------------// file     = matrix_unary_m.hxx// name     = FctACosH// operator = acosh// ----------------------------------------------------------------------template <typename T_value, typename T_structure, typename T_storage>      inline MatrixExpr<MatrixUnaryOp<Matrix<T_value,T_structure, T_storage>,

⌨️ 快捷键说明

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