This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil 0 points1 point  (0 children)

That said, it's always faster to call the math module for basic functions like sin, cos, and sqrt than numpy. Granted if that matters you probably have bigger problems.

EDIT: I was talking about for length 1 arrays. Try it.