I have a system of equations I'm trying to do simple linear analysis to. There is a region
wher the solution includes complex numbers, and I also have a singular point. When I use a "regular" method (change the example in the pyCont documantation to my needs) PyDSTool doesn't plot the complex number region. I printed the solutions, and I see that the output vectors doesn't include any of the complex solution, eventhough the starting point is well inside the region where the solution should be complex. How can I access these solutions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There was probably a misunderstanding there. Consider the function
x^2 -a = 0
This function have 2 real solutions when a>0 and two complex solutions when a<0. I'm interested in the norm of the solutions. How can I get it when a<0?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your example does not involve a dynamical system. What example are you trying to adapt? PyDSTool doesn't handle the analysis of dynamical systems whose variables are complex numbers. The only place it tracks complex numbers, to my knowledge, is when they arise as measures for eigenvalues for real-valued systems. It might nevertheless be possible to use some mathematical mappings to contrive a real-valued system out of the real and imaginary parts of complex dynamics. I'm sure an internet search will help find what options might be available to you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys.
I have a system of equations I'm trying to do simple linear analysis to. There is a region
wher the solution includes complex numbers, and I also have a singular point. When I use a "regular" method (change the example in the
pyContdocumantation to my needs)PyDSTooldoesn't plot the complex number region. I printed the solutions, and I see that the output vectors doesn't include any of the complex solution, eventhough the starting point is well inside the region where the solution should be complex. How can I access these solutions?I am not sure exactly what example you are referring to.
If you are talking in terms of a trajectory say
sample_trajas a solution of an integration, then:If you are talking about "trajectories" as continuation curves from
PyContthen say your continuation curve issample_cont, then:Use python introspection to see how
solis structured.Cheers,
M
There was probably a misunderstanding there. Consider the function
This function have 2 real solutions when
a>0and two complex solutions whena<0. I'm interested in the norm of the solutions. How can I get it whena<0?Your example does not involve a dynamical system. What example are you trying to adapt? PyDSTool doesn't handle the analysis of dynamical systems whose variables are complex numbers. The only place it tracks complex numbers, to my knowledge, is when they arise as measures for eigenvalues for real-valued systems. It might nevertheless be possible to use some mathematical mappings to contrive a real-valued system out of the real and imaginary parts of complex dynamics. I'm sure an internet search will help find what options might be available to you.