/home/cristiano/NetBeansProjects/Cpp_Teste/GPA.cpp:12: undefined reference to `GPA::MATRIX'
/home/cristiano/NetBeansProjects/Cpp_Teste/GPA.cpp:12: undefined reference to `GPA::MATRIX'
When you have a static variable, you have to declare it in both, the header and any .cpp.
That means, you have to put double GPA::MATRIX; somewhere (GPA.cpp I suppose)
Good luck