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?
mat::fixed<621,1>w;
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