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

📄 double.hpp

📁 非常好的进化算法EC 实现平台 可以实现多种算法 GA GP
💻 HPP
📖 第 1 页 / 共 2 页
字号:
  return inLeftDouble.getWrappedValue() >= inRightDouble;  Beagle_StackTraceEndM("bool operator>=(const Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Add two Double. *  \param inLeftDouble Left value to add. *  \param inRightDouble Right value to add. *  \return Result of the addition. */inlineBeagle::Double operator+(const Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() + inRightDouble.getWrappedValue();  Beagle_StackTraceEndM("Double operator+(const Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Add a Double with a double. *  \param inLeftDouble Left value to add. *  \param inRightDouble Right value to add. *  \return Result of the addition. */inlineBeagle::Double operator+(const Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() + inRightDouble;  Beagle_StackTraceEndM("Double operator+(const Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Add a Double to a Double. *  \param inLeftDouble Left value to which the right one is added. *  \param inRightDouble Value to add. *  \return Result of the addition. */inlineBeagle::Double operator+=(Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() += inRightDouble.getWrappedValue();  return inLeftDouble;  Beagle_StackTraceEndM("Double operator+=(Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Add a double to a Double. *  \param inLeftDouble Left value to which the right one is added. *  \param inRightDouble Value to add. *  \return Result of the addition. */inlineBeagle::Double operator+=(Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() += inRightDouble;  return inLeftDouble;  Beagle_StackTraceEndM("Double operator+=(Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Subtract two Double. *  \param inLeftDouble Left value to subtract. *  \param inRightDouble Right value to subtract. *  \return Result of the subtract. */inlineBeagle::Double operator-(const Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() - inRightDouble.getWrappedValue();  Beagle_StackTraceEndM("Double operator-(const Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Subtract a double from a Double. *  \param inLeftDouble Left value to subtract. *  \param inRightDouble Right value to subtract. *  \return Result of the subtract. */inlineBeagle::Double operator-(const Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() - inRightDouble;  Beagle_StackTraceEndM("Double operator-(const Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Subtract a Double from a Double. *  \param inLeftDouble Left value from which the right double is subtracted. *  \param inRightDouble Value to subtract. *  \return Result of the subtraction. */inlineBeagle::Double operator-=(Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() -= inRightDouble.getWrappedValue();  return inLeftDouble;  Beagle_StackTraceEndM("Double operator-=(Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Subtract a double from a Double. *  \param inLeftDouble Left value from which the right double is subtracted. *  \param inRightDouble Value to subtract. *  \return Result of the subtraction. */inlineBeagle::Double operator-=(Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() -= inRightDouble;  return inLeftDouble;  Beagle_StackTraceEndM("Double operator-=(Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Multiply two Double. *  \param inLeftDouble Left value to multiply. *  \param inRightDouble Right value to multiply. *  \return Result of the multiply. */inlineBeagle::Double operator*(const Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() * inRightDouble.getWrappedValue();  Beagle_StackTraceEndM("Double operator*(const Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Multiply a Double with a double. *  \param inLeftDouble Left value to multiply. *  \param inRightDouble Right value to multiply. *  \return Result of the multiply. */inlineBeagle::Double operator*(const Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() * inRightDouble;  Beagle_StackTraceEndM("Double operator*(const Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Multiply a Double with a Double. *  \param inLeftDouble Left value to which the right double is multiplied. *  \param inRightDouble Right value to multiply. *  \return Result of the multiplication. */inlineBeagle::Double operator*=(Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() *= inRightDouble.getWrappedValue();  return inLeftDouble;  Beagle_StackTraceEndM("Double operator*=(Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Multiply a Double with a double. *  \param inLeftDouble Left value from which the right double is multiplied. *  \param inRightDouble Right value to multiply. *  \return Result of the multiplication. */inlineBeagle::Double operator*=(Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() *= inRightDouble;  return inLeftDouble;  Beagle_StackTraceEndM("Double operator*=(Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Divide two Double. *  \param inLeftDouble Left value to divide. *  \param inRightDouble Right value to divide. *  \return Result of the division. */inlineBeagle::Double operator/(const Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() / inRightDouble.getWrappedValue();  Beagle_StackTraceEndM("Double operator/(const Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Divide a Double with a double. *  \param inLeftDouble Left value to divide. *  \param inRightDouble Right value to divide. *  \return Result of the division. */inlineBeagle::Double operator/(const Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  return inLeftDouble.getWrappedValue() / inRightDouble;  Beagle_StackTraceEndM("Double operator/(const Double& inLeftDouble, double inRightDouble)");}/*! *  \brief Divide a Double with a Double. *  \param inLeftDouble Left value to which the right double is divided. *  \param inRightDouble Right value to divide. *  \return Result of the division. */inlineBeagle::Double operator/=(Beagle::Double& inLeftDouble, const Beagle::Double& inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() /= inRightDouble.getWrappedValue();  return inLeftDouble;  Beagle_StackTraceEndM("Double operator/=(Double& inLeftDouble, const Double& inRightDouble)");}/*! *  \brief Divide a Double with a double. *  \param inLeftDouble Left value from which the right double is divided. *  \param inRightDouble Right value to divide. *  \return Result of the division. */inlineBeagle::Double operator/=(Beagle::Double& inLeftDouble, double inRightDouble){  Beagle_StackTraceBeginM();  inLeftDouble.getWrappedValue() /= inRightDouble;  return inLeftDouble;  Beagle_StackTraceEndM("Double operator/=(Double& inLeftDouble, double inRightDouble)");}#endif // Beagle_Double_hpp

⌨️ 快捷键说明

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