Date: Nov 25, 2012 5:55 PM Author: Jerome Subject: Discrepancy in Armadillo Multiplication I am using the armadillo c++ linear library and am having difficulty with acquiring consistent results. When I print the vector, freq, those are the correct values, but when I multiply it with a scalar value, it is wrong. Even with freq * 1.0! Any suggestions would be great. The values are different from MATLAB.
value = 2.0 * arma::datum::pi * freq;