Hi, By using the exponential equation:
exp(x) = (sum{k=0}{n} 1/ k! ) ^ x the speed and accuracy of calculating exponent greatly increases. Plus it makes it easier to use with imaginary numbers. I have the python function code if you are interested to learn more about this. This equation can then be used to calculate sine and cos more efficiently using the exponent form of them both. Kind regards, Brinley MSc Machine Learning BSc Mathematical Physics _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com