Prediction Model of the Elman network with a linear arctangent function If you launching this program not on MAC OS, you should change all functions abs() to std::abs();