Menu

Commit [r23387]  Maximize  Restore  History

Faster clearing of numpy arrays in the lib.frame_order modules.

The x[:] = 0.0 notation is now used to set all elements to zero, rather than nested looping over all
dimensions. This however has a negligible effect on the test suite timings.

bugman 2014-05-23

changed /branches/frame_order_cleanup/lib/frame_order/double_rotor.py
changed /branches/frame_order_cleanup/lib/frame_order/free_rotor.py
changed /branches/frame_order_cleanup/lib/frame_order/iso_cone.py
changed /branches/frame_order_cleanup/lib/frame_order/iso_cone_free_rotor.py
changed /branches/frame_order_cleanup/lib/frame_order/iso_cone_torsionless.py
changed /branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py
changed /branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py
changed /branches/frame_order_cleanup/lib/frame_order/rotor.py
/branches/frame_order_cleanup/lib/frame_order/double_rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/free_rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/iso_cone.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/iso_cone_free_rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/iso_cone_torsionless.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/rotor.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.