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

📄 mask.hpp

📁 神经网络是序列预测,C++实现
💻 HPP
字号:
#ifndef MASK_HPP#define MASK_HPPclass mask { protected:  bool* data;  unsigned int s;  void init(const unsigned int& size); public:  mask();  mask(const unsigned int& size);  mask(const int& size);  mask(bool *d, const unsigned int& size);  mask(const mask &m);  ~mask();  unsigned int size() const;  unsigned int total_true() const;  void print() const;  bool all() const;  bool any() const;  mask& operator=(const mask& right);  bool& operator[](const unsigned int& i);  friend mask operator&&(const mask& left, const mask& right);  friend mask operator||(const mask& left, const mask& right);};#endif

⌨️ 快捷键说明

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