Решение систем нелинейных уравнений https://www.mapleprimes.com/users/one%20man/posts?page=1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

virteqn.h 463B

1234567891011121314151617181920
  1. #ifndef VIRTEQN_HPP
  2. #define VIRTEQN_HPP
  3. #include <vector>
  4. typedef std::vector< double > state_type;
  5. typedef void (*syseqn)(const state_type &, state_type &, const double );
  6. class diffeqninterface {
  7. public:
  8. // virtual void set_upr_par(double &) {}
  9. virtual ~diffeqninterface() {}
  10. virtual state_type get_upr_par() = 0;
  11. virtual std::vector<syseqn> funcv() = 0;
  12. };
  13. typedef diffeqninterface* create_t();
  14. typedef void destroy_t(diffeqninterface*);
  15. #endif