Closed waternumbers closed 4 years ago
Current the eigen value method computes the constants in the solution using the eigen matrix M and initial condition x_0 as
M
x_0
c <- solve(M) %*% x_0
since solve(M) which computes the inverse of M need only be evaluated once.
solve(M)
However this is less numerically stable then using
c <- solve(M,x_0)
i suggest changing this to improve the stability of the solution
This calculation is removed from the code in v0.0.4 and onwards
Current the eigen value method computes the constants in the solution using the eigen matrix
M
and initial conditionx_0
assince
solve(M)
which computes the inverse ofM
need only be evaluated once.However this is less numerically stable then using
i suggest changing this to improve the stability of the solution