27 : step_(0), step_changed_(true),
28 system_matrix_changed_(false)
void set_step(double step)
Sets the step of the numerical method.
arma::mat solution_matrix_
the square solution matrix (exponential of system matrix)
void set_system_matrix(const arma::mat &matrix)
Sets the matrix of ODE system.
void update_solution(arma::vec &init_vec, arma::vec &output_vec)
Updates solution of the ODEs system.
bool system_matrix_changed_
Indicates that the system_matrix_ was recently updated.
double step_
the step of the numerical method
arma::mat system_matrix_
the square matrix of ODE system
bool step_changed_
flag is true if the step has been changed
ArmaMat< double, N, M > mat