Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a= num.array( [
- [ 0, 0, 1, 0 ],
- [ 3* x1**2, 2* x1, 1, 0 ],
- [ 0, 0, 0, 1 ],
- [ x1**3, x1** 2, x1, 1 ] ] )
- b= num.array( [ 0, 0, y0, y1 ] )
- c= num.linalg.solve( a, b ) #always float?
- ay= num.dot( ax, c )
Add Comment
Please, Sign In to add comment