fsolve() bug?
|
01-10-2015, 03:52 AM
Post: #1
|
|||
|
|||
fsolve() bug?
fsolve([x+y=3,2*x+2*y=6,x-y=0],[x,y],[0,0]); --> invalid dimension
fsolve([x+y=3,2*x+2*y=6,x-y=0],[x,y]); --> [3/2, 3/2] fsolve([x+y=3,x-y=0],[x,y],[0,0]); --> [1.5, 1.5] fsolve() seems use a naive dimension check -- if the number of equations is not equal to the number of variables, then giving initial values results in invalid dimension. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
fsolve() bug? - Han - 01-10-2015 03:52 AM
RE: fsolve() bug? - parisse - 01-10-2015, 07:37 AM
RE: fsolve() bug? - Snorre - 01-10-2015, 11:18 AM
RE: fsolve() bug? - parisse - 01-10-2015, 02:51 PM
|
User(s) browsing this thread: 2 Guest(s)