Is it possible to put decimal values in a matrix? I tried creating a double matrix and I'm not getting what I want.
It's just not working at all and I don't seem to be making any headway. Turning them into ints loses data, and normalizing it (these are vectors) will just give me (0,0,0) everywhere. What am I supposed to do?Code:double A; A = 2 *(x + x1); A = 2 *(y + y1); A = sqrt(r^2 - (x + x1)^2 - (y + y1)^2);