I am using the armadillo c++ linear library and when I try to multiply a scalar with a vector, I receive different values each time. Any suggestions on the issue?
w = 2 * 3.14 * freq;
The values for freq are correct but when I multiply it by 2 and 3.14, I receive a discrepancy
You should post more code.
- freq declaration and initialisation
- how you display the result...