Top "Trigonometry" questions

Trigonometry is a branch of mathematics that studies triangles and the relationships between their sides and the angles between sides

Assembly code for sin(x) using Taylor expansion

In x86 Linux, how can I implement sin(x) in assembly code using Taylor Expansion?

assembly x86 trigonometry
rotating a quaternion on 1 axis?

I have a model rotated by a quaternion. I can only set the rotation, I can't add or subtract from …

java math geometry trigonometry quaternions
get cosine similarity between two documents in lucene

i have built an index in Lucene. I want without specifying a query, just to get a score (cosine similarity …

lucene similarity trigonometry tf-idf
Proper Trigonometry For Rotating A Point Around The Origin

Do either of the below approaches use the correct mathematics for rotating a point? If so, which one is correct? …

c# c++ geometry trigonometry
Is trigonometry computationally expensive?

I read in an article somewhere that trig calculations are generally expensive. Is this true? And if so, that's why …

trigonometry
Stable Cotangent

Is there a more stable implementation for the cotangent function than return 1.0/tan(x);?

c++ trigonometry
C++ - Play back a tone generated from a sinusoidal wave

Hey everyone, I'm currently trying to figure out how to play back a tone I have generated using a sinusoidal …

c++ audio generator wave trigonometry
Why are there no asin2() and acos2() functions similar to atan2()?

From my understanding, the atan2() function exists in programming languages because atan() itself cannot always determine the correct theta since …

function math programming-languages trigonometry
Math.Cos & Math.Sin in C#

I'm trying something that I thought should be reasonably simple. I have an angle, a position and a distance and …

c# trigonometry
Angle between 3 points?

Given points ABC, how could I find angle ABC? I'm making a feehand tool for a vector drawing application and …

c++ c algorithm trigonometry