NaiveIRGenerator.h 560 B

1234567891011121314151617181920212223242526
  1. #ifndef MANDEL_NAIVEIRGENERATOR_H
  2. #define MANDEL_NAIVEIRGENERATOR_H
  3. namespace mnd
  4. {
  5. template<typename T>
  6. class NaiveIRGenerator;
  7. }
  8. template<typename T>
  9. class mnd::NaiveIRGenerator : public mnd::MandelGenerator
  10. {
  11. const ir::Formula& form;
  12. public:
  13. NaiveIRGenerator(const ir::Formula& irf, mnd::Precision prec);
  14. NaiveIRGenerator(NaiveIRGenerator&&) = default;
  15. virtual void generate(const MandelInfo& info, float* data);
  16. double calc(ir::Node* expr, double a, double b, double x, double y);
  17. };
  18. #endif // MANDEL_NAIVEIRGENERATOR_H