📄 scalar_binary_function.h
字号:
// ------------------------------------------------------- -*- c++ -*- --//// WARNING: FILE AUTOMATICALLY GENERATED WITH scalar_binary_function.sed//// ----------------------------------------------------------------------// from: scalar_binary_function.hxx// ----------------------------------------------------------------------// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = FctPow// operator = pow// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct FctPow { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return pow ( a , b ); } };// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = FctATan2// operator = atan2// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct FctATan2 { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return atan2 ( a , b ); } };// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = FctHypot// operator = hypot// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct FctHypot { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return hypot ( a , b ); } };// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = FctJN// operator = jn// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct FctJN { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return jn ( a , b ); } };// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = FctYN// operator = yn// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct FctYN { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return yn ( a , b ); } };// ---------------------------------------------------------- -*- c++ -*-// Scalar binary Function// ----------------------------------------------------------------------// file = scalar_binary_function.hxx// name = CopySign// operator = copysign// ----------------------------------------------------------------------template<typename T1_value, typename T2_value> struct CopySign { typedef typename promote<T1_value,T2_value>::promoted_t value_t; static inline value_t apply (T1_value a, T2_value b) { return copysign ( a , b ); } };// ----------------------------------------------------------------------// end of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -