Linearized form of the APW method