I have this equation:
R= 2*(-I dot N)*N + I
Can I simply type (-I) or something similar, or do I have to multiply I by -1?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
C++ has a unary minus operator that performs negation.
This negates
x, just like0 - xor-1 * xwould negatex. Note that the-in-1 * xis also the unary minus operator.