Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: computational efficiency

by Perlbotics (Canon)
on Oct 04, 2011 at 18:15 UTC ( #929627=note: print w/replies, xml ) Need Help??


in reply to computational efficiency

If you have got a limited set of angles - or it is allowed to quantise them - I would suggest to cache the computed values or use a pre-computed table of all sines/cosines. E.g. 0.00-359.99 results in a table holding 72000 values - quite feasible.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929627]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2016-12-09 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (158 votes). Check out past polls.