trigonometry
Why can cosine similarity between two vectors be negative?
I have 2 vectors with 11 dimentions. a <- c(-0.012813841, -0.024518383, -0.002765056,0.079496744,0.063928973,[详细]
2023-03-17 12:03 分类:问答Constrain MovieClip drag to a circle
...well, to an incomplete circle. I have a draggable slider that looks like this: The blue bar has the instance name track and the pink dot has the instance name puck.[详细]
2023-03-16 11:40 分类:问答Obj-C Calculator - Radians to Degrees
I\'ve been watching the Stanford CS193P lectures and I\'ve been working on the assignment calculator. I got through the first assignment fairly easily, and I\'m trying 开发者_JS百科to do the extra cre[详细]
2023-03-16 02:46 分类:问答Is Real time pitch shifting possible with AudioUnit?
I am playing two sine wave tone generated on the fly with the help of AudioUnit. I need to give the user a UISlider which helps him to change the pitch of the tone on the fly. I am st开发者_如何学Cuck[详细]
2023-03-16 01:53 分类:问答Approach 2D position
I started working on a concept that requires me to find a way to move a rectangle toward a given point at a given speed. I\'m developing for Android so this is relatively speed critical (it\'s going t[详细]
2023-03-13 20:54 分类:问答problems with cMath and the sin function
Hey so i\'m doing some graphics math and inserting what i believe to be a float (i\'m pretty sure the ways i manipulate the float beforehand is messing something up开发者_StackOverflow中文版 somehow..[详细]
2023-03-13 03:52 分类:问答Conversion from radians to degrees
I am trying to do a simple trigonometric calculation in C++. The following is an example of the problem I am having with this. As far as I know, C++ works in radians, not degrees. So conversion from r[详细]
2023-03-11 19:39 分类:问答How to re-implement sin() method in Java ? (to have results close to Math.sin() )
I know Math.sin() can work but I need to implement it myself using factorial(int) I have a factorial method already below are my sin method but I can\'t get the same result as Math.sin():[详细]
2023-03-11 15:33 分类:问答Jquery Trigonmetry?
I have a need to calculate the adjacent angle of a right angle triangle formed by a rectangle that is dictated by two sets of points. My plan is to use offset() on two elements to get absolute positio[详细]
2023-03-11 05:37 分类:问答Hard to explain, angle and rectangle involved
I have a rectangle and an angle. I need to provide the start and end points of a LinearGrad开发者_运维知识库ientBrush in C# so that the gradient always fits perfectly within this rectangle and never u[详细]
2023-03-10 14:51 分类:问答